MediaWiki-MCP-Server
by ProfessionalWiki·★ 93·Score 49
MCP server connecting AI with MediaWiki wikis through tools and resources for reading and writing content.
Overview
MediaWiki MCP Server provides comprehensive tools for interacting with any MediaWiki instance, including Wikipedia. It supports reading pages, categories, files, recent changes, and page history, as well as writing capabilities like creating/updating/deleting pages and files. The server implements robust authentication through OAuth and bot passwords, with special support for MediaWiki extensions like Cargo, Semantic MediaWiki, and Bucket. It can handle multiple wikis dynamically and provides thorough documentation for configuration, deployment, and operations.
Try asking AI
After installing, here are 3 things you can ask your AI assistant:
When to choose this
Choose this server when you need to integrate AI with MediaWiki instances for content management, especially when working with specialized MediaWiki extensions like Cargo or Semantic MediaWiki.
When NOT to choose this
Avoid this if you need to interact with non-MediaWiki wikis or if your use case requires extensive write operations without proper authentication setup.
Tools this server exposes
12 tools extracted from the READMEcompare-pagesDiff two versions of a wiki page by revision, title, or supplied wikitext.
get-pageFetch a wiki page.
search-pageSearch wiki page titles and contents.
create-pageCreate a new wiki page.
update-pageUpdate an existing wiki page.
get-recent-changesList recent change events across the wiki.
add-wikiAdd a wiki as an MCP resource from its URL.
set-wikiSet the active wiki for the current session.
cargo-queryRun a Cargo extension SQL-style query.
smw-queryRun a Semantic MediaWiki #ask query.
get-page-historyList recent revisions of a wiki page.
parse-wikitextRender wikitext to HTML without saving.
Comparable tools
Installation
Installation
Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"mediawiki-mcp-server": {
"command": "npx",
"args": [
"@professional-wiki/mediawiki-mcp-server@latest"
],
"env": {
"CONFIG": "path/to/config.json"
}
}
}
}Other Clients
The repository provides specific installation instructions for:
- VS Code
- Cursor
- Windsurf
- Claude Code
- Gemini CLI
Each client has its own specific configuration requirements and setup process.
Compare MediaWiki-MCP-Server with
Last updated · Auto-generated from public README + GitHub signals.