How to connect Api sports MCP with Cursor

How to integrate Api sports MCP with Cursor Cursor is one of the leading AI-powered code editors. It is built to help developers write, understand, and refactor code faster with AI assistance built directly into the editor. And in this guide, I will explain the easiest and most secure way to connect your Api sports account to Cursor via Composio Connect, so it can show today's football fixtures for La Liga, get head-to-head record for Chelsea vs Arsenal, list injured players in Premier League this week, and more without ever putting your account credentials at risk.

Api sports logoApi sports
Api Key

Api sports is a comprehensive sports data platform covering 2,000+ competitions with live scores and 15+ years of stats. Instantly access up-to-date sports information for analysis, apps, or chatbots.

67 Tools

How to integrate Api sports MCP with Cursor

Cursor is one of the leading AI-powered code editors. It is built to help developers write, understand, and refactor code faster with AI assistance built directly into the editor.

And in this guide, I will explain the easiest and most secure way to connect your Api sports account to Cursor via Composio Connect, so it can show today's football fixtures for La Liga, get head-to-head record for Chelsea vs Arsenal, list injured players in Premier League this week, and more without ever putting your account credentials at risk.

Also integrate Api sports with

Why Composio?

  • 1,000+ SaaS toolkits out of the box. Skip the work of building and maintaining integrations, Composio gives you instant access to a vast catalog of pre-built connectors.
  • One MCP server for every app. Connect any of your applications on demand through a single endpoint, rather than juggling a separate server for each app.
  • Smart, context-aware tool loading. Unlike traditional MCP servers that dump every available tool into the LLM context window, Composio searches for and loads only the tools relevant to the task at hand. A remote CLI workbench lets LLMs compose these tools into workflows for complex automation.

Connect Api sports to Cursor

Two ways to install — pick whichever you prefer.

1. Install with one click

Click the button below to add Composio to Cursor.

Install in Cursor

2. Or add manually

Add to your Cursor mcp.json

Open .cursor/mcp.json in your project root (or ~/.cursor/mcp.json for global config) and add the following configuration:

bash
{
  "servers": {
    "composio": {
      "type": "http",
      "url": "https://connect.composio.dev/mcp"
    }
  }
}

3. Authorize

Restart Cursor, then click "Connect" next to Composio in MCP Tools settings.

Cursor MCP Tools settings with Connect button next to Composio

A browser window will open to authorize.

Composio authorization browser window

Connect your Api sports account

Back in Cursor, ask the agent to connect to Api sports or give it any Api sports-related task.

For example, ask it to:

  • "Show today's football fixtures for La Liga"
  • "Get head-to-head record for Chelsea vs Arsenal"
  • "List injured players in Premier League this week"

It will prompt you to authenticate and authorize access to Api sports.

That is it. Composio tools are now available in Cursor, and your Api sports account is ready to use.

Conclusion

You have successfully connected Api sports to Cursor using Composio Connect. Your agent can now use Api sports securely without exposing credentials in prompts or local scripts.

TOOLS

Supported Tools

Every Api sports action and event your agent gets out of the box.

Get AFL Games

Tool to retrieve AFL games and matches.

Get AFL Game Player Statistics

Tool to retrieve player statistics from AFL (Australian Football League) game(s).

Get AFL Seasons

Tool to get the list of available seasons for AFL.

Get AFL Standings

Tool to retrieve AFL standings for a league.

Get Baseball Games Head-to-Head

Tool to get head-to-head baseball games between two teams.

Get Basketball Bets

Tool to get all available basketball bet types.

Get Basketball Bookmakers

Tool to get all available basketball bookmakers.

Get basketball statistics

Tool to get basketball statistics for a team in a given league and season.

Get Formula 1 Circuits

Tool to get the list of available Formula 1 circuits.

Get Coaches

Tool to fetch coaches and their career history.

Get Countries

Tool to fetch available countries for league queries.

Get Fighters Records

Tool to get fighter career statistics.

Get Fixtures

Tool to retrieve football fixtures/matches.

Get fixtures events

Tool to get events (goals, cards, substitutions, VAR, etc.

Get Head-to-Head Fixtures

Tool to get head-to-head fixtures between two teams.

Get Fixture Lineups

Tool to retrieve starting XI and substitutes for a fixture.

Get fixtures players

Tool to get player statistics from a fixture.

Get Fixtures Rounds

Tool to get the rounds for a league or cup.

Get fixture statistics

Tool to get statistics for a fixture.

Get Formula 1 Competitions

Tool to retrieve Formula 1 competitions (Grand Prix races).

Get Formula 1 Races

Tool to retrieve Formula 1 race information for a given season.

Get Formula 1 Starting Grid

Tool to retrieve the starting grid for a Formula 1 race.

Get games events

Tool to get events (goals, penalties, etc.

Get AFL Games Quarters

Tool to retrieve AFL game quarter scores.

Get game statistics by teams

Tool to get team statistics from a game by ID.

Get Injuries

Tool to get injured or suspended players.

Get Leagues

Tool to retrieve leagues and cups.

Get League Seasons

Tool to get the list of available seasons for all leagues.

Get MMA Categories

Tool to fetch the list of all available MMA categories.

Get MMA Fighters

Tool to fetch MMA fighters data.

Get MMA Fights

Tool to retrieve the list of MMA fights according to given parameters.

Get MMA Fight Results

Tool to retrieve results from one or several MMA fights.

Get MMA Fighter Statistics

Tool to get fighter statistics from MMA fights.

Get NBA game statistics

Tool to get NBA game statistics including player stats for both teams.

Get NFL Standings Conferences

Tool to retrieve the list of available conferences for the NFL to be used in the standings endpoint.

Get Odds

Tool to fetch pre-match odds.

Get Odds Bets

Tool to get all available pre-match bet types.

Get Odds Bookmakers

Tool to list all available pre-match bookmakers.

Get In-Play Odds

Tool to fetch in-play odds for fixtures in progress.

Get Live Odds Bets

Tool to fetch all available bet types for in-play odds.

Get Odds Mapping

Tool to get the list of available fixture IDs for the odds endpoint.

Get Players

Tool to get player statistics.

Get Players Profiles

Tool to get the list of all available players.

Get Players Seasons

Tool to list all available seasons for player statistics.

Get Players Squads

Tool to get player squads.

Get player statistics

Tool to get player statistics for a specific basketball game.

Get Players Teams

Tool to get the list of teams and seasons in which a player played during his career.

Get Players Top Assists

Tool to get the 20 best players (top assists) for a league or cup.

Get Players Top Red Cards

Tool to get the 20 players with the most red cards for a league or cup.

Get Players Top Scorers

Tool to get the 20 best players (top scorers) for a league or cup.

Get Players Top Yellow Cards

Tool to get the 20 players with the most yellow cards for a league or cup.

Get Predictions

Tool to get predictions about a fixture.

Get Formula 1 Driver Rankings

Tool to retrieve Formula 1 driver rankings for a season.

Get Fastest Laps Rankings

Tool to get the ranking of the fastest laps for a Formula 1 race.

Get Race Rankings

Tool to retrieve rankings for a specific Formula 1 race.

Get Formula 1 Team Rankings

Tool to retrieve Formula 1 team rankings for a specific season.

Get Sidelined

Tool to get sidelined information (injuries, suspensions, etc.

Get Standings Divisions

Tool to retrieve the list of available divisions for an NFL competition to be used in the standings endpoint.

Get Standings Groups

Tool to retrieve the list of available groups for a league to be used in the standings endpoint.

Get Standings Stages

Tool to retrieve the list of available stages for a league to be used in the standings endpoint.

Get Teams

Tool to retrieve available teams.

Get Team Seasons

Tool to get the list of seasons available for a team.

Get team statistics

Tool to get detailed statistics of a team for a given league and season.

Get Timezone

Tool to fetch the complete list of available timezones for fixture queries.

Get Transfers

Tool to get all available transfers for players and teams.

Get Trophies

Tool to get trophies for a player or coach.

Get Venues

Tool to retrieve available venues.

FAQ

Frequently asked questions

With a standalone Api sports MCP server, the agents and LLMs can only access a fixed set of Api sports tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Api sports and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Cursor fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Api sports tools.

Yes, absolutely. You can configure which Api sports scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Api sports data and credentials are handled as safely as possible.

Start with Api sports.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Api sports tool your agent needs.Free to start.

Start building