wikipedia-mcp-server

Waterb612/wikipedia-mcp-server

3.1

If you are the rightful owner of wikipedia-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Wikipedia MCP Server is a lightweight server designed to provide concise Wikipedia summaries, facilitating quick access to reliable knowledge for AI agents.

๐Ÿ“š Wikipedia MCP Server

Python FastAPI

A lightweight MCP server that fetches concise Wikipedia summaries,
helping AI agents quickly access reliable knowledge.


๐Ÿš€ Installation

Clone the repository and install dependencies:

git clone https://github.com/Waterb612/wikipedia-mcp-server.git
cd wikipedia-mcp-server
pip install -r requirements.txt

โ–ถ๏ธ Run the Server

Start the server with:

python3 main.py

The server will be available at:

๐Ÿ‘‰ http://127.0.0.1:8000


โš™๏ธ MCP Config

Add the following config to your mcp.json (or equivalent):

{
  "mcpServers": {
    "wikipedia-mcp": {
      "command": "python3",
      "args": ["main.py"],
      "env": {}
    }
  }
}

๐Ÿงช Example Usage

Request:

GET http://127.0.0.1:8000/search?query=Albert%20Einstein

Response:

{
  "query": "Albert Einstein",
  "summary": "Albert Einstein was a German-born theoretical physicist..."
}

๐Ÿ“œ License

This project is licensed under the MIT License.