/ Diretório / Playground / wikipedia-mcp
● Comunidade Rudra-ravi ⚡ Instantâneo

wikipedia-mcp

por 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.

Por que usar

Principais recursos

Demo ao vivo

Como fica na prática

wikipedia.replay ▶ pronto
0/0

Instalar

Escolha seu cliente

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

Abra Claude Desktop → Settings → Developer → Edit Config. Reinicie após salvar.

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

Cursor usa o mesmo esquema mcpServers que o Claude Desktop. Config de projeto vence a global.

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

Clique no ícone MCP Servers na barra lateral do Cline, depois "Edit Configuration".

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

Mesmo formato do Claude Desktop. Reinicie o Windsurf para aplicar.

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

O Continue usa um array de objetos de servidor em vez de um map.

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

Adicione em context_servers. Zed recarrega automaticamente ao salvar.

claude mcp add wikipedia -- uvx wikipedia-mcp

Uma linha só. Verifique com claude mcp list. Remova com claude mcp remove.

Casos de uso

Usos do mundo real: wikipedia-mcp

Cite Wikipedia instead of relying on model memory

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

Quando usar: The model's training cutoff is older than the facts you need (new events, refreshed biographies, updated stats).

Fluxo
  1. Ask with citation requirement
    When did the 2026 Winter Olympics happen and where? Use the wikipedia MCP and cite the article.✓ Copiado
    → Answer + Wikipedia article title/URL

Resultado: Answers with a verifiable source, less hallucination.

Armadilhas
  • 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

Quando usar: You're meeting someone unfamiliar or writing about a new-to-you topic and want structured context fast.

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

Resultado: 10-minute dossier better than ad-hoc googling.

Armadilhas
  • Wikipedia page doesn't exist for the person — Fall back to web search (firecrawl) for less-covered subjects
Combine com: notion

Compare how a topic is covered across languages

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

Quando usar: You suspect the English and Chinese Wikipedia articles on a topic differ materially (they often do for geopolitical topics).

Fluxo
  1. Pull both versions
    Get Wikipedia articles on [topic] in English and Simplified Chinese (zh-Hans).✓ Copiado
    → Two article bodies
  2. Diff the framing
    What facts are in one but not the other? How does each frame the controversy?✓ Copiado
    → Structured comparison

Resultado: Nuanced multi-perspective understanding.

Armadilhas
  • Translation quality varies — Ask Claude to quote original language too for contested phrasings

Combinações

Combine com outros MCPs para 10× de alavancagem

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.✓ Copiado
wikipedia + google-map

Show a topic on a map

Get coordinates of these 10 battles from Wikipedia; render them on a static Google map.✓ Copiado

Ferramentas

O que este MCP expõe

FerramentaEntradasQuando chamarCusto
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

Custo e limites

O que custa rodar

Cota de API
Wikipedia rate limits: ~200 requests/sec from an IP; add delays for long scripts
Tokens por chamada
Full articles 2k-15k tokens; summaries 200-500
Monetário
Free
Dica
Always start with get_summary or get_sections — avoid pulling a whole get_article unless you need the full text.

Segurança

Permissões, segredos, alcance

Armazenamento de credenciais: Optional Wikimedia OAuth token for higher rate limits
Saída de dados: Outbound to Wikipedia's servers only

Solução de problemas

Erros comuns e correções

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.

Alternativas

wikipedia-mcp vs. outros

AlternativaQuando usarTroca
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

Mais

Recursos

📖 Leia o README oficial no GitHub

🐙 Ver issues abertas

🔍 Ver todos os 400+ servidores MCP e Skills