MCP Server with Wikipedia Article Tool
@codingaslu
关于 MCP Server with Wikipedia Article Tool
A lightweight implementation of the Model Context Protocol (MCP) server using Server-Sent Events. Features a Wikipedia article parser that converts content to Markdown format. Demonstrates client-server MCP communication over HTTP.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"http-sse-mcp-starter": {
"command": "uv",
"args": [
"pip",
"install",
"-r",
"requirements.txt"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Server with Wikipedia Article Tool?
An HTTP SSE-based MCP (Model Context Protocol) server that provides a tool for fetching Wikipedia articles and converting them to Markdown format. It is built with FastMCP and intended for AI assistants and clients that use the Model Context Protocol.
How to use MCP Server with Wikipedia Article Tool?
Clone the repository, install dependencies with uv using uv pip install -r requirements.txt, then start the server with python server.py. The server listens on http://localhost:8000 with an SSE endpoint at /sse and a POST endpoint at /messages/. Clients can list server capabilities or fetch a Wikipedia article by passing the article URL as an argument.
Key features of MCP Server with Wikipedia Article Tool
- Fetches and converts Wikipedia articles to Markdown.
- Uses Server-Sent Events (SSE) for communication.
- Provides Tools, Resources, and Prompts as MCP capabilities.
- Built with FastMCP and Python for easy setup.
Use cases of MCP Server with Wikipedia Article Tool
- Integrating Wikipedia article retrieval into AI assistant workflows.
- Converting Wikipedia content to plain Markdown for documentation or analysis.
- Demonstrating or prototyping an HTTP SSE-based MCP server.
FAQ from MCP Server with Wikipedia Article Tool
What Python version is required?
Python 3.8 or higher is required.
What dependencies does it need?
All dependencies are listed in requirements.txt and must be installed using the uv package manager.
How does the server communicate with clients?
It uses Server-Sent Events (SSE) for real‑time communication from server to client and a separate POST endpoint (/messages/) for incoming messages.
What does the read_wikipedia_article tool do?
It fetches an article from Wikipedia, parses its HTML content, and converts it to Markdown format.
What endpoints does the server expose?
Two endpoints: /sse for SSE connections and /messages/ for handling POST requests.
开发工具 分类下的更多 MCP 服务器
MCP-Bridge
SecretiveShellA middleware to provide an openAI compatible endpoint that can call MCP tools
Serena
oraiosA powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
MCP Containers
metorialConnect any AI model to 1200+ integrations (MCP, CLI, API)
Hello World MCP Server (Reference Extension)
anthropicsDesktop Extensions: One-click local MCP server installation in desktop apps
sentry-mcp
getsentryAn MCP server for interacting with Sentry via LLMs.
评论