Back to catalog

Wikipedia MCP Server

An MCP server that retrieves information from Wikipedia to provide context to large language models, enabling AI assistants to access factual information from Wikipedia to support their answers with reliable sources.

Get this MCP server

An MCP server that retrieves information from Wikipedia to provide context to large language models, enabling AI assistants to access factual information from Wikipedia to support their answers with reliable sources.

Installation

pipx (Recommended)

pip install pipx
pipx ensurepath
pipx install wikipedia-mcp

Smithery

npx -y @smithery/cli install @Rudra-ravi/wikipedia-mcp --client claude

PyPI

pip install wikipedia-mcp

Virtual Environment

python3 -m venv venv
source venv/bin/activate
pip install git+https://github.com/rudra-ravi/wikipedia-mcp.git

From Source

git clone https://github.com/rudra-ravi/wikipedia-mcp.git
cd wikipedia-mcp
python3 -m venv wikipedia-mcp-env
source wikipedia-mcp-env/bin/activate
pip install -e .

Configuration

Claude Desktop Basic

{
  "mcpServers": {
    "wikipedia": {
      "command": "wikipedia-mcp"
    }
  }
}

Claude Desktop Full Path

{
  "mcpServers": {
    "wikipedia": {
      "command": "/full/path/to/wikipedia-mcp"
    }
  }
}

Claude Desktop Multilingual

{
  "mcpServers": {
    "wikipedia-us": {
      "command": "wikipedia-mcp",
      "args": ["--country", "US"]
    },
    "wikipedia-taiwan": {
      "command": "wikipedia-mcp", 
      "args": ["--country", "TW"]
    },
    "wikipedia-japan": {
      "command": "wikipedia-mcp",
      "args": ["--country", "Japan"]
    }
  }
}

Available Tools

Tool Description
search_wikipedia Search Wikipedia articles by query with optional result limit
get_article Retrieve full Wikipedia article content, including text, summary, sections, links, and categories
get_summary Retrieve a brief summary of a Wikipedia article
get_sections Retrieve sections of a Wikipedia article in a structured list
get_links Retrieve links contained in a Wikipedia article to other articles
get_coordinates Retrieve coordinates of a Wikipedia article with latitude, longitude, and metadata
get_related_topics Retrieve topics related to a Wikipedia article based on links and categories
summarize_article_for_query Retrieve a Wikipedia article summary adapted to a specific query
summarize_article_section Retrieve a summary of a specific section from a Wikipedia article
extract_key_facts Extract key facts from a Wikipedia article, optionally focused on a specific topic

Features

  • Search Wikipedia articles with extended diagnostics
  • Retrieve full article content with all information
  • Retrieve brief article summaries
  • Extract specific sections from articles
  • Discover links in articles to related topics
  • Find topics related to specific articles
  • Multilingual support with language codes
  • Country/locale support with intuitive country codes
  • Language variant support (Traditional/Simplified Chinese, Serbian scripts, etc.)
  • Optional caching for improved performance

Environment Variables

Optional

  • WIKIPEDIA_ACCESS_TOKEN - Personal access token to avoid rate limiting (403 errors)

Notes

Supports 140+ countries and regions with automatic language mapping. Configuration file locations: macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%/Claude/claude_desktop_config.json, Linux: ~/.config/Claude/claude_desktop_config.json. Use --list-countries to view all supported country codes.

Comments (0)

Sign In Sign in to leave a comment.

Spark Drops

Weekly picks: best new AI tools, agents & prompts

Venture Crew
Terms of Service

© 2026, Venture Crew