MCP Server with Wikipedia Article Tool
LocalAbout MCP Server with Wikipedia Article Tool
An HTTP SSE MCP server built with FastMCP that fetches Wikipedia articles and converts their HTML to Markdown. It is intended for MCP clients that need article content.
Key features
- 01SSE client communication
- 02Fetch Wikipedia articles
- 03Convert HTML to Markdown
- 04Expose MCP tools, resources, and prompts
Use cases
- 01Retrieve Wikipedia pages through MCP
- 02Convert article content to Markdown
- 03Inspect available MCP capabilities
MCP support
The server communicates with MCP clients over SSE and HTTP message endpoints. It exposes a Wikipedia article retrieval tool, along with resources and prompts.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMCP Server with Wikipedia Article Tool
This is an HTTP SSE-based MCP (Model Context Protocol) server that features a tool for fetching and converting Wikipedia articles to Markdown.
Features
- MCP server implementation using FastMCP
- Server-Sent Events (SSE) for client-server communication
- Wikipedia article fetching tool
- Conversion of HTML content to Markdown
Requirements
- Python 3.8+
- Dependencies listed in requirements.txt
- uv (Python package manager)
Installation
# Clone the repository
git clone https://github.com/codingaslu/http-sse-mcp-starter.git
cd http-sse-mcp-starter
# Install dependencies using uv
uv pip install -r requirements.txt
Usage
Starting the Server
python server.py
The server will start on http://localhost:8000 with the following endpoints:
/sse: For SSE connections from clients/messages/: For handling incoming POST messages
Using the Client
# List server capabilities
uv run -- client.py http://localhost:8000/sse
# Fetch a Wikipedia article
uv run -- client.py http://localhost:8000/sse https://en.wikipedia.org/wiki/Python_(programming_language)
MCP Server Capabilities
The MCP server provides:
- Tools: Functions that can be called by clients
- Resources: Data resources available to clients
- Prompts: Pre-defined prompts for AI assistants
The read_wikipedia_article tool fetches an article from Wikipedia, parses its content, and converts it to Markdown format.
License
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.