Skip to main content
Loss of provenance

A previous release had provenance metadata, but this release does not. View details.

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 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
MEDIAWIKI_ALLOW_HTTP No true permits plain http:// to a non-localhost wiki addressed by a private IP literal

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

Metadata

Release files for mcp-mediawiki-crunchtools 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Loss of provenance

These files do not have provenance metadata, despite files in a prior release including this data.

We recommend further investigation before installing these files. View details.

Source distribution (sdist)

Source distribution for mcp-mediawiki-crunchtools 0.5.0
File Size Uploaded Provenance Actions
mcp_mediawiki_crunchtools-0.5.0.tar.gz 213.8 kB Without provenance Details for mcp_mediawiki_crunchtools-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mcp-mediawiki-crunchtools 0.5.0
File Interpreter ABI Platform Actions
mcp_mediawiki_crunchtools-0.5.0-py3-none-any.whl Python 3 none any Details for mcp_mediawiki_crunchtools-0.5.0-py3-none-any.whl

Total release size: 248.9 kB

Release files / mcp_mediawiki_crunchtools-0.5.0.tar.gz

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL mcp_mediawiki_crunchtools-0.5.0.tar.gz
Size 213.8 kB
Tags Source
SHA-256 checksum
How to use checksums
295b1c1e14f55d387bf22a8c5a99e09da461932462f98fe540d8ecff077b425b
BLAKE2b-256 checksum
How to use checksums
144af19a39178b99a53815dc845a0834e11168a3214dbfe15323d43784188d98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Hummingbird OS","version":"20251124","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / mcp_mediawiki_crunchtools-0.5.0-py3-none-any.whl

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL mcp_mediawiki_crunchtools-0.5.0-py3-none-any.whl
Size 35.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac2e7374d5ffb30add381c47d410ffff36548cc74f71beb9c51ab75a4b5aaac8
BLAKE2b-256 checksum
How to use checksums
a2981aba4e409e6703386d25b806e33b2a56dbcb6bbd5d9be7af425afb077b56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Hummingbird OS","version":"20251124","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for mcp-mediawiki-crunchtools 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Loss of provenance

A previous release of these files had provenance metadata, but this release does not.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Release comparison

  • Removed 0.4.3 2 files With provenance
  • Added 0.5.0 2 files Without provenance

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page