Skip to main content

bundesliga-mcp ⚽

mcp-name: io.github.mohammad-abbasi-sh/bundesliga-mcp

Unofficial read-only MCP server for German football via the free OpenLigaDB API — Bundesliga fixtures, live scores, tables and top scorers. No key, no login.

Built by Mohammad Abbasi as part of the "Germany MCP factory" (Sepehr-style pipeline). Not affiliated with OpenLigaDB or the DFL.

For AI agents

Add to your MCP client config (stdio):

{
  "mcpServers": {
    "bundesliga": {
      "command": "uvx",
      "args": ["bundesliga-mcp==0.1.1"]
    }
  }
}

Or run locally: python -m bundesliga_mcp.server (needs mcp<2, httpx).

Tools

Tool Description
bundesliga_list_leagues Leagues with their current season — bl1, bl2, bl3, dfb, del, bbl, hbl
bundesliga_get_fixtures One matchday's fixtures/results — league (default bl1), season (default current, e.g. "2026"), matchday (default current, 1..34)
bundesliga_get_live_scores Current matchday: score + status (finished/live/scheduled) per match — league
bundesliga_get_table League table — league, season (default current)
bundesliga_get_top_scorers Top scorers of a season — league, season (default current), limit 1..50
bundesliga_get_match_detail Full detail of one match (score, goals with minutes/scorers, venue) — match_id, league, season

Example output (bundesliga_get_table / bl1, season 2026):

{"league": "bl1", "season": "2026", "count": 18, "table": [
  {"position": 1, "team": "FC Bayern München", "short": "Bayern",
   "played": 9, "won": 6, "drawn": 3, "lost": 0,
   "goals_for": 29, "goals_against": 9, "goal_diff": 20, "points": 21},
  ...]}

Notes:

  • A season defaults to the current one (resolved live from the league list); a matchday defaults to the current matchday.
  • Top scorers are aggregated from the per-match goal events (own goals excluded) — the API's own goalscorer endpoint returns 404, so the server counts the goals itself.
  • bbl/hbl have no league entry published yet — their tools return empty results until OpenLigaDB publishes them. DEL (ice hockey) works the same way as the football leagues.
  • Data: OpenLigaDB public API — no key, no login, read-only. Data under the Open Database License (ODbL).

Development

python3 -m venv .venv && .venv/bin/pip install "mcp<2" httpx pytest
.venv/bin/python -m pytest tests/ -q
  • tests/test_football.py — offline, parses real captured API fixtures (20 tests)
  • tests/test_live.py — cautious live requests against api.openligadb.de (7 tests)

Tests: 27/27 green (20 offline + 7 live, 2026-11-09).

License

MIT


Built by Mohammad Abbasi — Almanibama · mabbasi.ir

Metadata

Release files for bundesliga-mcp 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bundesliga-mcp 0.1.1
File Size Uploaded Provenance Actions
bundesliga_mcp-0.1.1.tar.gz 19.4 kB With provenance Details for bundesliga_mcp-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bundesliga-mcp 0.1.1
File Interpreter ABI Platform Actions
bundesliga_mcp-0.1.1-py3-none-any.whl Python 3 none any Details for bundesliga_mcp-0.1.1-py3-none-any.whl

Total release size: 30.0 kB

Release files / bundesliga_mcp-0.1.1.tar.gz

Download URL bundesliga_mcp-0.1.1.tar.gz
Size 19.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2a4fc2764b60232005821c252ba67f6513c473107927f2a64ed72b12ca68ebc5
BLAKE2b-256 checksum
How to use checksums
a44f21af01efc89e6363fa1d9e16e74b87d58c0015848e44a1e80af5c4b3fe21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Release files / bundesliga_mcp-0.1.1-py3-none-any.whl

Download URL bundesliga_mcp-0.1.1-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6d6cabc184240f059ad5a97016d0ed6b8a2f48f51ab9a43cd577825cd683a1d
BLAKE2b-256 checksum
How to use checksums
9f44d73fd2632c9aed6af942b2f25d89544c62f97c4ac1ad8986ae830bb8859c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Security for bundesliga-mcp 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bundesliga_mcp-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page