MCP.so
Sign In

MediaWiki MCP Server 🚀

@shiquda

About MediaWiki MCP Server 🚀

A MCP server that allows you to search and retrieve content on any wiki site using MediaWiki with LLMs 🤖 wikipedia.org, fandom.com, wiki.gg and more sites using Mediawiki are supported!

Basic information

Category

Memory & Knowledge

Runtime

python

Transports

stdio

Publisher

shiquda

Submitted by

shiquda

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mediawiki-mcp-server": {
      "command": "uvx",
      "args": [
        "mediawiki-mcp-server",
        "--base-url",
        "https://example.com/"
      ],
      "env": {
        "HTTP_PROXY": "http://example.com:port"
      }
    }
  }
}

Tools

2

Search for a wiki page. The shorter the request, the better, preferably containing only the main term to be searched. Args: query: The query to search for limit: The number of results to return Returns: A list of pages that match the query

Get a page from mediawiki.org Args: title: The title of the page to get, which can be found in title field of the search results Returns: The page content

Overview

What is MediaWiki MCP Server?

An MCP server that provides seamless interaction with Wikipedia’s API, allowing you to search and retrieve Wikipedia content with LLMs.

How to use MediaWiki MCP Server?

Install uv, then configure your MCP client with uvx mediawiki-mcp-server. Set --base-url to the wiki site’s endpoint (defaults to https://en.wikipedia.org/w/). Available transports are stdio (default), streamable-http (port 8000), and SSE. Run uvx mediawiki-mcp-server --help for all options.

Key features of MediaWiki MCP Server

  • Search wiki pages with customizable wiki sites.
  • Retrieve detailed page content.
  • Supports any MediaWiki-based site (e.g., Wikipedia, Fandom, wiki.gg).
  • Multiple transport options: stdio, HTTP, SSE.
  • Configurable via command-line arguments.

Use cases of MediaWiki MCP Server

  • Add Wikipedia search capability to a chatbot or virtual assistant.
  • Retrieve full article text for summarization or question-answering.
  • Search across custom MediaWiki wikis (e.g., internal documentation).
  • Integrate wiki content extraction into agentic workflows.
  • Power knowledge-base lookup for LLM-powered tools.

FAQ from MediaWiki MCP Server

What does this server do?

It enables LLMs to search and retrieve content from any MediaWiki site (e.g., Wikipedia) by exposing two MCP tools: search and get_page.

How do I use a different wiki site?

Set the --base-url argument to the site’s API endpoint. Most MediaWiki endpoints follow base-url/rest.php/v1/page. Check by navigating to that URL in a browser.

What runtimes or dependencies are required?

Python 3.13 and the uv package manager. The server is run via uvx mediawiki-mcp-server.

Is this server outdated?

The README notes that this repository is outdated and directs users to ProfessionalWiki/MediaWiki-MCP-Server instead.

What transport options are available?

stdio (default), streamable-http (start with --http), and SSE (start with --sse). The default HTTP port is 8000.

Comments

More Memory & Knowledge MCP servers