SuperAPIAI Directory

mediawiki-mcp-server

github.com · AI developer platforms

Connect to any MediaWiki wiki (Wikipedia, Fandom, corporate wikis) to search, read and edit pages, analyze links, view revision history and convert to Markdown.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux · API

About this tool

MediaWiki MCP Server is an MCP server developed in Go, designed to connect AI assistants or terminal scripts to any MediaWiki wiki, including Wikipedia, Fandom, enterprise wikis, and other MediaWiki installations. It allows users to search, read, and edit wiki content through natural language or the command line.

Main Uses

  • Let AI assistants (such as Claude Desktop, Claude Code, Cursor, ChatGPT, n8n, VS Code, Google ADK, and other MCP-compatible tools) interact directly with wikis.
  • Script wiki operations directly in the terminal without AI involvement, suitable for shell pipelines, CI checks, scheduled tasks, and similar scenarios.
  • As a Claude Code plugin, add wiki skills to Claude Code via /plugin marketplace add olgasafonova/mediawiki-mcp-server .

Main Capabilities

The tool provides the same operations through MCP prompts or the wiki CLI, covering the following features (see TOOLS.md for the full tool list):

Search and Read:

  • Query wiki content on a specific topic (e.g., "What does our wiki say about deployment?")
  • Get a quick overview or the full content of a page
  • Get the content of multiple pages at once
  • View pages updated this week
  • Show the diff between the two most recent revisions
  • Count the most active editors this month
  • Check for broken links on a page
  • Find orphan pages (pages with no links pointing to them)
  • Find pages similar to a specified page
  • Find pages not updated in over 90 days

Page Management (requires authentication):

  • Rename pages
  • Strike through someone's name on a team page
  • Replace text in release notes

File Upload and Search (requires authentication):

  • Upload images to the wiki from a URL
  • Upload local files (the agent performs base64 encoding, no public URL needed)
  • Search for keywords within PDF files (requires the pdftotext tool from poppler-utils; searching text files such as TXT, MD, CSV requires no dependency)

Markdown Conversion:

  • Convert README to wiki format
  • Convert using a specified theme and CSS (e.g., theme="tieto", add_css=true)

Usage

  1. Get the binary: Download from Releases, or build using go build -o mediawiki-mcp-server . (requires Go 1.24+).
  2. Determine the wiki API URL: usually https://your-wiki.com/api.php; for Wikipedia it is https://en.wikipedia.org/w/api.php. Confirm via Special:Version.
  3. Configure to AI tool: Refer to the corresponding client configuration instructions in SETUP.md.
  4. Authentication notes: Reading public wikis requires no login; private/enterprise wikis and editing operations require a bot password, see SETUP.md#editing-wiki-pages for details.

Applicable scenarios

  • Content editors: quickly search, update, and organize wiki content.
  • Documentation managers: monitor page updates, check for broken links, discover orphaned pages, and maintain documentation timeliness.
  • Developers: check wiki links in CI pipelines and perform batch operations on wiki pages via scripts.
  • Enterprise teams: connect to internal wikis and efficiently manage and query knowledge bases through AI assistants or the command line.

Limitations

  • PDF search requires the pdftotext tool from poppler-utils; Windows users can download the binary from poppler-windows releases and add it to PATH.
  • Reading private wikis and all editing operations require a bot password.
  • Building requires Go 1.24+.

Other information

The project provides detailed documentation, including SETUP.md (configuration and troubleshooting), CLI.md (command-line usage), TOOLS.md (tool list), WIKI_USE_CASES.md (workflows by role), DEPLOYMENT.md (deployment and health check endpoints), etc. The HTTP server exposes /health, /ready, and /status endpoints for diagnostics. Integration tests run against a real MediaWiki instance via docker-compose.test.yml. The project is built using the Go MCP SDK and is based on the MediaWiki API.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools