Hachimi Image Search
@Marisalice114
About Hachimi Image Search
hachimiagent中使用的图片搜索mcp
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"hachimi-image-search-mcp-server": {
"command": "java",
"args": [
"-Dspring.profiles.active=local,stdio",
"-jar",
"path/to/hachimi-image-search-mcp-server-0.0.1-SNAPSHOT.jar"
],
"env": {
"PEXELS_API_KEY": "YOUR_PEXELS_API_KEY"
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Hachimi Image Search?
An MCP server that enables AI assistants (e.g., Claude, Cursor) to search images from Pexels via five configurable tools. Built with Spring AI MCP Java SDK.
How to use Hachimi Image Search?
Requires Java 21+ and a Pexels API key. Clone the repository, run mvn clean package, then configure the MCP client with a Stdio or SSE JSON block, setting the PEXELS_API_KEY environment variable.
Key features of Hachimi Image Search
- searchImage: search by keyword, returns default count.
- searchImageWithCount: specify result count (1–20).
- searchFewImages: quickly returns 3 images.
- searchManyImages: returns 12 images.
- searchSingleImage: returns exactly 1 image.
Use cases of Hachimi Image Search
- Assistants fetch relevant images during conversations.
- Quickly gather multiple reference images for design or presentations.
- Retrieve a single image for blog covers or social media posts.
- Integrate image search into coding assistants for documentation.
FAQ from Hachimi Image Search
What dependencies are required?
Java 21 or later and a free Pexels API key from pexels.com/api.
How do I configure the API key?
Set the environment variable PEXELS_API_KEY or include it in the env field of the MCP client JSON configuration.
Which communication modes are supported?
Stdio (standard input/output) and SSE (Server-Sent Events via HTTP on port 8080). Activate via Spring profiles stdio or sse.
What does the tool output look like?
Image links are returned as comma‑separated strings (or a single link for searchSingleImage).
Are there limits on how many images can be requested?
searchImageWithCount accepts a count between 1 and 20. The
Frequently asked questions
What dependencies are required?
Java 21 or later and a free Pexels API key from pexels.com/api.
How do I configure the API key?
Set the environment variable `PEXELS_API_KEY` or include it in the `env` field of the MCP client JSON configuration.
Which communication modes are supported?
Stdio (standard input/output) and SSE (Server-Sent Events via HTTP on port 8080). Activate via Spring profiles `stdio` or `sse`.
What does the tool output look like?
Image links are returned as comma‑separated strings (or a single link for searchSingleImage).
Are there limits on how many images can be requested?
searchImageWithCount accepts a count between 1 and 20. The
Basic information
More Search MCP servers
mcp-omnisearch
spences10🔍 A Model Context Protocol (MCP) server providing unified access to multiple search engines (Tavily, Brave, Kagi, Exa), AI tools (Kagi FastGPT, Exa, Linkup), and content extraction services (Firecrawl, Tavily, Kagi). Includes GitHub search. All through a single interface.
G-Search MCP
jae-jaeA powerful MCP server for Google search that enables parallel searching with multiple keywords simultaneously.
小红书自动搜索评论工具(MCP Server 2.0)
chenningling这是一款基于 Playwright 开发的小红书自动搜索和评论工具,作为 MCP Server,可通过特定配置接入 MCP Client(如Claude for Desktop),帮助用户自动完成登录小红书、搜索关键词、获取笔记内容及发布AI生成评论等操作。
Exa MCP Server 🔍
exa-labsExa MCP for web search and web crawling!
Baidu AI Search
baidubceappbuilder-sdk, 千帆AppBuilder-SDK帮助开发者灵活、快速的搭建AI原生应用
Comments