MCP Mediawiki

io.github.crunchtoolsPublished by GitHub account crunchtoolsv0.1.2Updated Oct 24, 2026

Secure MCP server for MediaWiki wikis — search, pages, categories, and more

VerifiedSTDIODesktop onlyFiles & StorageKnowledge & Memory

Overview

AI-generated overview

Local MCP server that lets an assistant search, read, create, edit and manage pages, categories, files and users on any MediaWiki wiki.

What you can do
Search, read and list wiki pages, including wikitext and parsed HTML, plus site info and namespaces and recent changes lists. Create, edit, delete and move pages. Browse categories and their members, and see which categories a page belongs to. Look up users and their contributions. Inspect file and image metadata and list files on the wiki.
When to use it
Useful when you want an assistant to research or maintain content on a MediaWiki wiki, such as Wikipedia or a private company wiki, from read-only lookups to bot-style page edits.
Requirements
Runs locally as a Python package (uvx or pip) or a container. Requires the MEDIAWIKI_URL environment variable pointing at the wiki's base URL. Write operations need MEDIAWIKI_USERNAME and MEDIAWIKI_PASSWORD; private wikis behind HTTP Basic Auth need MEDIAWIKI_HTTP_USER and MEDIAWIKI_HTTP_PASS. Network access to the wiki is required.
Before you install
With credentials configured, the assistant can create, edit, delete and move pages, which changes live wiki content and may be publicly visible or hard to undo. Credentials are passed as environment variables (MEDIAWIKI_PASSWORD, MEDIAWIKI_HTTP_PASS); use a dedicated bot account with limited rights rather than a personal one. All requests go to the configured wiki server.

Installation

In SourceWeft

  1. Open MCP Mediawiki in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

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)

bash
uvx mcp-mediawiki-crunchtools

pip

bash
pip install mcp-mediawiki-crunchtoolsmcp-mediawiki-crunchtools

Container

bash
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)

bash
claude mcp add mcp-mediawiki-crunchtools \  --env MEDIAWIKI_URL=https://en.wikipedia.org/w/ \  -- uvx mcp-mediawiki-crunchtools

With authentication (for write operations)

bash
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)

bash
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:

json
{"type": "http", "url": "http://127.0.0.1:8016/mcp"}

Environment Variables

VariableRequiredDescription
MEDIAWIKI_URLYesWiki base URL (e.g., https://en.wikipedia.org/w/)
MEDIAWIKI_USERNAMENoBot/user account for write operations
MEDIAWIKI_PASSWORDNoBot/user password
MEDIAWIKI_HTTP_USERNoHTTP Basic Auth username (.htaccess)
MEDIAWIKI_HTTP_PASSNoHTTP Basic Auth password

Tools (19)

CategoryToolDescription
PagessearchFull-text search across wiki
Pagesget_pageGet page wikitext content
Pagesget_page_htmlParse page to HTML
Pageslist_pagesList pages with prefix filter
Pagescreate_pageCreate a new page
Pagesedit_pageEdit an existing page
Pagesdelete_pageDelete a page
Pagesmove_pageMove/rename a page
Categorieslist_categoriesList all categories
Categoriesget_category_membersGet pages in a category
Categoriesget_page_categoriesGet categories for a page
Recent Changeslist_recent_changesList recent edits
Parsingparse_wikitextParse raw wikitext to HTML
Site Infoget_site_infoGet wiki config and version
Site Infolist_namespacesList wiki namespaces
Usersget_user_infoGet user details
Userslist_user_contributionsList user edits
Filesget_file_infoGet file/image metadata
Fileslist_filesList files on the wiki

Development

bash
# Install dev dependenciesuv sync --all-extras
# Quality gatesuv run ruff check src testsuv run mypy srcuv run pytest -vgourmand --full .podman build -f Containerfile .

License

AGPL-3.0-or-later

Source: README.md at commit a0ee98d

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.2LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts