MCP Server for MediaWiki
MediaWiki is the popular open-source software that powers Wikipedia. It is used by organizations for diverse use cases from internal knowledge management to publishing user guides.
The Model Context Protocol (MCP) is a modern standard for AI applications like, e.g., ChatGPT, Cursor, and Claude to integrate with external data sources and tools.
With the MediaWiki MCP Server, you can connect LLM chatbots and AI applications to your wiki. Create, edit, or summarize pages by prompting your AI tool. Your wiki becomes a source your AI can both read from and write to.
Example: “Hey Claude, create a new vendor page for each row in this spreadsheet using the Vendor template.”
Capabilities
The MediaWiki MCP Server gives your AI tool a rich set of actions for working with your wiki.
Fetch pages, files, revisions, and history. Search by title or full text, preview wikitext, and compare any two revisions.
Create pages, edit or append individual sections, upload files, and delete or restore pages.
Follow links between pages, browse category members, and track recent changes across your wiki.
Use several wikis at once. Pull content from Wikipedia into your own wiki, set a default, and mark wikis read-only.
Sign in through your browser with OAuth 2.0, no token wrangling. Required for edits and for reading private wikis.
Run it locally alongside your AI tool, or deploy it as a remote HTTP service for your whole team.
These are the highlights. See the full list of tools in the documentation on GitHub.
Query your structured data
Beyond reading and editing pages, the MediaWiki MCP Server has dedicated tools for structured data.
Semantic MediaWiki
Semantic MediaWiki (SMW) turns your wiki into a queryable database. The server lets your AI run #ask queries and discover the properties your wiki uses.
Bucket and Cargo
Bucket and Cargo are other structured-data extensions for MediaWiki. Let your AI run Bucket Lua queries and Cargo SQL-style queries.
See all structured-data tools in the documentation on GitHub.
Works with your AI tools
Because it speaks the standard Model Context Protocol, the server works with any MCP client, including ChatGPT and Claude. Published on npm, it sets up in one step in Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, and Gemini CLI.
Commercial Support
Get started quickly with MediaWiki and AI.
Commission the experts of Professional Wiki.
We enhance your wiki with MediaWiki chatbots, RAG, local LLMs, MCP servers, Semantic MediaWiki, and more. From high-level strategic advice to configuring Single Sign-On, our experts help make your project a resounding success. On request, we deploy and host the MCP server for you, with secure authentication and remote access set up for your team.
You can leverage our managed MediaWiki hosting, wiki software development services (for customizations), and MediaWiki AI tools.
Explore More
A chatbot widget for your wiki that answers questions with source citations. Permission-aware and compatible with Claude and ChatGPT.
Explore all our AI integrations for MediaWiki, from natural language queries and writing assistants to workflow automation.
Explore our products and tools for MediaWiki, including hosting, AI, and open-source extensions.