🏎️ ☁️ 🏠 🍎 🪟 🐧 - Connect to any MediaWiki wiki (Wikipedia, Fandom, corporate wikis) to search, read and edit…
MediaWiki MCP Server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
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:**
1. **MCP server** — Claude Desktop, Claude Code, Cursor, ChatGPT, n8n, VS Code, Google ADK, or any MCP-compatible tool. See SETUP.md.
2. **wiki CLI** — same API client, same auth, no AI needed. For shell pipelines, CI checks, cron jobs. See CLI.md.
3. **Claude Code plugin** — /plugin marketplace add olgasafonova/mediawiki-mcp-server adds 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 " John Smith " |
For the full tool list, see TOOLS.md. The CLI returns typed exit codes for CI-friendly branching — see CLI.md.
---
30-Second Start
1. **Get the binary.** Download from Releases or go build -o mediawiki-mcp-server . (requires Go 1.24+).
2. **Find your wiki API URL** — usually https://your-wiki.com/api.php. Wikipedia is https://en.wikipedia.org/w/api.php. Visit Special:Version to confirm.
3. **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?"*