API Sports MCP server

Connect API Sports to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.

What you can do with the API Sports MCP server

Ask your agent in plain language. Each of these maps to a real tool on the server.

  • Use the get standings tool in API Sports
  • Use the get odds tool in API Sports
  • Use the get countries tool in API Sports
  • Use the get fixtures tool in API Sports
  • Use the search teams tool in API Sports
  • Use the get transfers tool in API Sports

Supported Tools

get_standings

Get Standings

Retrieve league standings and tables for a given competition and season. Returns the full ranking with team statistics including points, wins, draws, losses, goals, form, and group information where applicable.

get_odds

Get Odds

Retrieve pre-match betting odds from multiple bookmakers for supported sports. NBA and Formula 1 do not expose this odds endpoint. For other sports, fixture maps to the provider game or fight ID; only football supports pagination and timezone filters. Filter by fixture, league, season, or date. Returns odds for various bet types (match winner, over/under, both teams to score, etc.) across all available bookmakers.

get_countries

Get Countries

Retrieve available countries and their codes for use as filters in other tools. Can search by name or code. Returns country flags and ISO codes.

get_fixtures

Get Fixtures

Retrieve match fixtures, results, and schedules. Supports filtering by league, team, date range, status, and round. Filters vary by sport: football supports date ranges and last/next; most other team sports use an ID, date, league, season or team. NBA uses nbaLeague names. Formula 1 returns races and MMA returns fights; their complete details are retained in raw. Can also retrieve live games by setting **live** to true.

search_teams

Search Teams

Search for teams across any supported sport. Filter by league, country, or name. Returns team details including venue information and logos. Use this to discover team IDs for use with other tools.

get_transfers

Get Transfers

Retrieve football transfer history for a player or team. Returns transfer dates, types (loan, free, fee), and the teams involved. Useful for tracking transfer activity and player movement history.

get_injuries

Get Injuries

Retrieve player injury and suspension data for football. Filter by league, season, fixture, team, or specific player. Returns injury type, reason, and affected fixture information.

get_coaches

Get Coaches

Retrieve football coach information including career history, photos, and biographical data. Search by name or filter by team to find coaching staff.

get_predictions

Get Predictions

Retrieve AI-generated match predictions for a football fixture. Includes predicted winner, win probabilities, expected goals, betting advice, and team form analysis. Available for football fixtures only.

get_team_statistics

Get Team Statistics

Retrieve aggregated season statistics for a specific team in a given league. Returns overall record, goals analysis, streaks, form, and performance data. Primarily for football; requires league, season, and team IDs.

get_player_stats

Get Player Statistics

Retrieve football player profiles and season statistics, or player profiles for Basketball, NBA, NFL, Formula 1 drivers and MMA fighters. NBA game statistics are available through get_nba_player_statistics. Other sports do not expose player directories. Search players by name, or filter by team, league, and season. Returns player biographical data and per-league performance stats including goals, assists, appearances, cards, and ratings.

search_leagues

Search Leagues

Search for leagues and competitions available in API-Sports. Filter by country, season, name, or type. Returns league details including available seasons and coverage information. Use this to discover league IDs needed by other tools.

get_match_details

Get Match Details

Retrieve comprehensive details for a specific football fixture including in-game events (goals, cards, substitutions, VAR decisions), lineups with formations, and match statistics (possession, shots, corners, etc.). Combines data from multiple endpoints into a single response.

get_nba_player_statistics

Get NBA Player Statistics

Retrieve original NBA player game statistics by player, game, team or season, including points, minutes, shooting, rebounds and assists. Provide at least one filter.

get_nba_standings

Get NBA Standings

Retrieve NBA conference and division standings, wins, losses, percentages and streaks for a named league and season.

get_mma_fighter_statistics

Get MMA Fighter Statistics

Retrieve original fighter statistics from an MMA fight, including strikes, takedowns and submission metrics when available.

get_seasons

Get Seasons

Discover the exact season identifiers accepted by a sport API. Basketball can use split-year strings; most sports use four-digit years.

get_mma_fight_results

Get MMA Fight Results

Retrieve the finish method, round, time and scorecards for an MMA fight when available.

get_nba_leagues

Get NBA Leagues

Discover NBA league variant names, such as the main competition and summer leagues. Pass these exact strings to NBA tools and nbaLeague filters.

get_nba_team_statistics

Get NBA Team Statistics

Retrieve NBA team season totals for scoring, shooting, rebounds, assists and other available metrics. Optionally filter a season stage.

get_football_top_scorers

Get Football Top Scorers

Retrieve the football top scorers for a league and season, including original player profiles and statistics.

get_football_squads

Get Football Squads

Retrieve a football team’s current squad, or the teams associated with a player. Provide a team ID or player ID.

get_account_status

Get Account Status

Retrieve the authenticated account identity, subscription and request usage for a sport API.

Connect API Sports to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. Enable API Sports in Metorial. In your Metorial portal, enable the API Sports MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load API Sports tools.

Run API Sports through the Metorial gateway

One governed layer for every app your agents reach, not a separate connector per tool.

  • Give API Sports and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use API Sports tools with role-based access control, and trace every call.
  • Prefer to run it yourself? Metorial is open source and self-hostable.

More integrations teams use with API Sports

Google Sheets

Create, read, and update spreadsheets and their cell data. Read and write values to individual cells, ranges, or multiple ranges using A1 notation or named ranges. Apply cell formatting including text styles, backgrounds, borders, number formats, and conditional formatting. Manage sheets (tabs) within a spreadsheet—add, delete, copy, rename, and reorder them. Create and manage embedded charts, pivot tables, filter views, data validation rules, protected ranges, named ranges, and merged cells. Perform batch operations to apply multiple updates atomically.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Retrieve site properties and search for sites across Microsoft 365.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Google Drive

Upload, download, create, copy, move, rename, trash, and permanently delete files and folders in Google Drive. Search for files using complex queries filtering by name, MIME type, owner, modification date, labels, and other metadata. Share files and folders with specific users, groups, or domains with role-based permissions (owner, writer, commenter, reader). Manage shared drives and their members. Export Google Workspace files (Docs, Sheets, Slides) to standard formats like PDF, DOCX, and XLSX. Track file revision history and restore earlier versions. Create, read, update, and delete threaded comments and replies on files. Read label definitions and search files by label. Browse the Drive apps installed for your account. Store app-specific data in a hidden per-user folder.

Technical notes for API Sports

Retrieve real-time and historical sports data across 12 sports including football, basketball, NBA, NFL, baseball, hockey, Formula 1, MMA, rugby, handball, volleyball, and AFL. Look up leagues, teams, players, fixtures, and live scores updated every 15 seconds. Access match events (goals, cards, substitutions), lineups, formations, and detailed match and season statistics. Retrieve league standings, pre-match and live betting odds, AI-generated match predictions, player injuries, coach profiles, and transfer history. Query Formula 1 race results, pit stops, and driver rankings. Filter data by league, season, date, team, round, or status.

Frequently asked questions

Common questions about connecting API Sports to AI agents with Metorial.

  1. How many tools does the API Sports MCP server have?
    The API Sports MCP server exposes 23 tools, including Get Standings, Get Odds, Get Countries. Each one is governed and traced through Metorial.
  2. API Sports exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the API Sports MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use API Sports and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the API Sports MCP server yourself or use the hosted gateway.

Connect API Sports to production AI agents

See how Metorial gives your team governed access to API Sports, with tracing and security controls built in.