# Wikimedia Commons MCP

> Wikimedia Commons MCP is an open-source MCP server for web search and scraping. MCP server for searching files on Wikimedia Commons from AI clients. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, self-hosted
- **Repository:** https://github.com/mrfentmen/awesome-mcps
- **MCP Registry name:** io.github.mrfentmen/wikimedia-commons-mcp
- **Categories:** [web search and scraping](https://ai-powered.com/categories/web-search-and-scraping)
- **Listing updated:** 2026-11-18

## About

This server is published as the npm package `wikimedia-commons-mcp` and talks to clients over stdio. It is one of many small servers in the mrfentmen collection, each wrapping a single public data source. Its stated purpose is file search on Wikimedia Commons, the shared media repository behind Wikipedia.

The registry entry requires no environment variables, so it needs no API key to set up. The collection's README says most servers read public data without a key of their own. It does not list the individual tools this server exposes, so check the package for exact tool names and parameters.

It suits developers who want an assistant to look up freely licensed images and other media without leaving the chat. The collection is open about its state: some published packages still return placeholder responses for unimplemented tools, so test this one before relying on it.

## Features

- **Commons file search:** Searches files held on Wikimedia Commons from an MCP-compatible client.
- **Stdio transport:** Runs as a local process over stdio, with no remote endpoint required.
- **No credentials needed:** The registry entry declares no environment variables, so no API key is required to start it.
- **npm distribution:** Installable as the npm package wikimedia-commons-mcp, version 1.0.0.

## Good for

- Finding freely licensed images for an article draft
- Letting an AI assistant look up media files by keyword
- Gathering candidate illustrations for a presentation
- Checking whether Commons holds a file on a given topic

## Install

### Claude Code (Terminal)

```sh
claude mcp add wikimedia-commons-mcp -- npx -y wikimedia-commons-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "wikimedia-commons-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "wikimedia-commons-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "wikimedia-commons-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "wikimedia-commons-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "wikimedia-commons-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "wikimedia-commons-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "wikimedia-commons-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "wikimedia-commons-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "wikimedia-commons-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "wikimedia-commons-mcp"
      ]
    }
  }
}
```

## FAQ

### How does it connect to a client?

It uses the stdio transport and is distributed as the npm package wikimedia-commons-mcp.

### Does it need an API key?

The registry entry lists no environment variables, so no key is configured.

### What does it do?

Its registry description says it provides Wikimedia Commons file search.

### Is it free to use?

The source repository states that nothing in it asks a caller to pay.

### Is Wikimedia Commons MCP free?

Yes. Wikimedia Commons MCP is open source, so you can use and self-host it for free.

### How do I add Wikimedia Commons MCP to Claude Code?

Run this command in your terminal: claude mcp add wikimedia-commons-mcp -- npx -y wikimedia-commons-mcp

### What are the best alternatives to Wikimedia Commons MCP?

The closest alternatives to Wikimedia Commons MCP are Whois MCP, Openbrewery MCP and MCP Harbor Search.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Whois MCP](https://ai-powered.com/mcp/whois-mcp): Whois MCP is an open-source MCP server for web search and scraping.
- [Openbrewery MCP](https://ai-powered.com/mcp/openbrewery-mcp): Openbrewery MCP is an open-source MCP server for web search and scraping.
- [MCP Harbor Search](https://ai-powered.com/mcp/mcp-harbor-search): MCP Harbor Search is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/wikimedia-commons-mcp
