mcp-mediawiki-crunchtools
This MCP server provides secure access to any MediaWiki wiki for searching, reading, and—with authentication—editing content and metadata.
Search the wiki full-text and filter by namespace/limit.
Read page wikitext or parsed HTML by title.
List pages with prefix, namespace, and pagination filters.
Create, edit, delete, and move pages (write tools require authentication; deletion requires admin auth).
List categories and inspect category members or a page’s categories.
View recent changes with filters for namespace, type, tag, and timestamp.
Parse arbitrary wikitext into HTML.
Retrieve site configuration, version info, and namespaces.
Look up user details and list user contributions.
Get file/image metadata and list files with prefix or MIME-type filters.
Enables searching, reading, creating, and editing wiki pages, categories, and files on Wikipedia and other MediaWiki-based platforms.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-mediawiki-crunchtools Find the 'DevOps' page and summarize the introduction."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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-crunchtoolspip
pip install mcp-mediawiki-crunchtools
mcp-mediawiki-crunchtoolsContainer
podman run -e MEDIAWIKI_URL=https://en.wikipedia.org/w/ \
quay.io/crunchtools/mcp-mediawikiRelated MCP server: requarks-wiki-mcp
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-crunchtoolsWith 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-crunchtoolsHTTP 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.0Claude Code config:
{"type": "http", "url": "http://127.0.0.1:8016/mcp"}Environment Variables
Variable | Required | Description |
| Yes | Wiki base URL (e.g., |
| No | Bot/user account for write operations |
| No | Bot/user password |
| No | HTTP Basic Auth username (.htaccess) |
| No | HTTP Basic Auth password |
| No |
|
Tools (19)
Category | Tool | Description |
Pages |
| Full-text search across wiki |
Pages |
| Get page wikitext content |
Pages |
| Parse page to HTML |
Pages |
| List pages with prefix filter |
Pages |
| Create a new page |
Pages |
| Edit an existing page |
Pages |
| Delete a page |
Pages |
| Move/rename a page |
Categories |
| List all categories |
Categories |
| Get pages in a category |
Categories |
| Get categories for a page |
Recent Changes |
| List recent edits |
Parsing |
| Parse raw wikitext to HTML |
Site Info |
| Get wiki config and version |
Site Info |
| List wiki namespaces |
Users |
| Get user details |
Users |
| List user edits |
Files |
| Get file/image metadata |
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
Available Tools
19 toolscreate_page_toolCreate Page ToolC
Create a new wiki page. Requires authentication.
Inputs: title (required), content (required), summary. Returns: object
delete_page_toolDelete Page ToolB
Delete a wiki page. Requires admin authentication.
Inputs: title (required), reason. Returns: object
edit_page_toolEdit Page ToolC
Edit an existing wiki page. Requires authentication.
Inputs: title (required), content (required), minor, summary. Returns: object
get_category_members_toolGet Category Members ToolCRead-only
Get pages in a category.
Inputs: category (required), limit, member_type, continue_from. Returns: object
get_file_info_toolGet File Info ToolBRead-only
Get file/image metadata from the wiki.
Inputs: filename (required). Returns: object
get_page_categories_toolGet Page Categories ToolBRead-only
Get categories that a page belongs to.
Inputs: title (required), limit, show_hidden. Returns: object
get_page_html_toolGet Page Html ToolCRead-only
Parse a wiki page to HTML.
Inputs: title (required). Returns: object
get_page_toolGet Page ToolBRead-only
Get page wikitext content by title.
Inputs: title (required). Returns: object
get_site_info_toolGet Site Info ToolARead-only
Get wiki configuration and version info.
Inputs: no named parameters. Returns: object
get_user_info_toolGet User Info ToolCRead-only
Get user details from the wiki.
Inputs: username (required). Returns: object
list_categories_toolList Categories ToolCRead-only
List all categories on the wiki.
Inputs: limit, prefix, from_name. Returns: object
list_files_toolList Files ToolCRead-only
List files on the wiki.
Inputs: limit, prefix, from_name, mime_type. Returns: object
list_namespaces_toolList Namespaces ToolARead-only
List all namespaces on the wiki.
Inputs: no named parameters. Returns: object
list_pages_toolList Pages ToolBRead-only
List wiki pages with optional prefix filter.
Inputs: limit, prefix, namespace, from_title. Returns: object
list_recent_changes_toolList Recent Changes ToolCRead-only
List recent edits on the wiki.
Inputs: tag, limit, namespace, change_type, +1 more. Returns: object
list_user_contributions_toolList User Contributions ToolCRead-only
List edits by a user.
Inputs: username (required), limit, namespace, from_timestamp. Returns: object
move_page_toolMove Page ToolC
Move (rename) a wiki page. Requires authentication.
Inputs: to_title (required), from_title (required), reason, move_talk, +1 more. Returns: object
parse_wikitext_toolParse Wikitext ToolCRead-only
Parse raw wikitext to HTML.
Inputs: wikitext (required), title. Returns: object
search_toolSearch ToolCRead-only
Full-text search across the wiki.
Inputs: query (required), limit, namespace. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Each tool targets a distinct resource+action pair (pages, categories, files, users, search, namespaces), so misselection is unlikely. The only fuzzy boundary is between get_page_html_tool (renders a page by title) and parse_wikitext_tool (renders raw wikitext), which sound similar until you read the input difference. get_page_tool vs get_page_html_tool is also a subtle distinction but handled by descriptions.
Every tool follows the same verb_noun_tool pattern (list_, get_, create_, edit_, delete_, move_, parse_) in consistent snake_case with a uniform _tool suffix. Pluralization for list operations (list_pages, list_files, list_categories) is applied predictably. No mixed conventions.
19 tools is slightly heavy but each one maps to a meaningful MediaWiki operation across pages, categories, files, users, and search. There is very little redundancy — nothing overlaps enough to be pruned. It sits near the upper edge of comfortable scoping for a single wiki API.
Page lifecycle is fully covered (list/get/create/edit/delete/move), but revision history and diffs are entirely absent, which is a core wiki workflow. Files and categories are read-only — no upload/delete file, no add/remove category from a page — leaving agents to dead-end on those write paths. User tooling is also read-only.
Maintenance
Related MCP Connectors
Read-only MCP for the Eco game wiki: search, Markdown pages, and wiki_* lookups. No keys, no writes.
Read and write your team's shared, AI-readable wiki from any MCP client.
Hosted MCP server for Obsidian Sync vaults: read, search, edit notes. Not affiliated with Obsidian.
Related MCP Servers
- AlicenseAqualityAmaintenanceMCP server for MediaWiki wikis. Search, read, edit, and manage wiki content from AI assistants. Includes formatting, link checking, revision history, and markdown conversion.4323MIT
- AlicenseAqualityDmaintenanceAn MCP server that enables AI agents to interact with Wiki.js as a knowledge base through a comprehensive set of 29 tools for content retrieval and management. It supports full-text search, page versioning, and asset browsing with optional write operations secured by safety gates.2966 npm8MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables full management of WikiJS instances, supporting operations like page creation, searching, and updating. It also provides tools for knowledge graph exploration, content summarization, and retrieval of wiki statistics.19 npmMIT
- AlicenseAqualityBmaintenanceAn MCP server for MediaWiki instances with multi-wiki support, providing full read/write access via REST and Action APIs across multiple named wikis.2198 npm3MIT