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.

You chat Your AI tool Claude, ChatGPT, Cursor, … MCP MediaWiki MCP Server open source Runs next to your AI tool, on your own server, or hosted by us MediaWiki API signed in as you Your wiki nothing to install Your permissions and approval flows apply

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.”

Claude Code querying a wiki through the MediaWiki MCP Server.

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.

Your wiki's rules apply

Sign in with your own wiki account through OAuth 2.0, no token wrangling. Your wiki's permissions and approval flows apply, and every edit shows up in the page history under your name.

Run it your way

Run it locally alongside your AI tool, deploy it on your own server, or have us host it 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.

LibreChat querying Wikidata through the MediaWiki MCP Server.

For the full walkthrough, including importing into your own Wikibase, see Use Wikidata and Wikibase with AI.

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.

Hosted MCP Server

You do not have to run the MCP server yourself. Our managed MediaWiki hosting offers it as an add-on that runs right next to your wiki. Your content never passes through a third-party service.

Just a URL

Paste one endpoint into your AI tool. There is nothing to install, no tokens to copy around, and the same URL works for your whole team.

Your wiki's own login

Each person signs in with their own MediaWiki account. Their edits appear under their name in the page history, and your wiki's permissions decide what the AI can see and change.

We build it and we run it

We maintain the MediaWiki MCP Server itself and configure it for your wiki and its extensions. Fixes come from the same team that runs your wiki.

Open Source Project

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

119

stars on GitHub

46,000+

downloads

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, Wikibase, and more. From high-level strategic advice to configuring Single Sign-On, our experts help make your project a resounding success.

You can leverage our managed MediaWiki hosting, wiki software development services (for customizations), and MediaWiki AI tools.

Explore More

From Our Blogs