Wikipedia MCP Server

$uvx wikipedia-mcp-server@latest
README.md

Enables LLMs to search for keywords and fetch full page content from Wikipedia.

Wikipedia MCP Server

A Model Context Protocol server that provides capabilities to query Wikipedia. This server enables LLMs to get information from Wikipedia.

Available Tools

  • search - Search keyword on Wikipedia.

    • Required arguments:
      • keyword (string): The search keyword
      • language (string): The language
  • fetch - Fetch Wikipedia page content.

    • Required arguments:
      • id (integer): The pade ID
      • language (string): The language

Installation

Using uv (recommended)

When using `uv` no specific installation is needed. We will use `uvx` to directly run wikipedia-mcp.

Using PIP

Alternatively you can install wikipedia-mcp via pip:

pip install wikipedia-mcp-server

After installation, you can run it as a script using:

python -m wikipedia_mcp

Configurations

Using uvx

{
  "mcpServers": {
    "wikipedia-mcp": {
      "command": "uvx",
      "args": [
        "wikipedia-mcp-server@latest"
      ]
    }
  }
}

Using docker

{
  "mcpServers": {
    "wikipedia-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/progamesigner/wikipedia-mcp:latest"
      ]
    }
  }
}

Using pip installation

{
  "mcpServers": {
    "wikipedia-mcp": {
      "command": "python",
      "args": [
        "-m",
        "wikipedia_mcp"
      ]
    }
  }
}

Build

Docker build:

docker build -t wikipedia-mcp .

Tools (2)

searchSearch keyword on Wikipedia.
fetchFetch Wikipedia page content.

Configuration

claude_desktop_config.json
{
  "mcpServers": {
    "wikipedia-mcp": {
      "command": "uvx",
      "args": [
        "wikipedia-mcp-server@latest"
      ]
    }
  }
}

Try it

Search Wikipedia for 'Quantum Computing' in English.
Find the Wikipedia page ID for 'Artificial Intelligence' in Spanish.
Fetch the full content of the Wikipedia page with ID 12345 in French.
Search for 'Great Barrier Reef' on Wikipedia and then fetch its content.

Frequently Asked Questions

What are the key features of Wikipedia MCP Server?

Search Wikipedia by keyword across multiple languages.. Fetch full page content using specific Wikipedia page IDs.. Support for multilingual queries and content retrieval.. Direct integration with LLMs via the Model Context Protocol..

What can I use Wikipedia MCP Server for?

Fact-checking information during a conversation with an AI.. Gathering detailed background information on specific topics for research.. Retrieving educational content from Wikipedia in different languages.. Automating knowledge retrieval for AI-driven content generation..

How do I install Wikipedia MCP Server?

Install Wikipedia MCP Server by running: uvx wikipedia-mcp-server@latest

What MCP clients work with Wikipedia MCP Server?

Wikipedia MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Use Wikipedia MCP Server with Conare

Manage MCP servers visually, upload persistent context, and never start from zero with Claude Code & Codex.

Try Free