Wikimedia Image Search MCP Server

Wikimedia Image Search MCP Server

wikimedia-image-search-mcp•byyanexr

An MCP server that lets AI assistants search Wikimedia Commons images and receive structured metadata plus an optional composite image of thumbnails.

License: Not specified•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Exposes a wikimedia_search_images tool that accepts a query with optional limit, offset, license, and thumbnail settings.
  • •Returns image metadata formatted as YAML text, including file size, dimensions, author, and license.
  • •Optionally downloads thumbnails and composites them into a single grid image with index numbers overlaid.
  • •Returns a multi-content response containing the YAML text and a JPEG composite image.

BEST FOR

  • •Finding suitable images for websites, articles, or presentations.
  • •Selecting images for educational materials or books.
  • •Visually comparing multiple image results to pick the most relevant one.

ABOUT WIKIMEDIA-IMAGE-SEARCH-MCP

Wikimedia Image Search MCP Server is cataloged as an MCP server attributed to yanexr. An MCP server that lets AI assistants search Wikimedia Commons images and receive structured metadata plus an optional composite image of thumbnails. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Wikimedia Image Search MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Can the server filter results to only unrestricted licenses?

Yes, the license parameter supports an "all" option and a "no_restrictions" (CC0/Public Domain) option.

Can thumbnail generation be turned off?

Yes, the include_thumbnails parameter controls whether a composite image of thumbnails is generated and returned; it defaults to true.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 965e10fbf12a · 采集于 2026-11-13 12:05:51 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Wikimedia Image Search MCP Server

This MCP (Model Context Protocol) server enables AI assistants to search for images on Wikimedia Commons. It provides detailed metadata and optional thumbnail composites to help AI models visually compare results.

Overview

This server is designed to give AI assistants "eyes" when searching for visual content. Instead of guessing based on filenames or text descriptions alone, the AI can retrieve a structured list of image metadata and a composite image containing thumbnails of the search results.

This capability is particularly useful when an AI assistant needs to:

  • Find suitable images for creating websites, articles, or presentations.
  • Select images for educational materials or books.
  • Verify the visual content of an image before recommending it.
  • Compare multiple images to choose the most relevant one for a specific context.

By providing both metadata (license, author, description, dimensions) and a visual preview, the AI can make informed decisions about which images to use or download.

Setup

Prerequisites

  • Node.js: Version 18 or higher.
  • MCP Client: A compatible client such as VS Code, Cursor, Claude Code, Windsurf, Cline, Claude Desktop...

Installation

To use this server, configure your MCP client to run it using npx.

VS Code

Add the following configuration to your MCP settings file (typically located at %APPDATA%\Code\User\globalStorage\mcp-servers.json on Windows or ~/Library/Application Support/Code/User/globalStorage/mcp-servers.json on macOS).

{
  "mcpServers": {
    "wikimedia-image-search": {
      "command": "npx",
      "args": [
        "-y",
        "wikimedia-image-search-mcp"
      ]
    }
  }
}
Cursor

Go to Cursor Settings > MCP > Add new MCP Server.

  • Name: wikimedia-image-search
  • Type: command
  • Command: npx -y wikimedia-image-search-mcp

Alternatively, edit your .cursor/mcp.json file:

{
  "mcpServers": {
    "wikimedia-image-search": {
      "command": "npx",
      "args": [
        "-y",
        "wikimedia-image-search-mcp"
      ]
    }
  }
}
Claude Desktop

Edit your claude_desktop_config.json file (typically located at %APPDATA%\Claude\claude_desktop_config.json on Windows or ~/Library/Application Support/Claude/claude_desktop_config.json on macOS).

{
  "mcpServers": {
    "wikimedia-image-search": {
      "command": "npx",
      "args": [
        "-y",
        "wikimedia-image-search-mcp"
      ]
    }
  }
}
Claude Code

Run the following command in your terminal:

claude mcp add wikimedia-image-search -- npx -y wikimedia-image-search-mcp

Tool Usage

This server exposes a single tool: wikimedia_search_images.

Tool Schema

The tool accepts the following parameters:

  • query (string, required): The search terms (e.g., "sunset ocean", "eiffel tower").
  • limit (number, optional): Maximum number of results to return (default: 9, max: 50).
  • offset (number, optional): Number of results to skip for pagination.
  • license (string, optional): Filter by license. Options: "all" (default) or "no_restrictions" (CC0/Public Domain).
  • include_thumbnails (boolean, optional): Whether to generate and return a composite image of thumbnails (default: true).

How It Works

  1. Fetching: The tool queries the Wikimedia Commons API using the provided search terms and filters. It retrieves raw JSON data containing image URLs, metadata, and license information.
  2. Processing: The raw JSON response is parsed and transformed into a clean, structured list of ImageMetadata objects.
  3. Formatting:
    • Text: The metadata list is converted into a YAML-formatted string. This provides the AI with a readable, structured text overview of the results (including file size, dimensions, author, and license).
    • Visual: If include_thumbnails is true, the tool downloads the thumbnail for each result. It then uses the sharp library to composite these thumbnails into a single grid image, with index numbers overlaid on each image.
  4. Response: The tool returns a multi-content message containing the YAML text and the composite image (MIME type image/jpeg).

You can view examples of the output files in the test-output/ directory:

Demonstration

Development

To contribute to this project or run it locally from source:

  1. Clone the repository:

    git clone https://github.com/yanexr/wikimedia-image-search-mcp.git
    cd wikimedia-image-search-mcp
    
  2. Install dependencies:

    npm install
    # or
    pnpm install
    
  3. Build the project:

    npm run build
    # or
    pnpm run build
    
  4. Local Configuration: To test the server locally with an MCP client, point the configuration to your built file.

    {
      "mcpServers": {
        "wikimedia-local": {
          "command": "node",
          "args": [
            "C:/path/to/wikimedia-image-search-mcp/dist/index.js"
          ]
        }
      }
    }
    
  5. Testing and Debugging: You can use the MCP Inspector to test the server interactively:

    npm run inspect
    # or
    pnpm run inspect
    

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Wikimedia Image Search MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/wikimedia-image-search-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research