Skip to main content
Glama
wikimedia

wikimedia

by RapidMCP

Wikimedia MCP Server

A Model Context Protocol (MCP) server for interacting with Wikimedia APIs. Access Wikipedia and other Wikimedia project content programmatically with natural language queries.

Features

  • Search Content: Full-text search across Wikimedia page content

  • Search Titles: Search page titles with autocomplete suggestions

  • Get Page: Retrieve page content, title, URL and metadata

  • Language Versions: Find versions of a page in other languages

  • Featured Content: Get featured articles, most read pages, and pictures of the day

  • Historical Events: Get events, births, deaths, and holidays for any date

Related MCP server: Wikipedia MCP Server

Requirements

  • Python 3.12+

  • uv package manager

  • MCP server framework

Security

  • All user inputs are validated

  • No sensitive data or credentials required

  • Rate limiting handled by Wikimedia API

  • Error messages don't expose internal details

Installation

Claude Desktop Configuration

On MacOS:

~/Library/Application Support/Claude/claude_desktop_config.json

On Windows:

C:\Users\<username>\AppData\Roaming\Claude\claude_desktop_config.json

Development Configuration

{
  "mcpServers": {
    "wikimedia": {
      "command": "uv",
      "args": [
        "--directory",
        "C:\\MCP\\server\\community\\wikimedia",
        "run",
        "wikimedia"
      ]
    }
  }
}

Published Configuration

{
  "mcpServers": {
    "wikimedia": {
      "command": "uvx",
      "args": [
        "wikimedia"
      ]
    }
  }
}

Tools

search_content

Full-text search across Wikimedia page content. Returns snippets matching the query.

  • query (required): Search term

  • limit (1-50, default 10): Number of results

  • project (default "wikipedia"): Wikimedia project

  • language (default "en"): Language code

search_titles

Search Wikimedia page titles starting with the query. Returns suggestions with descriptions.

  • query (required): Search prefix

  • limit (1-100, default 10): Number of results

  • project (default "wikipedia"): Wikimedia project

  • language (default "en"): Language code

get_page

Get Wikimedia page content, title, URL and last modified date.

  • title (required): Page title

  • project (default "wikipedia"): Wikimedia project

  • language (default "en"): Language code

get_languages

Get versions of a Wikimedia page in other languages.

  • title (required): Page title

  • project (default "wikipedia"): Wikimedia project

  • language (default "en"): Language code

Get featured Wikimedia content for a date. Returns featured article, most read pages, and picture of the day.

  • date (YYYY/MM/DD, default today): Date to get content for

  • project ("wikipedia" only): Must be Wikipedia

  • language (en/de/fr/es/ru/ja/zh): Supported languages

get_on_this_day

Get historical events from Wikimedia for a date.

  • date (MM/DD, default today): Date to get events for

  • type (default "all"): Event type - all/selected/births/deaths/holidays/events

  • project ("wikipedia" only): Must be Wikipedia

  • language (en/de/fr/es/ru/ja/zh): Supported languages

Example Usage

# Search for content about "artificial intelligence"
result = await client.call_tool("search_content", {
    "query": "artificial intelligence",
    "limit": 5,
    "language": "en"
})

# Get today's featured content
result = await client.call_tool("get_featured", {
    "language": "en"
})

# Get historical events for January 1st
result = await client.call_tool("get_on_this_day", {
    "date": "01/01",
    "type": "all",
    "language": "en"
})

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

License

MIT License. See LICENSE file for details.

Available Tools

6 tools
get_languagesB

Get versions of a Wikimedia page in other languages. Parameters: title (required), project (e.g., 'wikipedia'), language (e.g., 'en')

Inputs: title (required), project, language.

get_on_this_dayA

Get historical events from Wikimedia for a date. Parameters: date (MM/DD, default today), type (all/selected/births/deaths/holidays/events), project ('wikipedia' only), language (en/de/fr/es/ru/ja/zh)

Inputs: date, type, project, language.

get_pageC

Get Wikimedia page content, title, URL and last modified date. Parameters: title (required), project (e.g., 'wikipedia'), language (e.g., 'en')

Inputs: title (required), project, language.

search_contentA

Full-text search across Wikimedia page content. Returns snippets matching the query. Parameters: query (required), limit (1-50), project (e.g., 'wikipedia'), language (e.g., 'en')

Inputs: query (required), limit, project, language.

search_titlesA

Search Wikimedia page titles starting with the query. Returns suggestions with descriptions. Parameters: query (required), limit (1-100), project (e.g., 'wikipedia'), language (e.g., 'en')

Inputs: query (required), limit, project, language.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: retrieving featured content, language variants, historical events, page details, content search, and title search. No overlap or ambiguity.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern (get_featured, get_languages, get_on_this_day, get_page, search_content, search_titles), making naming predictable.

    Tool Count5/5

    6 tools is well-scoped for a Wikimedia server, covering page retrieval, search, and specialized queries without being excessive or insufficient.

    Completeness4/5

    The set covers core workflows (page access, search, special content), but lacks operations like page history or random page, which are minor gaps for a general-purpose server.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides comprehensive access to Wikipedia content including article search, full text retrieval, summaries, categories, links, images, language versions, and external references through 9 specialized tools.
      19 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to access Wikipedia content, search articles, retrieve historical events, and fetch images through the Wikipedia API.
      4
      13 npm
      1
      MIT