MediaWiki MCP Server

Model Context Protocol (MCP) server for MediaWiki

Remote serverstreamable-httpGo

What is the MediaWiki MCP Server?

Model Context Protocol (MCP) server for MediaWiki

What the server does

An MCP (Model Context Protocol) server that enables Large Language Model (LLM) clients to interact with any MediaWiki wiki.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
compare-pagesDiff two versions of a wiki page by revision, title, or supplied wikitext.
get-category-membersList members of a category (up to 500 per call, paginated via continueFrom).
get-fileFetch a file page.
get-file-dataFetch a file's image bytes inline (base64) for visual analysis — for clients that can't reach the wiki host. Returns a scaled rendition (set width); non-rendera
get-links-hereList pages that reference a wiki page — pages that link to it, embed it as a template, or display it as a file (select via type), including pages that reach it
get-pageFetch a wiki page.
get-page-historyList recent revisions of a wiki page.
get-pagesFetch multiple wiki pages in one call (up to 50).
get-recent-changesList recent change events across the wiki, filterable by timestamp, namespace, user, tag, type, and hide flags (up to 50 per call, paginated via continue).
get-revisionFetch a specific revision of a page.
get-site-infoGet a wiki's key settings: MediaWiki version, content language, title-case rules, namespaces, installed extensions, license, and (optionally) statistics.
list-wikisList every configured wiki — its key, sitename, server, whether it is read-only or the default, whether it is reachable, which extension-gated tools work on it,
parse-wikitextRender wikitext to HTML without saving. Returns parse warnings, wikilinks, templates, and external URLs.
search-pageSearch wiki page titles and contents (full-text). Searches the wiki's content namespaces unless given other namespace IDs.
search-page-by-prefixSearch page titles by prefix.
whoamiReport the identity the current session is authenticated as on the targeted wiki — username, whether it is anonymous, and group memberships (optionally user rig
add-wikiAdd a wiki as an MCP resource from its URL. Disabled when allowWikiManagement is false.
remove-wikiRemove a wiki resource. Disabled when allowWikiManagement is false or fewer than two wikis are configured.
oauth-logoutRemove stored OAuth tokens. Stdio only.
oauth-statusList stored OAuth tokens with scopes and expiry (no token values). Stdio only.
neowiki-list-schemasList schemas (entity types) and their property counts.
neowiki-get-schemaGet one schema's property definitions, relations, and select options.
neowiki-cypher-queryRun a read-only Cypher query against the knowledge graph.
neowiki-search-subjectsFind subject IDs by label within a schema.
neowiki-get-subjectFetch one subject's structured data by ID.
neowiki-get-page-subjectsList the subjects attached to a wiki page.
neowiki-create-subjectCreate a subject (child or main) on a page. Requires the edit right.
neowiki-update-subjectReplace a subject's label and statements. Requires the edit right.
neowiki-delete-subjectDelete a subject by ID. Requires the edit right.
neowiki-set-main-subjectSet or clear a page's main subject. Requires the edit right.
neowiki-validate-subjectDry-run validate a proposed subject and return violations.
smw-list-propertiesList Semantic MediaWiki properties with copy-paste templates for smw-query.
smw-queryRun a Semantic MediaWiki ask query.
bucket-queryRun a Bucket Lua query.
cargo-list-tablesList Cargo tables defined on the wiki.
cargo-describe-tableList a Cargo table's fields with their types and list-flags.
cargo-queryRun a Cargo SQL-style query.
wikibase-search-entitiesFind items and properties by label or alias.
wikibase-get-entityRead one entity's terms and statements, with referenced IDs resolved to labels.
wikibase-queryRun a SPARQL query against the wiki's query service. Offered only for a repository whose siteinfo publishes one.
wikibase-edit-entityCreate or change an entity from Wikibase entity JSON. Requires the edit right.
wikibase-add-statementAdd one statement with an item, string, external-id or url value. Requires the edit right.

How to install the MediaWiki MCP Server

{
  "mcpServers": {
    "mediawiki-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@professional-wiki/mediawiki-mcp-server@latest"
      ],
      "env": {
        "CONFIG": "path/to/config.json"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
CONFIGDeclared in the maintainer’s client configuration.Yes

Example prompts to try

  • “Use MediaWiki to Tools.”
  • “Use MediaWiki to OAuth.”
  • “Use MediaWiki to Resources.”

Frequently asked questions

Model Context Protocol (MCP) server for MediaWiki Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.