This is a full editing bot, not a reader with an edit button — delete and undelete both exist, with watchlist and logging handled properly. That makes the bot password's permission set the real control: the documentation recommends least privilege, IP restrictions, and monitoring the wiki's own logs. The comparison tool is the quiet favourite, since diffing revisions before writing is how an automated edit stops being a gamble.
An MCP server that talks to a MediaWiki installation through its API as a bot user. Every tool carries a `wiki_` prefix, CSRF tokens are managed automatically, and each tool has its own reference page in the repository.
- Page reading and editing with the full set of MediaWiki editing options — `wiki_page_get`, `wiki_page_edit`
- Page lifecycle operations: move with talk pages, subpages and redirects; delete with watchlist and logging control; and undelete with restoration options — `wiki_page_move`, `wiki_page_delete`, `wiki_page_undelete`
- Content processing: parse wikitext into HTML with metadata extraction, and compare two pages, revisions or text blocks to see the differences — `wiki_page_parse`, `wiki_page_compare`
- Search two ways: the search API with advanced filtering, and OpenSearch for quick suggestions and autocomplete — `wiki_search`, `wiki_opensearch`
- Site information covering general settings, namespaces, statistics and installed extensions — `wiki_meta_siteinfo`
Bot credentials from your wiki's Special:BotPasswords page, with read plus high-volume editing rights, supplied as `MEDIAWIKI_API_BOT_USERNAME` (in the YourUserName@YourBotName form) and `MEDIAWIKI_API_BOT_PASSWORD`, alongside `MEDIAWIKI_API_URL` pointing at your api.php. `MEDIAWIKI_API_BOT_USER_AGENT` is optional but expected practice — put contact information in it. Python with `uv`: install dependencies, then run `uv run mediawiki-api-mcp`. The package is `mediawiki-api-mcp` (0.3.0 in pyproject).
Build from source — clone the repository and build it, then point your client at the binary
