Image Search MCP
Provides tools for searching Wikimedia Commons photos and retrieving full metadata for individual files, including file and page URLs, thumbnails, dimensions, MIME type, license, artist, credit, and attribution.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
image-search-mcp
MCP server for Wikimedia Commons photo search — freely-licensed raster images with attribution, on Cloudflare Workers. Public and keyless: no API key, no signup, no auth.
This fills the gap next to Dawood's design-mcp-server, whose Wikimedia provider is SVG-only. Here the default is photos (jpg, png, webp, gif); SVG is opt-in.
Result shape
Every search result always carries the same fields — title,
file_page_url, file_url, thumbnail_url, width, height, mime,
license, artist, credit, attribution — with null where the API
gave nothing (instead of the key being absent). file_page_url always
resolves, falling back to a constructed Commons wiki URL when the API
omits it. The attribution line uses the artist, falling back to the
credit field when no artist is recorded.
Paging: next_offset steps by the requested limit, and total_count
is the API's total before the client-side mime filter (a page can hold
fewer than limit images when non-matching mimes are filtered out).
Related MCP server: wikipedia-mcp-image-crawler
Tools
Tool | What it does |
| Search Commons for photos. Params: |
| Full info for one file by title (with or without the |
Both tools call the official MediaWiki Action API on
commons.wikimedia.org/w/api.php (generator=search, gsrnamespace=6,
prop=imageinfo, iiprop=url|size|mime|extmetadata) with a descriptive
User-Agent. No upstream key is needed.
Use it
Once deployed, point any MCP client at the /mcp endpoint:
# Claude Code
claude mcp add --transport http image-search https://image-search-mcp.<your-subdomain>.workers.dev/mcp// Claude Desktop / Cursor (.cursor/mcp.json, claude_desktop_config.json)
{
"mcpServers": {
"wikimedia-images": {
"type": "http",
"url": "https://image-search-mcp.<your-subdomain>.workers.dev/mcp"
}
}
}Develop
npm install
npm test # vitest
npm run typecheck # tsc --noEmit
npm run dev # wrangler dev on :8787Deploy
npx wrangler login # one-time browser OAuth
npx wrangler deploy # → https://image-search-mcp.<your-subdomain>.workers.devOptional: set a custom domain in the Cloudflare dashboard, or a route in
wrangler.toml. No secrets are needed — the Commons API is keyless.
Attribution
Borrowed patterns (all MIT) are credited in THIRD_PARTY.md:
iolab-mcp-collection's wikimedia-mcp (Commons API shape, attribution
reader), wikipedia-recent-changes-mcp (plain-fetch Worker skeleton and
hand-rolled JSON-RPC handler), and wikimedia-image-search-mcp (search +
metadata pattern). The thumbnail-composite idea from the last one is
intentionally not built — compositing images is not practical inside a
Worker.
License
MIT — see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Wikimedia Commons MCP — Action API for files.
Search photos and video moments by visual meaning, people, dates, and folders across local libraries, Apple Photos, and OneDrive. Manage collections, groups, favorites, people, and duplicate review. Synced metadata remains searchable while the desktop is offline; local and Apple Photos media access needs the owning device online with remote access enabled. OneDrive media can be accessed directly from the cloud. OAuth or Bearer API keys. Paid Cloud Access required; hosted visual search uses prepaid credits. Text-in-image search is semantic matching, not guaranteed exact OCR. Setup: https://organizewith.ai/en/guides/connect-ai-assistants
Search over 1.85 million captioned images using text, a reference image, or both. Upload a JPEG, PNG, or WebP image as base64, or provide a public HTTPS image URL. Find similar images from a Lightdrift asset ID and retrieve hosted file URLs, source licenses, and attribution. Connect with OAuth or an API key. Searches cost $0.005 ($5 per 1,000); image details are free. Setup: https://docs.lightdrift.ai/guides/images-mcp
Open Media Search -- one call across Openverse, Wikimedia Commons, Pixabay and Pexels, one result…
Related MCP Servers
- AlicenseBqualityDmaintenanceThis MCP server enables AI assistants to search for images on Wikimedia Commons, providing detailed metadata and optional thumbnail combinations to assist AI models in visual comparisons.12Apache 2.0
- FlicenseBqualityDmaintenanceEnables searching and retrieving images from Wikipedia Commons with detailed metadata including licenses and authors.211-
- AlicenseAqualityDmaintenanceEnables AI assistants to search for images on Wikimedia Commons, returning structured metadata and a composite thumbnail grid for visual comparison.190 npm3MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to search seven open media collections for reusable images, artworks, HDRIs, textures and 3D models, keeping only items whose own licence record clearly permits reuse. Returns ready-to-use attribution credit lines and can download the selected files with a generated credits file.MIT