mcpField
M
MCP Mediawiki

MCP Mediawiki

Local
github.com/crunchtoolsMemory & Knowledge0Updated 2d ago

About MCP Mediawiki

MCP server for public or private MediaWiki sites, intended for users who search, maintain, or administer wiki content. It provides operations for pages, categories, files, users, and site information, including both read and write actions.

Key features

  1. 01Search and read wiki pages
  2. 02Create, edit, delete, or move pages
  3. 03Browse categories and recent changes
  4. 04Inspect users and contributions
  5. 05List files and retrieve file metadata
  6. 06Read site settings and namespaces

Use cases

  1. 01Find and review wiki content
  2. 02Update or reorganize wiki pages
  3. 03Review category membership and recent edits
  4. 04Retrieve wiki file details

MCP support

Exposes MediaWiki search and wiki-management tools to MCP clients, including page, category, user, file, and site-information operations. Write operations can use account credentials.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"crunchtools-mediawiki": {
"command": "uvx",
"args": [
"mcp-mediawiki-crunchtools"
]
}
}
}
Run commanduvx mcp-mediawiki-crunchtools

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypimcp-mediawiki-crunchtools0.1.2

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project 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

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

# 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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.