
MediaWiki
io.github.olgasafonovaPublished by GitHub account olgasafonovav1.36.1Updated Nov 7, 2026
Search, read, and edit any MediaWiki wiki. Works with Wikipedia, Fandom, and more.
Overview
Connects an assistant to any MediaWiki wiki — Wikipedia, Fandom or a corporate wiki — to search, read, audit and edit pages.
- What you can do
- Search and read wiki pages, including fetching several pages at once
- Track changes: recent updates, version diffs and most active editors
- Check quality: broken links, orphaned pages, similar pages, stale content and wiki health audits
- Manage pages with authentication: rename, find-and-replace text, publish Markdown
- Upload files and search inside uploaded documents such as PDFs
- Convert Markdown to wiki format, optionally with a theme and CSS
- When to use it
- Useful when your documentation or team knowledge lives in a MediaWiki instance and you want the assistant to answer questions from it, review content quality, or make bulk edits. Also fits documentation managers and editors who want wiki maintenance driven by prompts or shell scripts.
- Requirements
- Runs as a local process (binary, container image or desktop bundle; building from source needs Go 1.24+). Requires MEDIAWIKI_URL pointing at the wiki API endpoint. Reading public wikis needs no login; private wikis and editing need MEDIAWIKI_USERNAME and MEDIAWIKI_PASSWORD (a bot password). PDF search additionally needs the pdftotext tool from poppler-utils.
Installation
In SourceWeft
- Open MediaWiki in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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.
[CI] [lint] [CodeScene Average Code Health] [License: MIT]
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
What Can You Do?
The same operation works from a prompt (via MCP) or directly in your shell (via the wiki CLI):
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.
Windows alternative: Download binaries from poppler-windows releases and add to PATH.
Verify installation:
Compatibility
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:
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:
License
MIT License
Credits
- Built with Go MCP SDK
- Powered by MediaWiki API
Source: README.md at commit f6ec39f
Tools
0Version history
4- v1.36.1LatestNov 7, 2026
- v1.36.0Oct 15, 2026
- v1.35.0Oct 7, 2026
- v1.34.0Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts