MCP.so
Sign In
H

Hachimi Image Search

@Marisalice114

About Hachimi Image Search

hachimiagent中使用的图片搜索mcp

Basic information

Category

Search

Transports

stdio

Publisher

Marisalice114

Submitted by

先生 张

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

Comments

More Search MCP servers