Set up API Sports in Metorial for Claude, ChatGPT and Cursor
Share API Sports with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 23 tools, all read-only.
To give your team API Sports in Claude, ChatGPT, Cursor and other AI clients, an admin shares the API Sports integration in a Metorial portal, and each person connects with an API key. Agents can 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. The integration has 23 tools, all read-only, plus 3 triggers.
What you'll learn
- How an admin shares API Sports in a portal and how each person connects
- What API Sports asks for when you connect, and where to find it
- How to check the connection with
metorial call
Before you start
- A portal with at least one access group
- An API key from API Sports for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| API Key | API token | token |
API Key
To connect, a person enters:
token: Your API-Sports API key from the dashboard
Setup settings
Setup also asks for:
sport(optional): The sport API to use as the default for requests
Admin: share API Sports in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose API Sports. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.
Choose who gets it
Add the access groups that should see API Sports. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user API Sports integration. Once it exists, check which groups have it:
Employee: connect API Sports
In the portal
Open API Sports in the catalog
Sign in to your portal and open API Sports. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your API key (token).
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID.
Add it to your AI client
metorial install adds your API Sports connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Every API Sports tool only reads, so the connection is read-only as it is.
Check it worked
metorial tools lists the 23 tools, minus any you rejected. get_odds takes no input. It retrieves pre-match betting odds from multiple bookmakers for supported sports.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (23)
get_standings: Retrieve league standings and tables for a given competition and season. Needsleagueandseason.get_odds: Retrieve pre-match betting odds from multiple bookmakers for supported sports.get_countries: Retrieve available countries and their codes for use as filters in other tools.get_fixtures: Retrieve match fixtures, results, and schedules.search_teams: Search for teams across any supported sport.get_transfers: Retrieve football transfer history for a player or team.get_injuries: Retrieve player injury and suspension data for football.get_coaches: Retrieve football coach information including career history, photos, and biographical data.get_predictions: Retrieve AI-generated match predictions for a football fixture. NeedsfixtureId.get_team_statistics: Retrieve aggregated season statistics for a specific team in a given league. Needsleague,seasonandteam.get_player_stats: Retrieve football player profiles and season statistics, or player profiles for Basketball, NBA, NFL, Formula 1 drivers and MMA fighters.search_leagues: Search for leagues and competitions available in API-Sports.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.). NeedsfixtureId.get_nba_player_statistics: Retrieve original NBA player game statistics by player, game, team or season, including points, minutes, shooting, rebounds and assists.get_nba_standings: Retrieve NBA conference and division standings, wins, losses, percentages and streaks for a named league and season.get_mma_fighter_statistics: Retrieve original fighter statistics from an MMA fight, including strikes, takedowns and submission metrics when available.get_seasons: Discover the exact season identifiers accepted by a sport API.get_mma_fight_results: Retrieve the finish method, round, time and scorecards for an MMA fight when available.get_nba_leagues: Discover NBA league variant names, such as the main competition and summer leagues.get_nba_team_statistics: Retrieve NBA team season totals for scoring, shooting, rebounds, assists and other available metrics.get_football_top_scorers: Retrieve the football top scorers for a league and season, including original player profiles and statistics.get_football_squads: Retrieve a football team’s current squad, or the teams associated with a player.get_account_status: Retrieve the authenticated account identity, subscription and request usage for a sport API.
Triggers
API Sports has 3 triggers, which fire on events in API Sports:
fixture_results: Triggers when new fixture results become available for a configured league and season.inbound_webhookfixture_status_change: Triggers when a fixture starts, finishes, or changes status (e.g., halftime, extra time).
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use API Sports there
- Tool permissions: tool filters and what employees see
- API Sports on metorial.com: the integration overview