worldcup-2026-mcp
Query FIFA World Cup 2026 data including matches, standings, teams, and statistics.
README
β½ FIFA World Cup 2026 β MCP Server & Dashboard
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/Fare automatically resolved to real team names as results come in
Built with FastMCP Β· Data: openfootball/worldcup.json
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.