Skip to main content
Glama
World Cup History MCP

World Cup History MCP

by zafronix

Historial de la Copa Mundial MCP

por Zafronix · npm: @zafronix/wc-mcp · Licencia MIT

wc-mcp MCP server

Servidor del Protocolo de Contexto de Modelo (MCP) que brinda a Claude / Cursor / cualquier agente compatible con MCP acceso fundamentado a cada Copa Mundial de la FIFA desde 1930. 23 torneos. Más de 1.168 partidos. Más de 2.500 jugadores. 206 estadios. Todo expuesto como 15 herramientas tipadas para que el modelo deje de alucinar con plantillas, resultados, cuadros y altitudes de estadios.

Desarrollado por la API pública de la Copa Mundial de Zafronix: nivel gratuito con clave, 1.000 peticiones/día, sin tarjeta.

Por qué

Los LLM no son fiables en:

  • Resultados exactos de torneos anteriores a la ventana de datos de entrenamiento.

  • Detalles de las plantillas (números de camiseta, fechas de nacimiento, capitanes).

  • Trayectorias de las rondas eliminatorias y resultados exactos.

  • Datos de estadios (capacidad, altitud, año de inauguración).

Este MCP envuelve la API de WC de Zafronix para que el modelo pueda llamar a una herramienta y obtener la respuesta canónica en lugar de adivinar.

Related MCP server: FIFA World Cup 2026 MCP Server

Instalación

npm install -g @zafronix/wc-mcp

O ejecútalo desde el código fuente:

git clone https://github.com/zafronix/wc-mcp
cd wc-mcp
npm install
npm run build

Obtén una clave API gratuita

https://api.zafronix.com/signup

1.000 peticiones/día en el nivel gratuito, sin tarjeta.

Configuración (Claude Desktop)

Edita ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) / %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "wc": {
      "command": "npx",
      "args": ["-y", "@zafronix/wc-mcp"],
      "env": {
        "WC_API_KEY": "zwc_pk_your_key_here"
      }
    }
  }
}

Reinicia Claude Desktop. Verás un icono 🔌 en la barra de entrada: haz clic en él para confirmar que wc está conectado.

Configuración (Cursor)

Configuración → MCP → Añadir nuevo servidor:

{
  "mcpServers": {
    "wc": {
      "command": "npx",
      "args": ["-y", "@zafronix/wc-mcp"],
      "env": { "WC_API_KEY": "zwc_pk_..." }
    }
  }
}

Herramientas

Herramienta

Qué hace

list_tournaments

Cada WC de 1930→2026 (año, anfitrión, campeón).

get_tournament

Torneo completo: equipos, cuadros, premios, plantillas.

compare_tournaments

Estadísticas comparativas de 2 a 6 años.

search_players

Búsqueda de nombres de jugadores en la historia.

get_player_career

Cada WC en la que participó un jugador.

list_teams

Cada nación que ha jugado alguna vez, filtro opcional por confederación.

get_team

Resumen intertorneo de un país.

get_team_roster

Plantilla completa de un equipo en un año determinado.

list_stadiums

Cada sede de WC con elevación + coordenadas.

get_stadium

Sede individual por slug.

list_matches

Filtrar por año / fase / fecha.

get_match

Partido individual con resultado + asistencia + árbitro.

get_trivia

Curiosidades factuales seleccionadas por año.

get_standings

Tablas de grupos calculadas con criterios de desempate de la FIFA.

get_bracket

Cuadro completo de eliminatorias.

Ejemplos de prompts (en Claude Desktop, con este MCP habilitado)

  • "Compara a Pelé y Messi en la Copa Mundial."

  • "¿Cuál fue el estadio de la Copa Mundial a mayor altitud de la historia y cómo se compararon los totales de goles allí con las sedes al nivel del mar?"

  • "Muéstrame la plantilla de Italia de 2006 con posiciones y clubes."

  • "Traza el camino de Argentina hacia el título en 2022: cada partido, cada resultado."

  • "Enumera todas las naciones africanas que han llegado a los cuartos de final de la Copa Mundial."

Desarrollo

npm run dev          # tsx watch mode
WC_API_KEY=... npm start

El servidor utiliza stdio. Puedes probarlo con la CLI de MCP:

npx @modelcontextprotocol/inspector npx tsx src/index.ts

Licencia

MIT.

Available Tools

15 tools
compare_tournamentsA

Side-by-side comparison of 2-6 World Cup tournaments. Returns total goals, goals per match, attendance, top scorer, best player, champion, runner-up, third place for each year. Use this when the user asks "compare 1986 vs 2022" or "what changed between 1990 and 2014". For a single year use get_tournament.

Inputs: years (required).

get_bracketA

Full knockout bracket for a tournament — Round of 16 through Final, with each match's teams + result. Use this for "show me the 2014 World Cup bracket" or "trace France's 2018 path to the title".

Inputs: year (required).

get_matchA

Single match by ID. IDs follow {year}-{ordinal} zero-padded — the 1986 final is "1986-052", the 2022 final is "2022-064", the 2026 opener is "2026-001". Returns kickoff, both teams, score, extra time, penalties, stadium, city, attendance, referee, and (with denormalize=true) the full stadium block.

Inputs: id (required), denormalize.

get_player_careerA

Get a player's full World Cup career: every tournament they appeared in, with team/position/jersey/goals/captain status per year. Use this when the user wants a "all of Pelé's World Cup matches" or "compare Messi's 4 World Cups" view. The name should be the canonical name (use search_players first if unsure).

Inputs: name (required).

get_stadiumA

Single venue details by stable slug ID. Slugs are kebab-case ("estadio-azteca", "maracana", "wembley-stadium-old", "metlife-stadium"). Use list_stadiums first if you need to discover the right ID.

Inputs: id (required).

get_standingsA

Computed group standings with FIFA tiebreakers applied. Returns the order teams finished within each group of the given year, including W/D/L, GF, GA, GD, points. Use this for "show me the 1990 Group F table" or "who finished where in 2022 Group H?".

Inputs: year (required), group.

get_teamA

Cross-tournament summary for a national team: every appearance, final position by year, total titles, knockout records. Use this for "Brazil's World Cup history" or "how many times has Argentina reached the final?". For a specific year's squad use get_team_roster.

Inputs: name (required).

get_team_rosterA

Full squad for one team in one tournament — every player with jersey, position, DOB, club, goals, captain flag. Use this for "who was on Spain's 2010 squad?" or "show me Italy's 2006 roster".

Inputs: name (required), year (required).

get_tournamentA

Get full details for a single World Cup tournament: every team that played, group stages, knockout brackets, awards (top scorer, best player, best young player, best GK), full squads with DOB/position/club, attendance, and trivia notes. Use this when the user asks about a specific year ("1986 World Cup", "what happened at Italia 90"). For comparisons across multiple tournaments use compare_tournaments instead.

Inputs: year (required).

get_triviaA

Curated factual nuggets about a tournament — record-setting moments, oddities, historical context. Each entry is a single fact with category. Use this when the user wants "interesting facts about 1958" or "tell me something I don't know about Italia 90". Far less hallucination-prone than free-recall about old tournaments.

Inputs: year.

list_matchesA

List World Cup matches. Filterable by year and/or stage (group_a..group_h, round_of_16, quarter_final, semi_final, third_place, final). Returns kickoff time, home/away team, score, stadium, attendance. Use this for "show me all the 1990 group matches" or "list every World Cup final". Pair with get_match for a specific match's full details.

Inputs: year, stage, date.

list_stadiumsA

List World Cup venues. 206 stadiums total across history, with capacity, lat/long, elevation in meters, opening year, and the list of WC years each one hosted. Useful for "which stadiums hosted the most World Cup matches?" or "where was the 1986 final?". Filterable by country.

Inputs: country.

list_teamsA

List every national team that has ever played a World Cup, with confederation, first/last appearance year, and total appearances. Useful for "which African nations have made the World Cup?" or "list every CONMEBOL team". Pair with get_team for a specific country.

Inputs: confederation.

list_tournamentsA

List every FIFA World Cup tournament (1930 → 2026) with year, host country list, champion (or null for the upcoming 2026 cup). Useful as a starting point when the user is exploring history or needs to disambiguate a year.

Inputs: no named parameters.

search_playersA

Search players by name. Returns every World Cup squad row matching the query, with team, position, DOB, club, and tournament-year goals. Use this when the user mentions a player by name. For a player's full multi-tournament career path use get_player_career.

Inputs: q (required), limit.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 15 tools

    Disambiguation5/5

    Each tool has a clear, non-overlapping purpose. For example, compare_tournaments is for multi-year comparisons while get_tournament handles single years; get_team vs get_team_roster separate summary from roster; search_players vs get_player_career distinguish lookup from career view.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern (e.g., list_tournaments, get_match, compare_tournaments) using snake_case. There are no mixed conventions or ambiguous names.

    Tool Count5/5

    With 15 tools, the server is well-scoped for its domain—covering tournaments, teams, players, matches, stadiums, standings, brackets, and trivia without being bloated. The number feels natural for a comprehensive World Cup history API.

    Completeness5/5

    The tool set covers the major CRUD-like operations for the domain: listing and getting tournaments, teams, players, matches, stadiums, comparisons, trivia, brackets, and standings. There are no obvious gaps for typical World Cup queries.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      MCP server for FIFA World Cup 2026 data: matches, teams, venues, city guides, fan zones, visa info, injuries, odds, standings, bracket, and historical matchups. 18 tools, zero external API dependencies.
      18
      163 npm
      33
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for retrieving World Cup match briefs, fixtures, and event explanations with sourced, plain-language context.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      MCP server for FIFA World Cup 2026 data including fixtures, live scores, odds, and knockout bracket, plus a tool (wc_edge) that autonomously pays for premium data via Injective's x402 protocol.
      8
      5 npm
      MIT