Wikipedia MCP Server
About
A simple MCP Server in Python for working with Wikipedia topic content in a GenAI context
Details
- Author
- danbunnell
- GitHub stars
- 1
- Downloads
- 290
- Categories
- Other, AI, Search
Jump to
- Serves Wikipedia page content via the Model Context Protocol.
- Returns title, content, and URL for the requested topic.
- Runs as a local HTTP server on port 5000.
- Supports integration with Cursor Composer.
- Includes a test script to verify functionality.
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Wikipedia MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install dependencies with pip install -r requirements.txt and start the server using python src/server.py. Send a POST request to /mcp with a JSON body containing a topic field.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"wikipedia mcp server": {
"mcp-wikipedia": {
"command": "python",
"args": [
"src/server.py"
]
}
}
}
}
McpServers
{
"mcp-wikipedia": {
"command": "python",
"args": [
"src/server.py"
]
}
}
Wikipedia MCP Server
This is an MCP (Model Control Protocol) server that provides Wikipedia content for the requested topic.
Setup
1. Install the required dependencies:
pip install -r requirements.txt
2. Start the server:
python src/server.py
The server will run on http://localhost:5000.
API Usage
Using the API from the CLI
Send a POST request to /mcp with a JSON body containing a topic field:
curl -X POST http://localhost:5000/mcp \
-H "Content-Type: application/json" \
-d '{"topic": "Python_(programming_language)"}'
Using the API from Cursor Composer
1. Ask a question about a topic on Wikipedia
2. Cursor will display a proposed MCP request and ask for your permission to run the tool
3. After approving, Cursor will execute the request to the MCP Server
4. The prompt result will be based on the selected models analysis of the MCP Server response

Response Format
Successful response:
{
"status": "success",
"data": {
"title": "Page Title",
"content": "Page Content",
"url": "Wikipedia URL"
}
}
Error response:
{
"status": "error",
"error": "Error message"
}
Testing
Run the test script to verify the server is working:
python src/test_server.py
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




