mcp-mediawiki-crunchtools
A secure MCP server for interacting with MediaWiki instances, allowing users to search, read, create, and manage wiki content like pages, categories, and files. It supports both public and private wikis with comprehensive authentication for full read and write operations.
README
mcp-mediawiki-crunchtools
Secure MCP server for MediaWiki wikis. Search, read, create, edit, and manage wiki pages, categories, files, and more. Works with any MediaWiki instance — public or private.
Installation
uvx (recommended)
uvx mcp-mediawiki-crunchtools
pip
pip install mcp-mediawiki-crunchtools
mcp-mediawiki-crunchtools
Container
podman run -e MEDIAWIKI_URL=https://en.wikipedia.org/w/ \
quay.io/crunchtools/mcp-mediawiki
Usage with Claude Code
Read-only (public wiki, no auth needed)
claude mcp add mcp-mediawiki-crunchtools \
--env MEDIAWIKI_URL=https://en.wikipedia.org/w/ \
-- uvx mcp-mediawiki-crunchtools
With authentication (for write operations)
claude mcp add mcp-mediawiki-crunchtools \
--env MEDIAWIKI_URL=https://your-wiki.com/w/ \
--env MEDIAWIKI_USERNAME=BotUser \
--env MEDIAWIKI_PASSWORD=BotPassword \
-- uvx mcp-mediawiki-crunchtools
HTTP transport (systemd / container)
podman run -d --name mcp-mediawiki \
-p 127.0.0.1:8016:8016 \
-e MEDIAWIKI_URL=https://your-wiki.com/w/ \
quay.io/crunchtools/mcp-mediawiki \
--transport streamable-http --host 0.0.0.0
Claude Code config:
{"type": "http", "url": "http://127.0.0.1:8016/mcp"}
Environment Variables
| Variable | Required | Description |
|---|---|---|
MEDIAWIKI_URL |
Yes | Wiki base URL (e.g., https://en.wikipedia.org/w/) |
MEDIAWIKI_USERNAME |
No | Bot/user account for write operations |
MEDIAWIKI_PASSWORD |
No | Bot/user password |
MEDIAWIKI_HTTP_USER |
No | HTTP Basic Auth username (.htaccess) |
MEDIAWIKI_HTTP_PASS |
No | HTTP Basic Auth password |
Tools (19)
| Category | Tool | Description |
|---|---|---|
| Pages | search |
Full-text search across wiki |
| Pages | get_page |
Get page wikitext content |
| Pages | get_page_html |
Parse page to HTML |
| Pages | list_pages |
List pages with prefix filter |
| Pages | create_page |
Create a new page |
| Pages | edit_page |
Edit an existing page |
| Pages | delete_page |
Delete a page |
| Pages | move_page |
Move/rename a page |
| Categories | list_categories |
List all categories |
| Categories | get_category_members |
Get pages in a category |
| Categories | get_page_categories |
Get categories for a page |
| Recent Changes | list_recent_changes |
List recent edits |
| Parsing | parse_wikitext |
Parse raw wikitext to HTML |
| Site Info | get_site_info |
Get wiki config and version |
| Site Info | list_namespaces |
List wiki namespaces |
| Users | get_user_info |
Get user details |
| Users | list_user_contributions |
List user edits |
| Files | get_file_info |
Get file/image metadata |
| Files | list_files |
List files on the wiki |
Development
# Install dev dependencies
uv sync --all-extras
# Quality gates
uv run ruff check src tests
uv run mypy src
uv run pytest -v
gourmand --full .
podman build -f Containerfile .
License
AGPL-3.0-or-later
<!-- mcp-name: io.github.crunchtools/mediawiki -->
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.