About Mcp Wikipedia
Mcp Wikipedia is an MCP server for querying Wikipedia content, with language-selectable search, summaries, full pages, and random pages.
Key features
- 01Search concepts with top five matches and summaries
- 02Get a page summary
- 03Retrieve a full page
- 04Fetch a random page
- 05Choose the query language
Use cases
- 01Find a term and explore matching topics
- 02Read a topic summary or full page
- 03Explore Wikipedia through random pages
MCP support
The MCP server exposes tools for Wikipedia concept search, page summaries, full-page retrieval, and random pages.
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-wikipedia

让大模型能够搜索维基百科相关内容。实现了如下功能:
- 概念搜索:返回匹配度最高的5个主题,同时提供对应的摘要
- 页面摘要:获取指定主题的摘要
- 全文获取:加载指定主题的完整内容
- 随机探索:获取随机页面内容
每个功能都可以指定语言,默认是 lang=en。
参数说明在代码注释里,应该不需要额外的提示词就能让模型调用接口。你也可以告诉它 搜索中文维基,或者偷个懒,写上 wikipedia zh 的关键词就好了。
Usage
首先,下载本仓库:
cd <path of MCP servers>
git clone https://github.com/ShwStone/mcp-wikipedia.git
然后打开你的 MCP 配置文件(mcpo 或 claude):
{
"mcpServers": {
"wikipedia": {
"command": "uv",
"args": [
"--directory",
"<path of MCP servers>/mcp-wikipedia",
"run",
"python",
"main.py"
]
}
}
}
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.