mediawiki-mcp-server
MediaWiki MCP 服务器
一个 MCP 服务器,可与维基百科 API 无缝交互。此工具允许您使用 LLM 搜索和检索维基百科内容 🤖!
https://github.com/user-attachments/assets/b5d9c5f3-a60e-48ea-8b4b-f1a7524d4fbb
特色✨
🔍 使用可自定义的 wiki 站点搜索 wiki 页面。例如 wikipedia.org、fandom.com、wiki.gg 等等!
📖 检索详细页面内容
Related MCP server: mediawiki-mcp-server
用法💻
确保您的设备上安装了 uv。
在您的客户端中配置:
服务器默认使用https://en.wikipedia.org/ 。您也可以让服务器搜索其他 wiki 站点!
要查看 wiki 站点是否与该服务器兼容,请检查它是否使用 MediaWiki 软件(通常由站点底部的图标显示)。
要进一步检查并找到端点(通常是网站的域名,例如https://mediawiki.org/ ),请在浏览器中访问 base-url/rest.php/v1/page (例如https://noita.wiki.gg/rest.php/v1/page ),看看输出是否正确。如果不正确,请在基本 URL 中添加“/w”并重试。

然后,将此端点设置为--base-url。
{
"mcpServers": {
"mediawiki-mcp-server": {
"command": "uvx",
"args": [
"mediawiki-mcp-server",
"--base-url", "https://example.com/"
],
"env": {
"HTTP_PROXY": "http://example.com:port"
}
}
}
}或者,如果您想从源代码运行此服务器:
{
"mcpServers": {
"mediawiki-mcp-server": {
"command": "uv",
"args": [
"run",
"--directory",
"mediawiki-mcp-server",
"path/to/project/src/mediawiki_mcp_server",
"--base-url", "https://example.com/"
],
"env": {
"HTTP_PROXY": "http://example.com:port"
}
}
}
}支持的工具🛠
搜索
query:搜索词(最好简短且重点突出)limit:返回的最大结果数(默认值:5)
获取页面
title:要检索的维基百科页面的确切标题
开发👨💻
npx @modelcontextprotocol/inspector uv run mediawiki-mcp-server以下是一些可能有帮助的文件:
贡献🤝
此服务器正在开发中。欢迎贡献!欢迎提交问题和拉取请求。
相关项目♥️
Cherry Studio :一款支持多家 LLM 提供商的桌面客户端。支持 MCP。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server for Wiki.js projects that enables full-text search, page retrieval, and page management capabilities. It allows LLMs to interact with wiki content through specialized tools for searching, listing, and creating pages.
- AlicenseAqualityAmaintenanceMCP server for MediaWiki wikis. Search, read, edit, and manage wiki content from AI assistants. Includes formatting, link checking, revision history, and markdown conversion.4320MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables full management of WikiJS instances, supporting operations like page creation, searching, and updating. It also provides tools for knowledge graph exploration, content summarization, and retrieval of wiki statistics.26MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for persistent, compounding markdown wikis maintained by LLMs. Enables incremental knowledge base building with interlinked pages, search, and raw source management.161MIT
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/shiquda/mediawiki-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server