MediaWiki MCP Server

by harugon

Integrations

  • Provides access to WikiData through the nodemw client, though with limited functionality as noted in the documentation.

  • Enables retrieval of MediaWiki page content, search functionality, category information, and internal link analysis from Wikipedia and other MediaWiki instances.

MediaWiki MCP Server

The MediaWiki MCP server provides a powerful set of tools for AI assistants like Claude to interact with your MediaWiki instance. It uses nodemw to communicate with the MediaWiki API to retrieve MediaWiki page content.

Key Features

  • Get page content : Get the HTML content and metadata of a wiki page
  • Wiki Search : Search for pages based on keywords
  • Get category information : Get the category information of a page
  • Link Analysis : Extracting internal links within a page

Prerequisites

  • Node.js 18 or higher
  • npm or yarn

How to use

install

Example of use in Claude settings

Example configuration in the Claude config file: claude_desktop_config.json

{ "mcpServers": { "mediawiki": { "command": "npm", "args": ["@harugon/mediawiki-mcp-server"], "env": { "MEDIAWIKI_PROTOCOL": "https", "MEDIAWIKI_SERVER": "ja.wikipedia.org", "MEDIAWIKI_PATH": "/w", "MEDIAWIKI_USER_AGENT": "MediaWiki-MCP-Server/1.0", "MEDIAWIKI_CONCURRENCY": "3", "DEBUG": "1" } } } }

Available Features

List of environment variables

Environment variable nameRequiredDefault valueexplanation
MEDIAWIKI_PROTOCOL×httpsCommunication protocol with the MediaWiki server
MEDIAWIKI_SERVER-The hostname of your MediaWiki server (e.g. ja.wikipedia.org)
MEDIAWIKI_PATH×/wMediaWiki paths
MEDIAWIKI_USERNAME×-Username for logging in
MEDIAWIKI_PASSWORD×-Login password
MEDIAWIKI_USER_AGENT×MediaWiki-MCP-Server/1.0User agent when making API requests
MEDIAWIKI_CONCURRENCY×3Limiting the number of simultaneous connections
DEBUG×0Debug mode (enabled at 1)

Known Issues

  • If the article is too large, it may fail to retrieve the page (requires chunking).
  • Depends on nodemw, so functionality is limited
-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A tool that enables AI assistants like Claude to interact with MediaWiki instances by retrieving page content, performing searches, and analyzing wiki information through the MediaWiki API.

  1. Key Features
    1. Prerequisites
      1. How to use
        1. install
        2. Example of use in Claude settings
      2. Available Features
        1. List of environment variables
          1. Known Issues
            1. link

              Related MCP Servers

              • -
                security
                A
                license
                -
                quality
                Enables AI assistants to perform up-to-date web searches through the Tavily API, providing comprehensive search results with AI-generated summaries.
                Last updated -
                5
                JavaScript
                MIT License
              • -
                security
                A
                license
                -
                quality
                A server that connects Claude to your documentation via Inkeep's API, enabling AI-powered interactions with your documentation content.
                Last updated -
                5
                Python
                MIT License
                • Apple
                • Linux
              • A
                security
                A
                license
                A
                quality
                An interface that enables Claude AI to interact with the esa API for searching, creating, and updating documents through the Model Context Protocol.
                Last updated -
                10
                194
                3
                JavaScript
                MIT License
                • Linux
                • Apple
              • A
                security
                A
                license
                A
                quality
                A server implementation for interacting with Wikidata API using the Model Context Protocol, providing tools for searching identifiers, extracting metadata, and executing SPARQL queries.
                Last updated -
                5
                8
                Python
                MIT License

              View all related MCP servers

              ID: 61doy9xyw7