Skip to main content
Glama
aria-mcp-football

aria-mcp-football

by kimhjort

aria-mcp-football

A Model Context Protocol (MCP) server that tells you when your favourite football teams play and where to watch in Denmark. Built for ARIA and shareable with the community.

Data from TheSportsDB.com. No API key required for basic use — the free public dev key (123) is built in.

Data Source

Source

What

Attribution

TheSportsDB

Fixtures, results

Data from TheSportsDB.com

Danish broadcast information is a best-effort hint built into this server. TheSportsDB does not provide broadcaster data — the hints are researched defaults for the 2025/26 season. Rights change. Always verify at tvsporten.dk or tvbolden.dk.

Related MCP server: OPTA API Documentation MCP Server

Install & Run

npx aria-mcp-football

Or install globally:

npm install -g aria-mcp-football
aria-mcp-football

No API key required. Optionally set THESPORTSDB_KEY for a premium key.

Requires Node.js 20 or later.

Environment Variables

Variable

Required

Description

THESPORTSDB_KEY

No

TheSportsDB API key. Defaults to "123" (public free dev key). Set your own or a premium key if needed.

FOLLOW_TEAMS

No

Comma-separated TheSportsDB team IDs to follow (default: 133906,133899,133610 — Denmark, AGF, Chelsea).

BROADCAST_MAP_JSON

No

JSON object overriding the Danish broadcast hint map (keys: competition name pattern, values: broadcaster string).

Default Followed Teams

Team

TheSportsDB ID

Competition

Denmark (national men's)

133906

UEFA Nations League, Friendlies, qualifiers

AGF Aarhus

133899

Danish Superliga

Chelsea

133610

Premier League

Override via FOLLOW_TEAMS=133906,133899,133610 (or any other TheSportsDB team IDs).

Tools

get_my_fixtures

Get upcoming fixtures for all followed teams within the next N days. This is the primary tool for ARIA's daily check.

Parameters:

Name

Type

Required

Description

days

number

No

Days ahead to look (default 14, max 60).

Returns:

{
  "followedTeams": ["Denmark (id:133906)", "AGF (id:133899)", "Chelsea (id:133610)"],
  "daysAhead": 14,
  "count": 2,
  "fixtures": [
    {
      "team": "AGF Aarhus",
      "opponent": "Viborg",
      "homeAway": "home",
      "competition": "Danish Superliga",
      "kickoffUtc": "2026-06-27T19:00:00.000Z",
      "kickoffLocal": "2026-06-27T21:00:00",
      "venue": "Ceres Park",
      "status": "Not Started",
      "danishBroadcast": "TV 2 Play / Viaplay"
    }
  ],
  "broadcastNote": "danishBroadcast is a best-effort hint. Rights change — verify at tvsporten.dk / tvbolden.dk."
}

get_team_fixtures

Get upcoming fixtures or recent results for any football team by name or TheSportsDB team ID.

Parameters:

Name

Type

Required

Description

team

string

Yes

Team name (e.g. "Chelsea", "AGF") or numeric TheSportsDB team ID.

days

number

No

Days ahead to look (default 14, max 60). Ignored when last is set.

last

number

No

Return the last N results instead of upcoming fixtures (max 20).


get_results

Get recent finished match results with scores for a followed team or all followed teams.

Parameters:

Name

Type

Required

Description

team

string

No

Team name or ID to filter. If omitted, returns results across all followed teams.

last

number

No

Number of recent results (default 5, max 20).

Returns:

{
  "count": 1,
  "results": [
    {
      "team": "Chelsea",
      "opponent": "Arsenal",
      "homeAway": "home",
      "competition": "Premier League",
      "kickoffUtc": "2025-08-10T14:00:00.000Z",
      "score": "2 - 1",
      "outcome": "W"
    }
  ]
}

live_now

Check if any followed team is currently playing. Live scores require a premium TheSportsDB key. On the free key (123) this returns a structured unavailable notice:

{
  "status": "unavailable",
  "message": "Live-resultater kræver en premium TheSportsDB-nøgle."
}

Parameters: None


Danish Broadcast Hints (2025/26 defaults)

Competition (substring match)

Danish Broadcaster

Premier League

Viaplay (1 kamp/uge på Amazon Prime Video)

Superliga / Superligaen

TV 2 Play / Viaplay

UEFA Champions League

Viaplay

Friendlies (national)

TV 2 / TV 2 Play

UEFA Nations League

TV 2 / TV 2 Play

World Cup Qualification

TV 2 / TV 2 Play

Euro Qualification

TV 2 / TV 2 Play

Anything else

Ukendt — tjek tvsporten.dk / tvbolden.dk

Override the entire map via BROADCAST_MAP_JSON='{"premier league":"MyTV"}'.

These are best-effort hints. Rights change. Always verify at tvsporten.dk or tvbolden.dk.

ARIA MCP Config

Add to your ARIA credentials / MCP config to use with ARIA:

{
  "Name": "Football",
  "Command": "npx",
  "Args": ["-y", "aria-mcp-football"],
  "Env": {}
}

No key is required. If you have a premium TheSportsDB key you can optionally add:

{
  "Name": "Football",
  "Command": "npx",
  "Args": ["-y", "aria-mcp-football"],
  "Env": {
    "THESPORTSDB_KEY": "your_premium_key_here"
  }
}

Note: THESPORTSDB_KEY is not a secret — the default (123) is a public free key. Only use secret: prefix in ARIA if you want to protect a personal premium key.

Development

git clone https://github.com/kimhjort/aria-mcp-football
cd aria-mcp-football
npm install
npm run build
npm test

Run the server:

node dist/index.js

License

MIT — see LICENSE.

Data from TheSportsDB.com.

Available Tools

4 tools
get_my_fixturesA

Get upcoming fixtures (matches) for all followed football teams within the next N days. Default followed teams: Denmark (national), AGF (Danish Superliga), Chelsea (Premier League). Override via FOLLOW_TEAMS env (comma-separated TheSportsDB team IDs). Each fixture includes team, opponent, home/away, competition, kick-off time (UTC and Europe/Copenhagen local), venue, status, and a best-effort Danish broadcaster hint. Sorted by kick-off time ascending. This is the primary tool for ARIA's daily check — call this once to see if any followed team plays soon. Note: danishBroadcast is a best-effort hint; rights change — verify at tvsporten.dk / tvbolden.dk.

Inputs: days.

get_resultsA

Get recent finished match results (with scores) for a followed team or all followed teams. Returns results sorted newest-first with score and win/draw/loss outcome. Useful for checking how a team did in their last few matches.

Inputs: team, last.

get_team_fixturesA

Get upcoming fixtures or recent results for any football team, by name or TheSportsDB team ID. When 'last' is provided, returns the last N finished matches instead of a date range. Returns fixture entries (kickoff, competition, venue, status, broadcast hint) or result entries (score, outcome) if last is set. Note: danishBroadcast is a best-effort hint; rights change — verify at tvsporten.dk / tvbolden.dk.

Inputs: team (required), days, last.

live_nowA

Check if any followed football team is currently playing. Live scores require a premium TheSportsDB key — on the free key this returns a structured unavailable notice. Returns live match entries with current score on premium tier, or { status: 'unavailable', message: '...' } on free tier. Note: danishBroadcast is a best-effort hint; rights change — verify at tvsporten.dk / tvbolden.dk.

Inputs: no named parameters.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 4 tools

    Disambiguation4/5

    Tools are mostly distinct: get_my_fixtures for upcoming followed teams, get_results for past followed teams, get_team_fixtures for any team (upcoming or past), live_now for current matches. However, get_team_fixtures with 'last' can overlap with get_results for followed teams, causing potential confusion.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern in snake_case (e.g., get_my_fixtures, live_now). No mix of styles or abbreviations, ensuring predictability.

    Tool Count5/5

    4 tools are well-suited for the football match info domain. Each tool serves a distinct purpose (upcoming, past, live, generic team query), without being too few or excessive.

    Completeness4/5

    The tool set covers the core match lifecycle (upcoming, results, live) for both followed and general teams. Missing are tools for managing followed teams (env variable only) and broader football data like standings or player info, but these are beyond the stated scope.

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides programmatic access to comprehensive football statistics and live match data via API-Football, enabling applications to retrieve league standings, team fixtures, player statistics, and real-time match events.
      6
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides intelligent access to OPTA football API documentation with automatic authentication, allowing users to query specific endpoint documentation and get answers about soccer match data, events, fixtures, and statistics through natural language.
      8
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables access to live ESPN sports data for NFL, NHL, and NBA leagues, including standings, scores, schedules, team info, and playoffs through natural language queries.
      6
      14 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables querying community-run, keyless football/soccer match data from OpenLigaDB through natural language or direct tool calls.
      74 npm
      MIT