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"]
    }
  }
}

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

Metadata

Release files for bundesliga-mcp 0.1.0

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.0
File Size Uploaded Provenance Actions
bundesliga_mcp-0.1.0.tar.gz 18.3 kB With provenance Details for bundesliga_mcp-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 28.1 kB

Release files / bundesliga_mcp-0.1.0.tar.gz

Download URL bundesliga_mcp-0.1.0.tar.gz
Size 18.3 kB
Tags Source
SHA-256 checksum
How to use checksums
51035b5fdec1fa09402f5e3d84887ae4cab067ab90eb008a7c1e5d19c22aad0e
BLAKE2b-256 checksum
How to use checksums
071d223f64f29eb71e46f80a2511fe9b49570315a68f029b70c4567f06b9d64b
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 9, 2026.

Transparency log

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

Download URL bundesliga_mcp-0.1.0-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
50bf2a0dc3e54628fc86851fe6247810412e35d490ed8ce0b97e88ffd23b4c4a
BLAKE2b-256 checksum
How to use checksums
8cbf63e9ec2858fd3e38f7f45df5588a1820ebad3de5cec3ef80bbc7ee611bba
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 9, 2026.

Transparency log

Security for bundesliga-mcp 0.1.0

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.0.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 9, 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.0 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