home / mcp / mcp wikipedia server

MCP Wikipedia Server

Provides access to Wikipedia pages via MCP, enabling clients to fetch articles and metadata through a configurable local server.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "algonacci-mcp-wikipedia": {
      "command": "uv",
      "args": [
        "--directory",
        "%USERPROFILE%/Documents/GitHub/mcp-wikipedia",
        "run",
        "python",
        "main.py"
      ]
    }
  }
}

You can run an MCP server that exposes access to Wikipedia pages, letting clients fetch articles and navigation data through a lightweight local service. This enables you to integrate Wikipedia content into other MCP-enabled workflows and tools with minimal setup.

How to use

Start the Wikipedia MCP server and point your MCP client at the local instance. The server runs as a local process and exposes the Wikipedia content for retrieval by your client applications. You can adapt the server to fetch articles, navigate topic pages, and access metadata as needed within your MCP workflow. Start it when you need Wikipedia data, and stop it when you’re finished or need to update the source data.

How to install

Prerequisites you need before starting: ensure Python 3.x is installed on your system, and you have access to run the MCP runtime command shown below. The server expects to be placed in a directory you control; use the path shown in the usage snippet to ensure correct behavior.

Step-by-step setup you can follow now:

1. Prepare the working directory for the Wikipedia MCP server.

2. Ensure you have the MCP runtime available as shown in the example command.

3. Run the server using the exact command and arguments from the usage example.

4. Verify the server starts and listens for MCP clients on the expected interface.

Configuration and usage notes

The server is configured to run a Python script from a local directory. The runtime command and arguments are exactly as shown in the usage example, so you can reproduce the startup environment reliably across runs.

MCP Wikipedia Server - algonacci/mcp-wikipedia