Labsco
yanexr logo

Wikimedia Image Search

โ˜… 2

from yanexr

MCP server that enables AI assistants to search Wikimedia Commons images with metadata and visual thumbnails.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeAdvanced setup

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.

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