Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AIFire in da houseCheck it out free

privetin_wikimedia

MCP.Pizza Chef: MCP-Mirror

The privetin_wikimedia MCP server provides a structured interface to Wikimedia APIs, allowing models to query Wikipedia and other Wikimedia projects using natural language. It supports full-text and title search with autocomplete, retrieval of page content and metadata, multilingual page versions, and access to featured content like articles and pictures of the day. It also offers historical event data by date. Designed for Python 3.12+ environments, it ensures secure, validated user inputs and respects Wikimedia's rate limits. This server enables seamless integration of rich Wikimedia knowledge into AI workflows and applications.

Use This MCP server To

Search Wikimedia content via natural language queries Retrieve detailed Wikipedia page content and metadata Access multilingual versions of Wikimedia pages Get featured articles and pictures of the day Fetch historical events, births, and holidays by date Autocomplete page title searches for faster lookup

README

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

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

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.

privetin_wikimedia FAQ

How do I install the privetin_wikimedia MCP server?
Install Python 3.12+, the uv package manager, and the MCP server framework, then follow the GitHub repository instructions.
Does privetin_wikimedia require Wikimedia API credentials?
No, it does not require any sensitive data or credentials as it uses public Wikimedia APIs.
How does privetin_wikimedia handle user input security?
All user inputs are validated to prevent injection or misuse, ensuring safe interactions.
Is there rate limiting when using privetin_wikimedia?
Yes, rate limiting is managed by the Wikimedia API to prevent abuse.
Can privetin_wikimedia provide content in multiple languages?
Yes, it supports finding versions of pages in other languages available on Wikimedia.
What kind of content can I retrieve with privetin_wikimedia?
You can retrieve page content, titles, URLs, metadata, featured articles, pictures of the day, and historical events.
Does privetin_wikimedia expose internal error details?
No, error messages are sanitized to avoid exposing internal server details.
Which MCP framework versions are compatible with privetin_wikimedia?
It requires the MCP server framework compatible with Python 3.12 or higher.
Can I use privetin_wikimedia with different LLM providers?
Yes, it is provider-agnostic and works with OpenAI, Claude, Gemini, and others.