MediaWiki MCP 服务器
一个 MCP 服务器,可与维基百科 API 无缝交互。此工具允许您使用 LLM 搜索和检索维基百科内容 🤖!
https://github.com/user-attachments/assets/b5d9c5f3-a60e-48ea-8b4b-f1a7524d4fbb
特色✨
- 🔍 使用可自定义的 wiki 站点搜索 wiki 页面。例如 wikipedia.org、fandom.com、wiki.gg 等等!
- 📖 检索详细页面内容
用法💻
- 确保您的设备上安装了 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。
或者,如果您想从源代码运行此服务器:
支持的工具🛠
搜索
query
:搜索词(最好简短且重点突出)limit
:返回的最大结果数(默认值:5)
获取页面
title
:要检索的维基百科页面的确切标题
开发👨💻
以下是一些可能有帮助的文件:
贡献🤝
此服务器正在开发中。欢迎贡献!欢迎提交问题和拉取请求。
相关项目♥️
- Cherry Studio :一款支持多家 LLM 提供商的桌面客户端。支持 MCP。
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
MCP 服务器允许您使用带有 LLM 的 MediaWiki 在任何 wiki 网站上搜索和检索内容🤖。wikipedia.org、fandom.com、wiki.gg 以及更多使用 Mediawiki 的网站均受支持!
Related MCP Servers
- -securityAlicense-qualityMCP server for using various search tools like Tavily API. Planning to support various search tools (i.e. wiki search, searxng, etc)Last updated -1PythonMIT License
- -securityAlicense-qualityA Model Context Protocol server that retrieves information from Wikipedia to provide context to LLMs, allowing users to search articles, get summaries, full content, sections, and links from Wikipedia.Last updated -31PythonMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that enables searching, reading, and editing wiki pages on Wizzypedia from MCP-enabled tools like Cursor or Claude Desktop.Last updated -6JavaScript
- AsecurityAlicenseAqualityAn MCP server that fetches and converts Deepwiki documentation into Markdown, allowing users to crawl pages from deepwiki.com repositories and access them in different output formats.Last updated -11,868541TypeScriptMIT License