tff-mcp
Read-only access to tff.org data — Turkish football league standings, fixtures, match details, and top scorers across 18 leagues.
List leagues (
tff_list_leagues): the 18 covered leagues with slug, Turkish name, TFF page id, multi-group flag, and top-scorers availability.Standings (
tff_standings): puan cetveli with rank, team, played/won/drawn/lost, goals for/against, goal difference, points; supports multi-group leagues via index, group id, or name.Fixtures & results (
tff_fixtures): all match-weeks or a single week, with home/away, score (null if unplayed), status, TFF match id, and match-detail URL.Match details (
tff_match_detail): teams, score, date/time, stadium, league/season, match code, officials (referee, assistants, VAR/AVAR, observer, representative), goals with minutes, and both starting XIs.Top scorers (
tff_top_scorers): gol krallığı for the four leagues with a scorers page, rank/player/club/goals, limit 1..50.Health check (
tff_health): probes tff.org reachability and reports ok, blocked (403/429), or error.
All tools are read-only and require no login or API key.
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., "@tff-mcp Show me the Süper Lig standings"
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.
tff-mcp 🇹🇷
mcp-name: io.github.mohammad-abbasi-sh/tff-mcp
Unofficial read-only MCP server for tff.org, the Turkish Football Federation (TFF) — league standings (puan cetveli), fixtures and results (fikstür), full match details, and top scorers (gol krallığı) for 18 Turkish leagues, from the Süper Lig down to the youth development leagues.
Built by Mohammad Abbasi as part of the "Turkey MCP factory" (Sepehr-style pipeline). Not affiliated with tff.org or the TFF.
For AI agents
Add to your MCP client config (stdio):
{
"mcpServers": {
"tff": {
"command": "uvx",
"args": ["tff-mcp==0.1.1"]
}
}
}Or run locally: python -m tff_mcp.server (needs mcp<2, curl-cffi).
Related MCP server: football-api-mcp
Tools
Tool | Description |
| The 18 covered leagues (slug, Turkish name, TFF page id, multi-group flag, top-scorers availability) |
| League standings — |
| Fixtures and results — |
| Full detail of one match — |
| Top scorers — |
Example output (tff_match_detail / Gaziantep FK 0–2 Kasımpaşa, 6 Nov 2026):
{"home": "GAZİANTEP FUTBOL KULÜBÜ A.Ş.", "away": "KASIMPAŞA A.Ş.",
"score_home": 0, "score_away": 2, "date": "6.11.2026", "time": "20:00",
"stadium": "GAZİANTEP STADYUMU - GAZİANTEP - ŞEHİTKAMİL",
"league": "Trendyol Süper Lig Adnan Süvari Sezonu (Profesyonel Takım)",
"match_code": "1091",
"officials": [{"name": "ÜMİT ÖZTÜRK", "role": "Hakem"},
{"name": "ERKAN ENGİN", "role": "VAR"}],
"goals": [{"player": "HARIS HAJRADINOVIC", "minute": 3, "type": "F"},
{"player": "ADRIAN DAWID BENEDYCZAK", "minute": 21, "type": "P"}]}How it works
tff.org serves its league pages fully server-rendered — no login, no API key, no session cookies. Standings live in <table class="s-table"> (header O G B M A Y AV P); fixtures in <table class="fiksturListesiTable"> ("N.Hafta" headers, match rows with home club link, score link pageID=29&macId=..., away club link — unplayed matches show " - "). Multi-group leagues (Nesine 2. Lig, Nesine 3. Lig, BAL, women's and youth leagues) expose their groups as ?pageID=<id>&grupID=<n> links. Match details carry the teams in lnkTakim1/lnkTakim2, scores in MacDetaySayi spans, league/season in lblOrganizasyonAdi, match code in lblKod, date/time in lblTarih, the stadium as text between the code and the date, officials as NAME(ROLE) pairs, goals as "NAME,3.dk (F)" entries, and the starting XIs in the grdTakim1/2_rptKadrolar repeaters. Top scorers come from the rptGolKralligi repeater (pages 821/822/823/824). The site is legacy ASP.NET served as windows-1254, decoded explicitly. One site feature is documented, not faked: the weekly referees page (pageID=600) lists the 2./3. Lig rounds with EMPTY referee columns until appointments are announced close to match day — so referee data comes from the match-detail page instead. Transport uses Chrome TLS impersonation (curl-cffi, chrome120); requests are spaced ~0.8s apart; everything is read-only.
Install
uvx tff-mcp==0.1.1 # run directly (needs uv)
# or
pip install tff-mcp==0.1.1
tff-mcp # starts the MCP server on stdioTests
python -m venv .venv && .venv/bin/pip install -e .
.venv/bin/python -m unittest discover -s tests -vOffline tests run on recorded fixtures (real pages fetched 2026-11-09); live tests hit tff.org. 37/37 green at build time (20 offline + 17 live) plus an MCP stdio smoke test.
Roadmap
Disciplinary decisions (PFDK/AFDK pages) and suspended players (pageID=633)
Club pages (pageID=28&kulupID=...) — squad lists
National-team matches (pageID=425)
License
PolyForm Noncommercial 1.0.0 — see LICENSE.
Built by Mohammad Abbasi — Almanibama · mabbasi.ir
Available Tools
6 toolstff_fixturesA
League fixtures and results (fikstür): every match-week with home/away teams, score (null when not yet played), status ("played"/"scheduled"), TFF match id and match-detail URL. league: a slug from tff_list_leagues (default "trendyol-super-lig"). week: filter to one match-week (e.g. 12); omit for all weeks. group: for multi-group leagues only — index, group id, or name; default is the first group.
Inputs: week, group, league. Returns: result
tff_healthA
Check whether tff.org is reachable right now.
Returns status ok (HTTP 200), blocked (HTTP 403/429 — bot wall or rate limit) or error, plus the HTTP status and the probed URL. One polite request; it does not fetch any listings.
Inputs: no named parameters. Returns: result
tff_list_leaguesA
The 18 Turkish leagues covered (slug, Turkish name, TFF page id, whether it has groups, whether a top-scorers page exists). No arguments. Use a slug with tff_standings, tff_fixtures and tff_top_scorers.
Inputs: no named parameters. Returns: result
tff_match_detailA
Full detail of one TFF match. mac_id: the TFF match id, as returned by tff_fixtures (e.g. "317874"). Returns teams and score, date and time, stadium, league/season, match code, the officiating team (referee, assistants, VAR/AVAR, observer, representative), goals with minutes, and both starting XIs.
Inputs: mac_id (required). Returns: result
tff_standingsA
League standings (puan cetveli): rank, team, played/won/drawn/ lost, goals for/against, goal difference, points. league: a slug from tff_list_leagues (default "trendyol-super-lig"). group: for multi-group leagues only — index ("0"), group id, or name ("Kırmızı", "Beyaz", "01"); default is the first group, and the response lists all groups.
Inputs: group, league. Returns: result
tff_top_scorersA
Top scorers (gol krallığı): rank, player, club, goals. league: "trendyol-super-lig" (default), "trendyol-1-lig", "nesine-2-lig" or "nesine-3-lig" — the four leagues with a TFF scorers page. limit 1..50.
Inputs: limit, league. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct resource: league discovery, standings, fixtures, single-match detail, top scorers, and connectivity health. The only lightly adjacent pair (standings vs. fixtures) is clearly separated by description, and match detail explicitly requires a mac_id sourced from fixtures.
All tools share a consistent 'tff_' snake_case prefix, making them predictable and easy to scan. There is a minor deviation in that 'tff_list_leagues' uses a verb_noun form while the rest are resource nouns (standings, fixtures, match_detail), but this is readable and intentional.
Six tools is well-scoped for a league-data server, with no redundant or filler endpoints. Each tool covers a distinct data surface and the health probe is a justified addition given the noted 403/429 bot-wall behavior.
The core lifecycle is covered: discover leagues, read standings, browse fixtures, drill into a match, and get top scorers. Minor gaps exist — no team or squad lookup, no player-level stats beyond goals, and no search across leagues — but agents can work around these via match detail and standings.
Maintenance
Related MCP Connectors
Turkey data API for AI agents: 40 tools + search/call for 230+ endpoints. Addresses (provinces, districts, postal codes, boundaries), validation (IBAN, tax ID/VKN, TCKN, phone, barcode), tax and salary calculators, Official Gazette, exchange rates, gold, crypto, economic indicators, prayer times, holidays and business days, weather, air quality, earthquakes, dam levels, fuel prices, EV charging, power outages, tolls, pharmacies on duty, football standings. Turkish JSON, free plan.
Read-only search of 2,189 AI agent tools (MCP servers, x402 APIs) with daily automated trust scores.
Read-only access to your MetaTrader 4 and 5 accounts for AI agents: balances, open positions, trade history with win rate, live quotes, symbol specs and candles. It cannot place, modify or close orders.
Korean company facts in English for AI agents: ~830 KOSPI-listed companies (DART profiles, KRW financials, recent filings) and ~110,000 corporate public procurement suppliers (12-month KONEPS contract awards), plus live National Tax Service business status checks. 4 tools, keyless, read-only.
Related MCP Servers
- AlicenseAqualityDmaintenanceLive football/soccer data from top European leagues, enabling queries for standings, fixtures, scorers, and team comparisons via natural language.67 npmMIT
- AlicenseAqualityCmaintenanceEnables AI assistants to query live football data, including fixtures, live scores, standings, statistics, betting odds, and full odds movement history for corner and card lines.1115 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to query real-time standings, fixtures, Chinese/English club aliases, and tactical data for Europe's top five leagues and global football.6 npmMIT
- AlicenseAqualityBmaintenanceEnables read-only access to live scores, results, fixtures, league standings, and match details for football and basketball, with Turkish leagues prioritized.6MIT