mediawiki_searchLABSCO SUMMARY
Reading is open; writing is what needs a bot password.
Public wikis answer without any login, so pointing it at Wikipedia takes only the API URL. The full reference covers 43 tools by category, and every operation is also a wiki command with typed exit codes — useful when you'd rather put a broken-link check in CI than ask for it in a chat.
What it is
A Go binary that talks to any MediaWiki installation's api.php. The same API client backs three surfaces: an MCP server, a wiki command-line tool, and a Claude Code plugin.
What you get
- Search and read pages, including pulling several pages' content in one request
- Quality checks a wiki doesn't give you: broken links on a page, orphaned pages nothing links to, pages not updated in the last N days, and pages similar to a given one
- A whole-wiki health audit, returned as JSON when you want to act on the result
- Editing once you authenticate — rename a page, find-and-replace inside one, publish a Markdown file as a wiki page
- File uploads from a URL or from local bytes the agent base64-encodes, plus text search inside uploaded files
- Markdown converted to wiki format, optionally with a theme and CSS
- Change tracking — what was updated this week, diffs between versions, who has been editing most
Requirements
Your wiki's API endpoint in MEDIAWIKI_URL — usually https://your-wiki.com/api.php; Wikipedia is https://en.wikipedia.org/w/api.php. Reading a public wiki needs nothing else; private wikis and any editing need a bot password in MEDIAWIKI_USERNAME and MEDIAWIKI_PASSWORD. Take a binary from Releases, run the ghcr.io/olgasafonova/mediawiki-mcp-server:1.28.0 image, or build with Go 1.24+. PDF search additionally needs pdftotext from poppler-utils.
Setup effort
Build from source — git clone https://github.com/olgasafonova/mediawiki-mcp-server.git
USE CASES
Finding what your team wiki already says
Search across the wiki and read the pages that match, instead of clicking through the category tree.
Cleaning up a wiki nobody has maintained
Find broken links, orphaned pages and anything untouched for 90 days, then get the same answer as JSON to work through.
Publishing documentation you wrote in Markdown
Convert the file to wiki markup and publish it under the page title you choose.
Making a wording change across a page
Find and replace inside a specific page — striking out a departed colleague's name, or bumping a version string.
43 tools
Listed in project docs. Your client may show a different list.
mediawiki_get_pagemediawiki_get_sectionsmediawiki_get_relatedmediawiki_get_imagesmediawiki_list_pagesmediawiki_list_categoriesmediawiki_get_category_membersmediawiki_get_page_infomediawiki_get_wiki_infomediawiki_list_usersmediawiki_parsemediawiki_get_page_summarymediawiki_batch_get_pagesmediawiki_batch_get_pages_infomediawiki_search_and_readmediawiki_get_external_linksmediawiki_get_external_links_batchmediawiki_check_linksmediawiki_find_broken_internal_linksmediawiki_get_backlinksmediawiki_check_terminologymediawiki_check_translationsmediawiki_find_orphaned_pagesmediawiki_auditmediawiki_get_stale_pagesmediawiki_find_similar_pagesmediawiki_compare_topicmediawiki_get_revisionsmediawiki_compare_revisionsmediawiki_get_user_contributionsmediawiki_get_recent_changesmediawiki_find_replacemediawiki_apply_formattingmediawiki_bulk_replacemediawiki_search_in_pagemediawiki_resolve_titlemediawiki_edit_pagemediawiki_upload_filemediawiki_move_pagemediawiki_manage_categoriesmediawiki_search_in_filemediawiki_convert_markdownBEFORE YOU INSTALL
What to know first
Tools you get
43 tools named in the project's documentation.
Requires
- The mediawiki-mcp-server binary from Releases, or Go 1.24+ to build it
- Your wiki's API URL (MEDIAWIKI_URL)
Where it runs
All 3 documented clients run the server on your machine.
INSTALLATION
Connect your client
Server setup
Download the binary for your platform (for example mediawiki-mcp-server-linux or mediawiki-mcp-server-mac-apple-silicon) from https://github.com/olgasafonova/mediawiki-mcp-server/releases — or build it yourself with Go 1.24+:
git clone https://github.com/olgasafonova/mediawiki-mcp-server.git
cd mediawiki-mcp-server
go build -o mediawiki-mcp-server .MCP Clients
Claude Desktop, Claude Code, Other MCP clients
{
"mcpServers": {
"mediawiki": {
"command": "mediawiki-mcp-server",
"env": {
"MEDIAWIKI_URL": ""
}
}
}
}Set MEDIAWIKI_URL to your wiki's API endpoint — usually https://your-wiki.com/api.php; Wikipedia is https://en.wikipedia.org/w/api.php. "command" must name the binary you downloaded or built: put it on your PATH as mediawiki-mcp-server, or use its full path. Reading a public wiki needs no login; a private wiki or editing needs a bot password.