/ Каталог / Песочница / wikipedia-mcp
● Сообщество Rudra-ravi ⚡ Сразу

wikipedia-mcp

автор Rudra-ravi · Rudra-ravi/wikipedia-mcp

Ground Claude's answers in Wikipedia — search, full articles, summaries, sections, links, coordinates — with multi-language and locale-aware variants.

wikipedia-mcp exposes 10+ tools over the Wikipedia API. Go beyond what Claude 'remembers' with authoritative, up-to-date article content, handle Chinese traditional/simplified variants, and use locale codes instead of language codes for clarity.

Зачем использовать

Ключевые функции

Живое демо

Как выглядит на практике

wikipedia.replay ▶ готово
0/0

Установка

Выберите клиент

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "wikipedia": {
      "command": "uvx",
      "args": [
        "wikipedia-mcp"
      ],
      "_inferred": true
    }
  }
}

Откройте Claude Desktop → Settings → Developer → Edit Config. Перезапустите после сохранения.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "wikipedia": {
      "command": "uvx",
      "args": [
        "wikipedia-mcp"
      ],
      "_inferred": true
    }
  }
}

Cursor использует ту же схему mcpServers, что и Claude Desktop. Конфиг проекта приоритетнее глобального.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "wikipedia": {
      "command": "uvx",
      "args": [
        "wikipedia-mcp"
      ],
      "_inferred": true
    }
  }
}

Щёлкните значок MCP Servers на боковой панели Cline, затем "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "wikipedia": {
      "command": "uvx",
      "args": [
        "wikipedia-mcp"
      ],
      "_inferred": true
    }
  }
}

Тот же формат, что и Claude Desktop. Перезапустите Windsurf для применения.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "wikipedia",
      "command": "uvx",
      "args": [
        "wikipedia-mcp"
      ]
    }
  ]
}

Continue использует массив объектов серверов, а не map.

~/.config/zed/settings.json
{
  "context_servers": {
    "wikipedia": {
      "command": {
        "path": "uvx",
        "args": [
          "wikipedia-mcp"
        ]
      }
    }
  }
}

Добавьте в context_servers. Zed перезагружается автоматически.

claude mcp add wikipedia -- uvx wikipedia-mcp

Однострочная команда. Проверить: claude mcp list. Удалить: claude mcp remove.

Сценарии использования

Реальные сценарии: wikipedia-mcp

Cite Wikipedia instead of relying on model memory

👤 Anyone doing research-style Q&A ⏱ ~2 min beginner

Когда использовать: The model's training cutoff is older than the facts you need (new events, refreshed biographies, updated stats).

Поток
  1. Ask with citation requirement
    When did the 2026 Winter Olympics happen and where? Use the wikipedia MCP and cite the article.✓ Скопировано
    → Answer + Wikipedia article title/URL

Итог: Answers with a verifiable source, less hallucination.

Подводные камни
  • Wikipedia itself has errors / vandalism — For high-stakes facts, cross-check with a second source

Build a one-page dossier on a person or topic

👤 Journalists, prep-for-meeting folks ⏱ ~10 min beginner

Когда использовать: You're meeting someone unfamiliar or writing about a new-to-you topic and want structured context fast.

Поток
  1. Summary first
    Get a summary of [person/topic] from Wikipedia. Then list sections so I can pick which to deep-read.✓ Скопировано
    → Summary + TOC
  2. Pull the key sections
    Give me full text of the 'Career' and 'Controversies' sections.✓ Скопировано
    → Section text
  3. Related threads
    What related Wikipedia topics should I also skim?✓ Скопировано
    → Related topic list with 1-line summaries

Итог: 10-minute dossier better than ad-hoc googling.

Подводные камни
  • Wikipedia page doesn't exist for the person — Fall back to web search (firecrawl) for less-covered subjects
Сочетать с: notion

Compare how a topic is covered across languages

👤 Researchers, translators, international ops ⏱ ~15 min intermediate

Когда использовать: You suspect the English and Chinese Wikipedia articles on a topic differ materially (they often do for geopolitical topics).

Поток
  1. Pull both versions
    Get Wikipedia articles on [topic] in English and Simplified Chinese (zh-Hans).✓ Скопировано
    → Two article bodies
  2. Diff the framing
    What facts are in one but not the other? How does each frame the controversy?✓ Скопировано
    → Structured comparison

Итог: Nuanced multi-perspective understanding.

Подводные камни
  • Translation quality varies — Ask Claude to quote original language too for contested phrasings

Комбинации

Сочетайте с другими MCP — эффект x10

wikipedia + notion

Build a 'places visited' Notion DB with Wikipedia summaries

For each row in my 'Trips' Notion DB, fetch the Wikipedia summary of the destination city and populate the 'About' column.✓ Скопировано
wikipedia + google-map

Show a topic on a map

Get coordinates of these 10 battles from Wikipedia; render them on a static Google map.✓ Скопировано

Инструменты

Что предоставляет этот MCP

ИнструментВходные данныеКогда вызыватьСтоимость
search_wikipedia query: str, language?: str, limit?: int Find candidate articles free
get_article title: str, language?: str Need full content; use summary if 2-3 sentences suffice free
get_summary title, language? Quick context without full article cost free
get_sections title, language? Decide which sections to pull before pulling full article free
get_section title, section, language? Cheaper than full article when you know what you want free
get_links title, language? Discover related articles free
get_coordinates title Plot an article's place on a map free
get_related_topics title Research-mode expansion free

Стоимость и лимиты

Во что обходится

Квота API
Wikipedia rate limits: ~200 requests/sec from an IP; add delays for long scripts
Токенов на вызов
Full articles 2k-15k tokens; summaries 200-500
Деньги
Free
Совет
Always start with get_summary or get_sections — avoid pulling a whole get_article unless you need the full text.

Безопасность

Права, секреты, радиус поражения

Хранение учётных данных: Optional Wikimedia OAuth token for higher rate limits
Исходящий трафик: Outbound to Wikipedia's servers only

Устранение неполадок

Частые ошибки и исправления

403 Forbidden on heavy use

Anonymous rate limit hit. Provide a personal access token or slow down (add sleep).

Page not found

Titles are case-sensitive and disambiguation-specific. Use search_wikipedia first to get the canonical title.

Chinese article returns Traditional when I want Simplified

Pass language=zh-Hans or language=zh-Hant explicitly.

Альтернативы

wikipedia-mcp в сравнении

АльтернативаКогда использоватьКомпромисс
DBpedia / Wikidata MCPYou want structured data (infobox fields) rather than proseBetter for querying facts; worse for reading
Direct Wikipedia API via fetch MCPYou need maximum controlYou parse the JSON yourself

Ещё

Ресурсы

📖 Читать официальный README на GitHub

🐙 Открытые задачи

🔍 Все 400+ MCP-серверов и Skills