Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Worldcup 2026

БесплатноНе проверен

Query FIFA World Cup 2026 data including matches, standings, teams, and statistics.

GitHubEmbed

Описание

Query FIFA World Cup 2026 data including matches, standings, teams, and statistics.

README

An MCP server built with FastMCP to query FIFA World Cup 2026 data directly from any AI compatible with the MCP protocol (Claude, Cursor, etc.), plus a Streamlit dashboard for standalone use.

Data is sourced from openfootball/worldcup.json — open source, no API key required.

🚀 Available Tools

Tool Description Parameters
recent_matches Scores from the most recent matches count (default: 5)
upcoming_matches Upcoming scheduled matches count (default: 5)
group_standings Standings for a specific group group (A–L)
search_team Full info for a team: group, stats, and all matches team_name (in English)
all_groups Summary of all 12 groups
cup_statistics Goals, averages, top scorers, and highlights

📦 Installation

git clone https://github.com/Eduardo-Lucas/worldcup-2026-mcp
cd worldcup-mcp

pip install fastmcp httpx streamlit

🖥️ Streamlit Dashboard

A visual dashboard with English/Portuguese language switching (🇺🇸 / 🇧🇷):

streamlit run src/app.py

Open http://localhost:8501 in your browser.

Pages:

  • 🏆 Recent Matches — scores and goal scorers
  • 📅 Upcoming Matches — schedule with venues
  • 📊 Standings — all 12 groups with W/D/L/GF/GA/GD
  • 🔍 Team Search — full team history and upcoming fixtures
  • 📈 Statistics — top scorers, biggest win, goals per game

⚙️ MCP Server — Claude Code

claude mcp add worldcup-2026 python -- -m src.server

⚙️ MCP Server — Claude Desktop

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

{
  "mcpServers": {
    "worldcup-2026": {
      "command": "python",
      "args": ["-m", "src.server"],
      "cwd": "/absolute/path/to/worldcup-mcp"
    }
  }
}

Restart Claude Desktop. The tools will be available automatically.

💬 Usage Examples

Once connected, ask Claude:

  • "What were yesterday's World Cup results?"
  • "How is Brazil doing in the standings?"
  • "Show me Group C table"
  • "Who are the top scorers so far?"
  • "What are Brazil's upcoming matches?"

🧪 Tests

pip install pytest pytest-asyncio
pytest tests/ -v

🏗️ Project Structure

worldcup-mcp/
├── src/
│   ├── server.py          # MCP server (FastMCP tools)
│   └── app.py             # Streamlit dashboard
├── tests/
│   └── test_server.py     # Tool unit tests
├── pyproject.toml
├── claude_desktop_config.json
└── README.md

📝 How It Works

  • @mcp.tool() — exposes Python functions as AI tools
  • Docstrings — become the tool description the AI reads
  • Type hints — define the parameter schema
  • mcp.run() — starts the server over stdio
  • Standings — calculated dynamically from match results (no separate endpoint needed)
  • Placeholder resolver — knockout stage codes like W73, 1G, 3A/B/C/D/F are automatically resolved to real team names as results come in

Built with FastMCP · Data: openfootball/worldcup.json

from github.com/Eduardo-Lucas/worldcup-2026-mcp

Установка Worldcup 2026

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/Eduardo-Lucas/worldcup-2026-mcp

FAQ

Worldcup 2026 MCP бесплатный?

Да, Worldcup 2026 MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Worldcup 2026?

Нет, Worldcup 2026 работает без API-ключей и переменных окружения.

Worldcup 2026 — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить Worldcup 2026 в Claude Desktop, Claude Code или Cursor?

Открой Worldcup 2026 на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Worldcup 2026 with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории communication