io.github.olgasafonova/mediawiki-mcp-server
平台与服务by olgasafonova
集成 MediaWiki 的 MCP server,提供 33+ 工具,支持搜索、阅读、编辑和链接分析。
什么是 io.github.olgasafonova/mediawiki-mcp-server?
集成 MediaWiki 的 MCP server,提供 33+ 工具,支持搜索、阅读、编辑和链接分析。
README
MediaWiki MCP Server
Connect your AI assistant to any MediaWiki wiki, or script it directly from the terminal. Search, read, and edit wiki content using natural language or the wiki CLI.
Three ways to use it:
- MCP server — Claude Desktop, Claude Code, Cursor, ChatGPT, n8n, VS Code, Google ADK, or any MCP-compatible tool. See SETUP.md.
wikiCLI — same API client, same auth, no AI needed. For shell pipelines, CI checks, cron jobs. See CLI.md.- Claude Code plugin —
/plugin marketplace add olgasafonova/mediawiki-mcp-serveradds wiki skills directly to Claude Code. See .claude-plugin/README.md.
Documentation
| Document | What it covers |
|---|---|
| QUICKSTART.md | Get running in 2 minutes |
| SETUP.md | Per-tool configuration (Claude Desktop, Cursor, ChatGPT, n8n, VS Code, Google ADK) |
| CLI.md | wiki command-line reference |
| TOOLS.md | Full tool reference (43 tools by category) |
| DEPLOYMENT.md | HTTP transport, security, endpoints, env vars |
| TIETO_SETUP.md | Connect to Tieto's Public 360° Wiki (beginner-friendly) |
| WIKI_USE_CASES.md | Detailed workflows by persona |
| ARCHITECTURE.md | System design |
| CONTRIBUTING.md | How to contribute |
| SECURITY.md | Security policies |
| CHANGELOG.md | Version history |
What Can You Do?
The same operation works from a prompt (via MCP) or directly in your shell (via the wiki CLI):
| Goal | Prompt your AI | From your terminal |
|---|---|---|
| Search the wiki | "What does our wiki say about onboarding?" | wiki search "onboarding" |
| Read a page | "Show me the Getting Started page" | wiki page "Getting Started" |
| Find broken links | "Are there broken links on the Docs page?" | wiki links broken --json |
| Find stale content | "Which pages haven't been updated in 90 days?" | wiki stale-pages --days 90 |
| Cross-link suggestions | "What pages are similar to the API Reference?" | wiki similar "API Reference" |
| Audit wiki health | "Run a health check on the wiki" | wiki audit --json |
| Publish markdown | "Publish this README to the wiki" | wiki publish README.md "Page Title" |
| Strike a name | "Strike out John Smith on the Team page" | wiki replace "Team" --find "John Smith" --replace "<s>John Smith</s>" |
For the full tool list, see TOOLS.md. The CLI returns typed exit codes for CI-friendly branching — see CLI.md.
30-Second Start
- Get the binary. Download from Releases or
go build -o mediawiki-mcp-server .(requires Go 1.24+). - Find your wiki API URL — usually
https://your-wiki.com/api.php. Wikipedia ishttps://en.wikipedia.org/w/api.php. VisitSpecial:Versionto confirm. - Wire it up to your AI tool — see SETUP.md for the configuration that matches your client.
Reading public wikis works without login. Private/corporate wikis and editing require a bot password — SETUP.md#editing-wiki-pages.
Example Prompts
📖 More examples: see WIKI_USE_CASES.md for detailed workflows by persona (content editors, documentation managers, developers).
Search and read:
- "What does our wiki say about deployment?"
- "Give me a quick overview of the Configuration page"
- "Get the content of Main Page, FAQ, and Setup all at once"
Track changes:
- "What pages were updated this week?"
- "Show me the diff between the last two versions"
- "Who are the most active editors this month?"
Check quality:
- "Are there broken links on this page?"
- "Find orphaned pages with no links to them"
- "Find pages similar to the Installation Guide"
- "Find pages not updated in the last 90 days"
Page management (requires auth):
- "Rename 'Old Guide' to 'Updated Guide'"
- "Strike out John Smith on the Team page"
- "Replace 'version 2.0' with 'version 3.0' on Release Notes"
File uploads and search (requires auth):
- "Upload this image from URL to the wiki"
- "Upload this local file to the wiki" (the agent base64-encodes the bytes; no public URL needed)
- "Search for 'budget' in File:Annual-Report.pdf"
Convert Markdown:
- "Convert this README to wiki format"
- "Convert with Tieto branding and CSS" (use theme="tieto", add_css=true)
PDF Search Setup
PDF search requires the pdftotext tool from poppler-utils. Text file search (TXT, MD, CSV, etc.) works without any dependencies.
| Platform | Install Command |
|---|---|
| macOS | brew install poppler |
| Ubuntu/Debian | apt install poppler-utils |
| RHEL/CentOS | yum install poppler-utils |
| Windows | choco install poppler |
Windows alternative: Download binaries from poppler-windows releases and add to PATH.
Verify installation:
pdftotext -v
Compatibility
| Platform | Transport | Status |
|---|---|---|
| Claude Desktop (Mac/Windows) | stdio | ✅ Supported |
| Claude Code CLI | stdio | ✅ Supported |
| Cursor | stdio | ✅ Supported |
| VS Code | stdio | ✅ Supported |
| ChatGPT | HTTP | ✅ Supported |
| n8n | HTTP | ✅ Supported |
| Google ADK | stdio / HTTP | ✅ Supported |
Works with any wiki: Wikipedia, Fandom, corporate wikis, or any MediaWiki installation.
Troubleshooting
Common issues and fixes live in SETUP.md#troubleshooting. For deeper diagnostics, the HTTP server exposes /health, /ready, and /status endpoints — see DEPLOYMENT.md.
Development
Build, test, and contribute: see CONTRIBUTING.md. For the system design, package layout, and data flow, see ARCHITECTURE.md.
Run the full check before pushing:
go test -race -failfast ./...
golangci-lint run ./...
Integration tests run against a real MediaWiki instance via docker-compose.test.yml. See CONTRIBUTING.md for the workflow.
Like This Project?
If this server saved you time, consider giving it a ⭐ on GitHub. It helps others discover the project.
More MCP Servers
Check out my other MCP servers:
| Server | Description | Stars |
|---|---|---|
| gleif-mcp-server | Access GLEIF LEI database. Look up company identities, verify legal entities. | |
| miro-mcp-server | Control Miro whiteboards with AI. Boards, diagrams, mindmaps, and more. | |
| nordic-registry-mcp-server | Access Nordic business registries. Look up companies across Norway, Denmark, Finland, Sweden. | |
| productplan-mcp-server | Talk to your ProductPlan roadmaps. Query OKRs, ideas, launches. | |
| tilbudstrolden-mcp | Nordic grocery deal hunting. Find offers, plan meals, track spending. | |
| mcp-servercard-go | Go library for SEP-2127 Server Cards. Pre-connect discovery for MCP servers. |
License
MIT License
Credits
- Built with Go MCP SDK
- Powered by MediaWiki API
常见问题
io.github.olgasafonova/mediawiki-mcp-server 是什么?
集成 MediaWiki 的 MCP server,提供 33+ 工具,支持搜索、阅读、编辑和链接分析。
相关 Skills
Slack动图
by anthropics
面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。
✎ 帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。
MCP构建
by anthropics
聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。
✎ 想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。
接口测试套件
by alirezarezvani
扫描 Next.js、Express、FastAPI、Django REST 的 API 路由,自动生成覆盖鉴权、参数校验、错误码、分页、上传与限流场景的 Vitest 或 Pytest 测试套件。
✎ 帮你把API与集成测试自动化跑顺,减少回归漏测;能力全面,尤其适合复杂接口场景的QA团队。
相关 MCP Server
Slack 消息
编辑精选by Anthropic
Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。
✎ 这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。
by netdata
io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。
✎ 这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。
by d4vinci
Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。
✎ 这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。