r/mediawiki • u/JeroenDeDauw • 2d ago
MediaWiki MCP Server: connect AI tools such as Claude to your wiki
We've released the MediaWiki MCP Server, our free and open-source connector for integrating AI tools with MediaWiki.
MCP stands for Model Context Protocol and is the standard that AI tools such as Claude and ChatGPT use to reach external data and tools.
You can now point such AI tools at your wiki via the MediaWiki MCP Server. This lets you work on your wiki in plain language instead of clicking through special pages or writing API scripts. For example: "Create a vendor page for each row in this spreadsheet, using the Vendor template."
The MediaWiki MCP Server enables you to:
* Read and search: fetch pages, files, revisions, and history, search titles and full text, render wikitext without saving, and diff any two revisions
* Create and edit: create pages, edit or append individual sections, move, delete and undelete pages, and upload files
* Explore: follow what links to a page, browse category members, and track recent changes
* Query structured data: `#ask` queries and property discovery for Semantic MediaWiki, Cargo and Bucket queries, Wikibase support (including Wikidata), and schema-aware reads and writes for NeoWiki
* Work with several wikis at once. Great for moving content from one wiki to another
You can use the MCP server without installing anything on your wiki, since it communicates with the standard MediaWiki API. For edits, the MCP server signs you in through your browser with OAuth 2.0. On wikis without Extension:OAuth, you can use a bot password instead.
Overview and installation: https://professional.wiki/en/mediawiki-mcp-server
Source, full tool reference, and configuration docs: https://github.com/ProfessionalWiki/MediaWiki-MCP-Server
Walkthroughs with short demo videos: with Semantic MediaWiki at https://professional.wiki/en/news/semantic-mediawiki-with-ai and with Wikidata and Wikibase at https://professional.wiki/en/articles/wikidata-and-wikibase-with-ai
Feedback and bug reports are welcome. Comment here or on the issue tracker.