MediaWiki MCP Server

Let AI access your wiki

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.

Read and search

Fetch pages, files, revisions, and history. Search by title or full text, preview wikitext, and compare any two revisions.

Create and edit

Create pages, edit or append individual sections, upload files, and delete or restore pages.

Navigate and explore

Follow links between pages, browse category members, and track recent changes across your wiki.

Connect multiple wikis

Use several wikis at once. Pull content from Wikipedia into your own wiki, set a default, and mark wikis read-only.

Secure access

Sign in through your browser with OAuth 2.0, no token wrangling. Required for edits and for reading private wikis.

Run it your way

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.

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.

Open Source Project

MediaWiki MCP Server is an open-source project led by Professional Wiki. It is released under the MIT license, and we welcome contributions on GitHub. We presented it at MUDCon.

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