Visual Image Search MCP logo

Visual Image Search MCP

MCP server that searches the web for images, composites the results into a numbered contact sheet the model can actually look at, and downloads the ones it picks. Zero-config, no API key required.

Install Visual Image Search MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "visual-image-search-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "visual-image-search-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 3 tools correctly ().

Overview

Tools3

What Visual Image Search MCP lets your agent do. Expand a tool for its parameters.

Verified live~592 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

10/10 checks healthy over the last 39d

What it can do

From the 3 tools this server returned when we ran it; 3 declare their own safety hints.

Makes network requests · 3Read-only tools · 3
Network at startup3 connections
Files written at startupNone
Install scriptsprepare
npm provenanceNot published
Package age91 days
Maintainers1

Observed 2026-11-07 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · visual-image-search-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads92Package downloads in the last 30 days.
Last commit3mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed3Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

From the project README

visual-image-search-mcp

An MCP server that searches the web for images, composites the results into one numbered contact sheet the model can actually look at, and downloads the ones it picks.

Zero-config: it works with no API key.

A nine-cell contact sheet of vintage film cameras, each cell numbered

Why a contact sheet

A normal image-search tool returns thirty URLs and some alt-text, and the model chooses blind — it is picking by filename. This one fetches the thumbnails, tiles them into a single image with numbered cells, and returns that. The model scans it the way you scan a Google Images page and says "download 2 and 7".

One image instead of thirty. Cheaper in context, and the choice is made on what the pictures look like.

Full image URLs never enter the conversation. They stay server-side, keyed by ids like s3:4.

What "choosing blind" actually looks like

Here is a real search — manifest best girl band ever, count: 16 — as a text-based tool would hand it over. Nine of the sixteen results, verbatim:

idsizesourcetitle
s1:12560x2560manifestgirlband.comManifest — Altı Kız. Bir Enerji.
s1:3466x466manifestgirlband.comManifest — Six Girls. One Motion.
s1:71245x698manifestgirlband.comManifest — Six Girls. One Motion.
s1:81245x859manifestgirlband.comManifest — Altı Kız. Bir Enerji.
s1:9370x370manifestgirlband.comManifest — Six Girls. One Motion.
s1:101245x698manifestgirlband.comManifest — Altı Kız. Bir Enerji.
s1:111245x698manifestgirlband.comManifest — Six Girls. One Motion.
s1:151245x698manifestgirlband.comManifest — Altı Kız. Bir Enerji.
s1:16405x506manifestgirlband.comManifest — Six Girls. One Motion.

Same site, two titles alternating, and the same 1245x698 four separate times. There is no signal here. A model asked to "pick a good group photo" is choosing at random, and it cannot tell you otherwise — it will pick one and sound confident.

Now the same sixteen results as a sheet:

A sixteen-cell contact sheet, four by four, of search results for a girl band

The differences the text could not carry are the only ones that matter:

  • 7, 10 and 15 are video thumbnails with titles burned into the pixels — BİR GÜN VLOG, OFFICIAL DANCE VIDEO, SNAP VLOG. All three are 1245x698, the YouTube thumbnail aspect. Indistinguishable in the table; obvious in the sheet.
  • 8 is a backlit silhouette. You cannot see a single face. Its metadata is the best-looking row of the nine.
  • 3 and 9 are small artwork tiles with heavy typography over them, not photographs.
  • 1 and 16 are actual press photos — which is what was asked for.

That is the whole argument. Not that the sheet is prettier, but that nine of these rows are the same row until you look at them.

Grid sizes

count picks the layout; the canvas stays within 1092x1092 either way.

countgridcell
1–42x2546px
5–93x3364px
10–164x4273px

Rows that would be empty are dropped, so a 5-result search is 3x2 and not 3x3 with a blank band. Smaller counts mean bigger cells and more detail per image; 16 is for scanning breadth. When a cell is too small to judge, image_inspect returns that one image on its own at full size — which is how you catch things like site chrome baked into an "original", where the sheet only hints at it.

Install

config.json
{
  "mcpServers": {
    "visual-image-search": {
      "command": "npx",
      "args": ["-y", "visual-image-search-mcp"]
    }
  }
}

Or from the CLI:

Terminal
claude mcp add visual-image-search -- npx -y visual-image-search-mcp

To run the current main instead of the published version — or before the first npm release — install straight from the repository:

Terminal
claude mcp add visual-image-search -- npx -y github:enescanguven/visual-image-search-mcp

That path compiles on install, so it needs a working toolchain; the npm package ships prebuilt.

Requires Node 20 or newer.

Tools

image_search

Searches, builds the sheet, returns it.

paramtypedefaultnotes
querystring—required
count1–169≤4 gives a 2x2 sheet, ≤9 a 3x3, ≤16 a 4x4
pageint1more results for the same query
safeoff/moderate/strictmoderate
licenseany/commercial/share-alikeanyanything but any routes to Openverse
min_widthint—drops narrower results
orientationany/square/landscape/portraitanypushed into the provider query where supported
providerstringautoforce one provider

Returns the sheet as an image, plus structuredContent with one entry per cell: id, title, dimensions, source page, licence. Cells whose thumbnail failed to load are drawn as a placeholder marked failed — the numbering never shifts to close the gap, so an id always points at the picture you saw in that cell.

image_inspect

{ id: "s3:4" } — returns that one image on its own at up to 1092px, for checking detail before committing to a download.

image_download

{ ids: ["s3:2", "s3:7"], dir?, prefix?, max_bytes? }

Writes each image under the output root, alongside a <filename>.json sidecar holding the source page, licence, attribution, original query and provider — so downstream use has provenance without the model having to remember it.

If a host refuses the original (hotlink protection is common), the thumbnail is saved instead and the result is flagged degraded: true.

Providers

The chain is tried in order and moves on when one errors or comes back empty. The response always names the provider that actually served the results.

providerkeynotes
duckduckgononedefault. Best coverage.
openversenoneproper per-image licence data. Used for every license filter.
wikimedianonesmall index, unambiguous licensing, never blocks you.
braveBRAVE_API_KEYindependent index, generous free tier
google_cseGOOGLE_CSE_KEY + GOOGLE_CSE_CX100 free queries/day
serperSERPER_API_KEYreal Google Images results, paid

Default chain: duckduckgo → wikimedia. With a license filter: openverse → wikimedia. Any configured keyed provider goes to the front.

The honest part

The keyless providers scrape public endpoints that were never meant for us. DuckDuckGo image search in particular is a two-step browser handshake — fetch a page, pull a vqd token out of the HTML, pass it to an internal JSON endpoint. There is no contract here:

  • It will break. When DuckDuckGo changes that HTML, the token extraction fails. Errors name which of the two steps broke so you are not guessing.
  • It is rate-limited by IP. Search a lot and you get throttled. The server sends at most one search per second by default.
  • Openverse's anonymous tier is small, and caps page_size at 20.

If you need this to be reliable, set BRAVE_API_KEY or GOOGLE_CSE_KEY + GOOGLE_CSE_CX. Those are real APIs with terms of service and they do not break on a markup change.

The keyed provider parsers were written against published response shapes rather than captured traffic — there was no key on hand to record fixtures with. They are conservative about missing fields, but if you are the first to run one with a real key, check the field mapping.

Configuration

All optional.

variabledefaultpurpose
IMAGE_MCP_OUTPUT_DIR./downloaded-imagesroot that every download must land inside
IMAGE_MCP_SEARCH_INTERVAL_MS1000minimum gap between outbound searches
IMAGE_MCP_RESPECT_ROBOTSunsetset to 1 to check robots.txt before each download
BRAVE_API_KEY—enables brave
GOOGLE_CSE_KEY, GOOGLE_CSE_CX—enables google_cse
SERPER_API_KEY—enables serper

Download safety

Downloads write remote bytes to your disk, so nothing the remote side says is trusted:

  • Paths. dir resolves inside the output root. Absolute paths and ../ are refused, not sanitised.
  • SSRF. Hostnames are resolved and checked against private, loopback and link-local ranges — including cloud metadata at 169.254.169.254 and IPv4-mapped IPv6 — before a byte is sent, and again on every redirect hop. Redirects cap at 5.
  • Size. max_bytes (default 20MB) is enforced against the stream, not just Content-Length, so a lying header aborts mid-download.
  • Type. The format is decided by magic bytes. An HTML error page served as image/jpeg is rejected rather than saved as a .jpg. SVG is deliberately unsupported — it is a script-bearing document and rendering an untrusted one to read its dimensions is not worth the risk.
  • Filenames are slugs derived from the title, falling back to the id. A remote value never decides the path.
  • robots.txt is not consulted by default. Set IMAGE_MCP_RESPECT_ROBOTS=1 to turn the check on; it then fails open when the file is absent or unreachable. The reasoning is in the next section.

One caveat worth stating plainly: the SSRF check validates the hostname as it resolves at check time. A host that re-binds to a private address between the check and the connection could still get through. Closing that needs connection-level IP pinning, which is not exposed here.

Development

Terminal
npm install
npm test            # offline: parser fixtures, compositor, safety
npm run test:live   # hits the network; exercises all three keyless providers end to end
npm run preview "red panda" 9 sheet.jpg   # render a sheet to look at
npm run inspector   # manual pass with @modelcontextprotocol/inspector

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Visual Image Search MCP

visual-image-search-mcp is an MCP server that searches the web for images, combines fetched thumbnails into a numbered contact sheet, and lets a model visually choose results before downloading them. It requires no API key or configuration, keeps full image URLs server-side, and identifies results with IDs such as `s3:4`.

It helps a model choose images by returning one numbered contact sheet instead of a list of URLs and alt text. The model can visually compare the results, then identify selected images by their result IDs for downloading.

The layout depends on the requested result count: 1–4 results use a 2×2 grid, 5–9 use a 3×3 grid, and 10–16 use a 4×4 grid. Empty trailing rows are removed, and the canvas stays within 1092×1092 pixels.

Yes, `image_inspect` returns an individual result on its own at full size, which helps evaluate details that may be difficult to judge in the contact sheet.

Install it with `npx` using an MCP configuration such as `{"command":"npx","args":["-y","visual-image-search-mcp"]}`, or add it through the Claude CLI with `claude mcp add visual-image-search -- npx -y visual-image-search-mcp`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewVisual Image Search MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/visual-image-search-mcp?style=directory)](https://allmcps.com/mcp/visual-image-search-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/visual-image-search-mcp"><img src="https://allmcps.com/api/badge/visual-image-search-mcp?style=directory" alt="Visual Image Search MCP on AllMCPs" /></a>