{
  "markdown": "# MediaWiki MCP Server\n\nConnect 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.\n\n[![CI](https://github.com/olgasafonova/mediawiki-mcp-server/actions/workflows/ci.yml/badge.svg)](https://github.com/olgasafonova/mediawiki-mcp-server/actions/workflows/ci.yml)\n![lint](https://github.com/olgasafonova/mediawiki-mcp-server/actions/workflows/lint.yml/badge.svg)\n[![CodeScene Average Code Health](https://codescene.io/projects/82993/status-badges/average-code-health)](https://codescene.io/projects/82993)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**Three ways to use it:**\n\n1. **MCP server** — Claude Desktop, Claude Code, Cursor, ChatGPT, n8n, VS Code, Google ADK, or any MCP-compatible tool. See [SETUP.md](SETUP.md).\n2. **`wiki` CLI** — same API client, same auth, no AI needed. For shell pipelines, CI checks, cron jobs. See [CLI.md](CLI.md).\n3. **Claude Code plugin** — `/plugin marketplace add olgasafonova/mediawiki-mcp-server` adds wiki skills directly to Claude Code. See [.claude-plugin/README.md](.claude-plugin/README.md).\n\n---\n\n## Documentation\n\n| Document | What it covers |\n|----------|----------------|\n| [QUICKSTART.md](QUICKSTART.md) | Get running in 2 minutes |\n| [SETUP.md](SETUP.md) | Per-tool configuration (Claude Desktop, Cursor, ChatGPT, n8n, VS Code, Google ADK) |\n| [CLI.md](CLI.md) | `wiki` command-line reference |\n| [TOOLS.md](TOOLS.md) | Full tool reference (43 tools by category) |\n| [DEPLOYMENT.md](DEPLOYMENT.md) | HTTP transport, security, endpoints, env vars |\n| [TIETO_SETUP.md](TIETO_SETUP.md) | Connect to Tieto's Public 360° Wiki (beginner-friendly) |\n| [WIKI_USE_CASES.md](WIKI_USE_CASES.md) | Detailed workflows by persona |\n| [ARCHITECTURE.md](ARCHITECTURE.md) | System design |\n| [CONTRIBUTING.md](CONTRIBUTING.md) | How to contribute |\n| [SECURITY.md](SECURITY.md) | Security policies |\n| [CHANGELOG.md](CHANGELOG.md) | Version history |\n\n---\n\n## What Can You Do?\n\nThe same operation works from a prompt (via MCP) or directly in your shell (via the `wiki` CLI):\n\n| Goal | Prompt your AI | From your terminal |\n|------|---------------|--------------------|\n| Search the wiki | *\"What does our wiki say about onboarding?\"* | `wiki search \"onboarding\"` |\n| Read a page | *\"Show me the Getting Started page\"* | `wiki page \"Getting Started\"` |\n| Find broken links | *\"Are there broken links on the Docs page?\"* | `wiki links broken --json` |\n| Find stale content | *\"Which pages haven't been updated in 90 days?\"* | `wiki stale-pages --days 90` |\n| Cross-link suggestions | *\"What pages are similar to the API Reference?\"* | `wiki similar \"API Reference\"` |\n| Audit wiki health | *\"Run a health check on the wiki\"* | `wiki audit --json` |\n| Publish markdown | *\"Publish this README to the wiki\"* | `wiki publish README.md \"Page Title\"` |\n| Strike a name | *\"Strike out John Smith on the Team page\"* | `wiki replace \"Team\" --find \"John Smith\" --replace \"<s>John Smith</s>\"` |\n\nFor the full tool list, see [TOOLS.md](TOOLS.md). The CLI returns typed exit codes for CI-friendly branching — see [CLI.md](CLI.md#exit-codes).\n\n---\n\n## 30-Second Start\n\n1. **Get the binary.** Download from [Releases](https://github.com/olgasafonova/mediawiki-mcp-server/releases) or `go build -o mediawiki-mcp-server .` (requires Go 1.24+).\n2. **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.\n3. **Wire it up to your AI tool** — see [SETUP.md](SETUP.md) for the configuration that matches your client.\n\nReading public wikis works without login. Private/corporate wikis and editing require a bot password — [SETUP.md#editing-wiki-pages](SETUP.md#editing-wiki-pages).\n\n---\n\n## Example Prompts\n\n> 📖 **More examples:** see [WIKI_USE_CASES.md](WIKI_USE_CASES.md) for detailed workflows by persona (content editors, documentation managers, developers).\n\n**Search and read:**\n- *\"What does our wiki say about deployment?\"*\n- *\"Give me a quick overview of the Configuration page\"*\n- *\"Get the content of Main Page, FAQ, and Setup all at once\"*\n\n**Track changes:**\n- *\"What pages were updated this week?\"*\n- *\"Show me the diff between the last two versions\"*\n- *\"Who are the most active editors this month?\"*\n\n**Check quality:**\n- *\"Are there broken links on this page?\"*\n- *\"Find orphaned pages with no links to them\"*\n- *\"Find pages similar to the Installation Guide\"*\n- *\"Find pages not updated in the last 90 days\"*\n\n**Page management** (requires auth):\n- *\"Rename 'Old Guide' to 'Updated Guide'\"*\n- *\"Strike out John Smith on the Team page\"*\n- *\"Replace 'version 2.0' with 'version 3.0' on Release Notes\"*\n\n**File uploads and search** (requires auth):\n- *\"Upload this image from URL to the wiki\"*\n- *\"Upload this local file to the wiki\"* (the agent base64-encodes the bytes; no public URL needed)\n- *\"Search for 'budget' in File:Annual-Report.pdf\"*\n\n**Convert Markdown:**\n- *\"Convert this README to wiki format\"*\n- *\"Convert with Tieto branding and CSS\"* (use theme=\"tieto\", add_css=true)\n\n---\n\n## PDF Search Setup\n\nPDF search requires the `pdftotext` tool from poppler-utils. Text file search (TXT, MD, CSV, etc.) works without any dependencies.\n\n| Platform | Install Command |\n|----------|-----------------|\n| macOS | `brew install poppler` |\n| Ubuntu/Debian | `apt install poppler-utils` |\n| RHEL/CentOS | `yum install poppler-utils` |\n| Windows | `choco install poppler` |\n\n**Windows alternative:** Download binaries from [poppler-windows releases](https://github.com/oschwartz10612/poppler-windows/releases) and add to PATH.\n\n**Verify installation:**\n```bash\npdftotext -v\n```\n\n---\n\n## Compatibility\n\n| Platform | Transport | Status |\n|----------|-----------|--------|\n| Claude Desktop (Mac/Windows) | stdio | ✅ Supported |\n| Claude Code CLI | stdio | ✅ Supported |\n| Cursor | stdio | ✅ Supported |\n| VS Code | stdio | ✅ Supported |\n| ChatGPT | HTTP | ✅ Supported |\n| n8n | HTTP | ✅ Supported |\n| Google ADK | stdio / HTTP | ✅ Supported |\n\n**Works with any wiki:** Wikipedia, Fandom, corporate wikis, or any MediaWiki installation.\n\n---\n\n## Troubleshooting\n\nCommon issues and fixes live in [SETUP.md#troubleshooting](SETUP.md#troubleshooting). For deeper diagnostics, the HTTP server exposes `/health`, `/ready`, and `/status` endpoints — see [DEPLOYMENT.md](DEPLOYMENT.md).\n\n---\n\n## Development\n\nBuild, test, and contribute: see [CONTRIBUTING.md](CONTRIBUTING.md). For the system design, package layout, and data flow, see [ARCHITECTURE.md](ARCHITECTURE.md).\n\nRun the full check before pushing:\n\n```bash\ngo test -race -failfast ./...\ngolangci-lint run ./...\n```\n\nIntegration tests run against a real MediaWiki instance via `docker-compose.test.yml`. See [CONTRIBUTING.md](CONTRIBUTING.md) for the workflow.\n\n---\n\n## Like This Project?\n\nIf this server saved you time, consider giving it a ⭐ on GitHub. It helps others discover the project.\n\n## More MCP Servers\n\nCheck out my other MCP servers:\n\n| Server | Description | Stars |\n|--------|-------------|-------|\n| [gleif-mcp-server](https://github.com/olgasafonova/gleif-mcp-server) | Access GLEIF LEI database. Look up company identities, verify legal entities. | ![GitHub stars](https://img.shields.io/github/stars/olgasafonova/gleif-mcp-server?style=flat) |\n| [miro-mcp-server](https://github.com/olgasafonova/miro-mcp-server) | Control Miro whiteboards with AI. Boards, diagrams, mindmaps, and more. | ![GitHub stars](https://img.shields.io/github/stars/olgasafonova/miro-mcp-server?style=flat) |\n| [nordic-registry-mcp-server](https://github.com/olgasafonova/nordic-registry-mcp-server) | Access Nordic business registries. Look up companies across Norway, Denmark, Finland, Sweden. | ![GitHub stars](https://img.shields.io/github/stars/olgasafonova/nordic-registry-mcp-server?style=flat) |\n| [productplan-mcp-server](https://github.com/olgasafonova/productplan-mcp-server) | Talk to your ProductPlan roadmaps. Query OKRs, ideas, launches. | ![GitHub stars](https://img.shields.io/github/stars/olgasafonova/productplan-mcp-server?style=flat) |\n| [tilbudstrolden-mcp](https://github.com/olgasafonova/tilbudstrolden-mcp) | Nordic grocery deal hunting. Find offers, plan meals, track spending. | ![GitHub stars](https://img.shields.io/github/stars/olgasafonova/tilbudstrolden-mcp?style=flat) |\n| [mcp-servercard-go](https://github.com/olgasafonova/mcp-servercard-go) | Go library for SEP-2127 Server Cards. Pre-connect discovery for MCP servers. | ![GitHub stars](https://img.shields.io/github/stars/olgasafonova/mcp-servercard-go?style=flat) |\n\n---\n\n## License\n\nMIT License\n\n## Credits\n\n- Built with [Go MCP SDK](https://github.com/modelcontextprotocol/go-sdk)\n- Powered by [MediaWiki API](https://www.mediawiki.org/wiki/API:Main_page)\n",
  "bytes": 8887,
  "sha": "baacf693f9af384e33a258e49bddef55a7d7451730edba39b5541623d29e6d94",
  "repo_slug": "olgasafonova/mediawiki-mcp-server",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_olgasafonova_mediawiki_mcp_ser_e98aa63a/readme"
}