Skip to main content
Glama
football-api-mcp

football-api-mcp

football-api-mcp

MCP-сервер (Model Context Protocol) для 5DollarFootballAPI — предоставляет Claude, Cursor и любому MCP-совместимому ИИ-ассистенту живые данные о футболе: расписание матчей, live-счета, турнирные таблицы, статистику, букмекерские коэффициенты и полную историю движения коэффициентов, включая линии по угловым и карточкам.

Спросите своего ассистента, например:

  • «Какие матчи Премьер-лиги сегодня и какие текущие счета?»

  • «Покажи таблицу по угловым для лиги 39 в этом сезоне.»

  • «Как менялись коэффициенты 1x2 для матча 1234567 до начала игры?»

Настройка

Вам нужен API-ключ от 5dollarfootballapi.com — бесплатный тариф (без карты) покрывает расписание матчей, live-счета и турнирные таблицы; инструменты коэффициентов требуют платного плана (от $5/мес).

Claude Code

claude mcp add football-api -e FIVEDOLLARFOOTBALL_API_KEY=fb_live_your_key -- npx -y football-api-mcp

Claude Desktop

Добавьте в claude_desktop_config.json:

{
  "mcpServers": {
    "football-api": {
      "command": "npx",
      "args": ["-y", "football-api-mcp"],
      "env": { "FIVEDOLLARFOOTBALL_API_KEY": "fb_live_your_key" }
    }
  }
}

Cursor

Добавьте в .cursor/mcp.json (для проекта) или ~/.cursor/mcp.json (глобально):

{
  "mcpServers": {
    "football-api": {
      "command": "npx",
      "args": ["-y", "football-api-mcp"],
      "env": { "FIVEDOLLARFOOTBALL_API_KEY": "fb_live_your_key" }
    }
  }
}

Related MCP server: api-football-mcp-server

Инструменты

Инструмент

Что делает

get_fixtures

Расписание матчей на календарный день (по умолчанию сегодня, UTC) с live-счетами, угловыми, карточками

get_fixture

Один матч, опционально с таймлайном событий и статистикой матча

get_fixture_odds

Текущие коэффициенты: 1x2, азиатский гандикап, тотал голов, линия угловых, линии карточек, обе забьют (BTTS)

get_odds_history

Каждое зафиксированное изменение цены для матча и рынка — до матча и в игре

get_bookmakers

Слаги букмекеров, доступные в инструментах коэффициентов

get_standings

Турнирная таблица — очки, угловые или карточки

search_leagues / search_countries

Поиск id лиг и стран по названию

get_league_fixtures

Матчи и результаты сезона лиги

get_team_fixtures

Матчи команды, сначала самые свежие

get_account_status

Ваш план, использование и состояние лимитов

Все инструменты доступны только для чтения. Ошибки возвращаются как ошибки инструмента с кодом ошибки API и идентификатором запроса, чтобы ассистент мог объяснить, что пошло не так.

Разработка

npm install
npm test          # in-memory MCP client/server tests, no network
FIVEDOLLARFOOTBALL_API_KEY=... npm start   # run over stdio

Базовый HTTP-клиент — официальный пакет fivedollarfootball. Справочник по эндпоинтам: 5dollarfootballapi.com/docs.

Лицензия

MIT

Available Tools

11 tools
get_account_statusA
Read-onlyIdempotent

Your API plan, usage and rate-limit state.

Inputs: no named parameters.

get_bookmakersA
Read-onlyIdempotent

List the bookmaker slugs usable in the odds tools.

Inputs: no named parameters.

get_fixtureA
Read-onlyIdempotent

Get one fixture by id, optionally with the event timeline (goals, cards, corners) and match statistics.

Inputs: fixture_id (required), lang, include_stats, include_events.

get_fixture_oddsA
Read-onlyIdempotent

Current betting odds for a fixture: 1x2, Asian handicap, goal line, corner line, card lines, BTTS — per bookmaker.

Inputs: fixture_id (required), market, bookmakers.

get_fixturesA
Read-onlyIdempotent

List football fixtures for a calendar day (UTC). Defaults to today. Includes live scores, corners and cards for each match.

Inputs: date, lang, page, status, +1 more.

get_league_fixturesB
Read-onlyIdempotent

A league season's fixtures and results.

Inputs: league_id (required), lang, page, season, +1 more.

get_odds_historyA
Read-onlyIdempotent

Full price-movement history (every recorded tick) for one fixture and market. Each tick has the price, match minute, running score and UTC timestamp.

Inputs: market (required), fixture_id (required), page, bookmaker.

get_standingsA
Read-onlyIdempotent

League table for a league and season. type "corner" and "card" return corner/card standings instead of points.

Inputs: league_id (required), lang, type, season.

get_team_fixturesB
Read-onlyIdempotent

A team's matches home or away, most recent first.

Inputs: team_id (required), lang, page, status.

search_countriesA
Read-onlyIdempotent

List countries (optionally filtered by name substring), for use with search_leagues.

Inputs: lang, page, search.

search_leaguesA
Read-onlyIdempotent

Find leagues by name, country or popularity. Use this to discover league ids.

Inputs: lang, page, search, popular, +1 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 11 tools

    Disambiguation5/5

    Each tool targets a distinct resource/scope: fixtures are separated by day, id, league, and team; odds, standings, searches, and account status are clearly distinct. The descriptions make the boundaries between the fixture-listing tools explicit enough that an agent should not misselect.

    Naming Consistency5/5

    All tools follow a consistent snake_case action_noun pattern, with get_ used for retrieval and search_ used specifically for discovery. This is a predictable and readable convention across the entire toolset.

    Tool Count5/5

    11 tools is a well-scoped count for a football data and odds API. Each tool covers a meaningful area such as fixtures, standings, odds, discovery, or account status without feeling bloated or sparse.

    Completeness4/5

    Core workflows around fixtures, standings, odds history, and league/country discovery are covered well. The main gap is the lack of a team search or direct team lookup, which makes get_team_fixtures harder to use unless team IDs are first extracted from fixture data.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides live football match data from Sofascore, including formations, injuries, betting odds, and league positions, enabling natural language queries about matches.
      1
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables natural language querying of football/soccer data via the API-Football service, providing access to leagues, teams, players, fixtures, standings, and statistics.
      2
      -
    • A
      license
      A
      quality
      D
      maintenance
      Provides AI agents with real football data from the OpenFoot API, including fixtures, standings, lineups, live events, shot-level xG with pitch coordinates, league tables, and fair odds.
      12
      40 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to query real-time standings, fixtures, Chinese/English club aliases, and tactical data for Europe's top five leagues and global football.
      205 npm
      MIT