GoalGorithm MCP Server
Enables soccer match predictions and provides xG statistics and league tables for the Premier League using data-driven Poisson models.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GoalGorithm MCP Server predict the outcome of the Arsenal vs Chelsea match"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GoalGorithm MCP Server
Soccer match predictions using xG data and Poisson distribution, exposed as MCP tools for Claude Desktop/Code.
Proven in production — This prediction model is actively used on BongdaNET, a football analytics platform that combines expert analysis with data science to deliver accurate match predictions. BongdaNET also serves as a comprehensive football data hub — offering odds from top bookmakers, live results, fixtures, and standings for leagues worldwide — providing a smart betting experience for punters and football enthusiasts alike.
Install
pip install goalgorithm-mcpOr run directly:
uvx goalgorithm-mcpRelated MCP server: football-data-mcp
Claude Desktop Config
Add to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"goalgorithm": {
"command": "goalgorithm-mcp"
}
}
}Example Usage
Once configured, just ask Claude naturally:
You: "Predict Arsenal vs Chelsea this weekend"
Claude will call the predict_match tool and respond with something like:
Claude: Here's the prediction for Arsenal vs Chelsea (Premier League):
Outcome
Probability
Arsenal Win
52.4%
Draw
22.7%
Chelsea Win
24.9%
Expected Goals: Arsenal 1.85 — Chelsea 1.23
Over 2.5 Goals: 58.3% | Under 2.5: 41.7%
Both Teams to Score: Yes 52.1% | No 47.9%
Most Likely Scores: 1-0 (12.8%), 1-1 (11.2%), 2-1 (10.5%)
Arsenal are clear favorites at home with stronger attacking xG.
Other things you can ask:
"Show me the La Liga xG table" — calls
get_league_table"Which leagues are available?" — calls
list_leagues"Who's more likely to win, Bayern or Dortmund?" — calls
predict_match
Tools
predict_match
Predict soccer match outcome using xG-based Poisson model.
predict_match(home_team="Arsenal", away_team="Chelsea", league="EPL")Returns: win/draw/loss %, over/under 2.5, BTTS, top 3 scores, expected goals, score matrix.
list_leagues
List all supported soccer leagues with IDs and slugs.
get_league_table
Get all teams in a league with their xG statistics, sorted by attacking strength.
get_league_table(league="EPL")Supported Leagues
ID | League | Slug |
9 | Premier League | EPL |
12 | La Liga | LaLiga |
11 | Serie A | SerieA |
20 | Bundesliga | Bundesliga |
13 | Ligue 1 | Ligue1 |
How It Works
Fetches team xG/xGA stats from Understat.com
Computes attack/defense strength relative to league average
Applies Poisson distribution to calculate goal probabilities
Builds 6x6 score matrix for all possible scorelines (0-5 goals each)
Derives match outcomes: W/D/L, Over/Under 2.5, BTTS
Data Source
All data from Understat.com public JSON API. Results cached locally for 12 hours.
License
GPL v2 or later
Available Tools
3 toolsget_league_tableA
Get all teams in a league with their xG statistics.
Returns teams sorted by attacking strength (xG per 90 minutes).
Args: league: League slug, name, or ID (default: EPL)
Inputs: league. Returns: object
list_leaguesA
List all supported soccer leagues with IDs and slugs.
Inputs: no named parameters. Returns: result
predict_matchA
Predict soccer match outcome using xG-based Poisson model.
Returns win/draw/loss probabilities, over/under 2.5 goals, both teams to score, and top 3 most likely scores.
Args: home_team: Home team name (e.g. "Arsenal") away_team: Away team name (e.g. "Chelsea") league: League slug, name, or ID (default: EPL)
Inputs: home_team (required), away_team (required), league. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: get_league_table retrieves team statistics, list_leagues provides league metadata, and predict_match forecasts match outcomes. There is no overlap in functionality, making tool selection straightforward for an agent.
All tools follow a consistent verb_noun naming pattern (get_league_table, list_leagues, predict_match). The verbs are descriptive and appropriate for their actions, and the snake_case style is uniformly applied across all tools.
With only 3 tools, the server feels thin for a soccer analytics domain. While the tools cover key areas (leagues, tables, predictions), additional operations like historical match data or player statistics could enhance completeness, making the count borderline for the apparent scope.
The tools provide a solid foundation for soccer analytics with league listing, table retrieval, and match prediction. However, there are minor gaps, such as missing update or delete operations for leagues or teams, and no tools for deeper statistical analysis or historical data, which agents might need to work around.
Maintenance
Related MCP Connectors
Football analysis: predictions, line-ups, tactics, live state, tables and an AI leaderboard.
Football match predictions, title race chances, player valuations, live scores, tables and news.
Football match predictions, title race chances, player valuations, live scores, tables and news.
Premier League, MLS and European football: lineups, shot maps, xG, tables and odds. REST and MCP.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides AI agents with access to football match predictions for Premier League and Champions League, including half-time/full-time scores, goal scorers, corner counts, and key player insights.180 npmMIT
- AlicenseNot gradedqualityDmaintenanceProvides football analytics tools including player scouting, comparisons, market-value filters, expected-goals tables, match-by-match form, team attacking profiles, match search, shot maps, and more for 10 leagues.6GPL 3.0
- AlicenseAqualityDmaintenanceLive football/soccer data from top European leagues, enabling queries for standings, fixtures, scorers, and team comparisons via natural language.67 npmMIT
- AlicenseNot gradedqualityBmaintenanceProvides comprehensive soccer/football data including standings, team search, league search, match predictions, and head-to-head records via the API-Football service.79 npm1MIT