mcp-wikipedia

mcp-wikipedia

3.4

The Wikipedia MCP Server is designed to provide Wikipedia content for requested topics using the Model Control Protocol.

The Wikipedia MCP Server is a specialized server that utilizes the Model Control Protocol (MCP) to fetch and deliver Wikipedia content based on user requests. It is designed to handle requests for specific topics and return relevant Wikipedia page information, including the title, content, and URL. The server is built to run locally and can be accessed via HTTP requests. It is particularly useful for applications that require integration with Wikipedia data, allowing users to retrieve information programmatically. The server supports both command-line interface (CLI) and integration with tools like Cursor Composer, making it versatile for different use cases. The server is easy to set up and test, with clear instructions for installation and operation.

Features

  • Fetches Wikipedia content based on user requests.
  • Provides structured JSON responses with page title, content, and URL.
  • Supports both CLI and integration with tools like Cursor Composer.
  • Easy setup and testing with provided scripts.
  • Handles errors gracefully with clear error messages.

Usage with Different Platforms

CLI

bash
curl -X POST http://localhost:5000/mcp \
  -H "Content-Type: application/json" \
  -d '{"topic": "Python_(programming_language)"}'

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