# SportsDB MCP for AI Agents AI Agent Connect

> SportsDB connects your AI agent to a massive database of global sports information. You can query 200+ leagues to find team stats, player profiles, live scores, and league tables. It's the quickest way to get accurate sports data into your workflow without manual searching.

## Overview
- **Category:** data-analytics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_w19vEp3UB55oua606h053yjxgt7OGWoPDENx21gL/ai-agent-connect
- **Tags:** sports, football, scores, league-tables, player-stats

## Description

Imagine you're trying to write a deep-dive piece on a specific football club's history or need to pull the latest standings for a league halfway across the world. Usually, this means opening dozens of tabs, cross-referencing different websites, and manually copying stats into a spreadsheet. With this Connector, your AI agent does the heavy lifting for you. You can just ask for the data, and it pulls the specific numbers, team badges, and career histories instantly. Whether you're a journalist looking for a specific match result or a fantasy sports enthusiast trying to break down a player's recent form, the data shows up exactly how you need it. It handles the tedious parts of sports research so you can focus on the analysis. You can find this and other high-quality connectors in the Vinkius catalog to build out your agent's capabilities.

## Tools

### search_events
Find specific sports events or matches using a name or keyword. This is perfect for locating specific historical or upcoming games.

### get_last_events
Retrieve the most recent match results for a specific team. This is useful for checking recent form and scores.

### get_league_details
Get comprehensive information about a specific sports league. This provides context on the competition and structure.

### get_league_table
Pull current standings including points, goals, and form. This gives you a clear look at the current leaderboard.

### get_next_events
See upcoming fixtures and scheduled matches for any team. Use this to plan your coverage of future games.

### get_player_details
Get deep-dive information on a specific player's career and stats. This provides a full profile for your research.

### get_team_details
Get full details on a team, including their venue and badges. This is great for gathering official team information.

### list_all_countries
See every country currently represented in the sports database. This helps you understand the global reach of the data.

### list_all_leagues
Browse all available leagues across different sports and countries. This lets you see the full scope of supported competitions.

### list_all_sports
See a full list of all sports currently supported by the Connector. This gives you a quick overview of the database contents.

### search_players
Find players by name to get their nationality and current team information. This helps you quickly identify athletes for your reports.

### search_teams
Search for teams by name to get their league, country, and sport. This helps you quickly categorize teams from different regions.

## Prompt Examples

**Prompt:** 
```
What's the current standing for the Spanish La Liga?
```

**Response:** 
```
Here are the current standings for La Liga:

| Rank | Team | Points | Goal Difference |
| :--- | :--- | :--- | :--- |
| 1 | Real Madrid | 88 | +15 |
| 2 | Barcelona | 85 | +12 |
| 3 | Atletico Madrid | 79 | +8 |

**Key Highlights:**
* **Real Madrid** currently leads by 3 points.
* **Barcelona** has maintained a strong goal difference this season.
```

**Prompt:** 
```
Can you find the last 3 results for Manchester City?
```

**Response:** 
```
Here are the most recent results for Manchester City:

* **Result 1:** Win vs. Arsenal (3-1)
* **Result 2:** Draw vs. Liverpool (1-1)
* **Result 3:** Win vs. Newcastle (4-0)

Manchester City has won 2 of their last 3 matches, maintaining a strong home record.
```

**Prompt:** 
```
What are the top teams in the MLS?
```

**Response:** 
```
Based on the current league table, the top teams in the MLS are:

1. **Inter Miami CF**
2. **Columbus Crew**
3. **Los Angeles FC**

Would you like to see the full points table or the details for a specific team?
```

## Capabilities

### Pull live league standings
Get current points and goal data for any league in the database.

### Find specific players
Locate player metadata like nationality and current team by name.

### Track upcoming fixtures
See what matches are happening next for any team or league.

### Browse global sports
Explore every country and league currently represented in the system.

### Fetch team profiles
Get details on venues, badges, and team history for your research.

### Search for sports events
Find specific matches using keywords or names across 200+ leagues.

## Use Cases

### Drafting a league summary
A sports journalist needs to write a summary of a league's final standings and asks the agent to pull the table for the Premier League using get_league_table.

### Analyzing player form
A fantasy sports player wants to know a player's recent form and asks the agent to find the last five match results for their team using get_last_events.

### Compiling global league data
A content creator wants to find every league in a specific country and asks the agent to list all leagues for Brazil using list_all_leagues.

### Fact-checking team venues
A fan wants to know where a specific team plays its home games and asks the agent to get the team details for Real Madrid using get_team_details.

## Benefits

- Get accurate league tables instantly using get_league_table to see points and goal differences without manual searching.
- Find specific player data with search_players to quickly identify nationalities and current teams for your reports.
- Track match schedules easily with get_next_events to stay ahead of upcoming fixtures in any sport.
- Access deep team histories using get_team_details to pull venue info and official badges for your projects.
- Browse every available sport and country with list_all_sports and list_all_countries to see the full scope of the database.

## How It Works

The bottom line is you get instant access to thousands of sports data points through a single chat interface.

1. Subscribe to the SportsDB MCP on Vinkius.
2. Get a free API key from the official SportsDB website.
3. Add the key to your AI client to start querying live sports data.

## Frequently Asked Questions

**Can I use SportsDB to find scores for my favorite team?**
Yes, you can ask your agent to find the most recent results or upcoming fixtures for any team in the database to stay updated.

**How many different sports does the SportsDB MCP support?**
It supports a wide range of sports across 200+ leagues worldwide, including football, basketball, and many others.

**Can I get league standings from SportsDB?**
Yes, you can pull current league tables including points, goals, and form data for various competitions globally.

**Does SportsDB provide player career stats?**
It provides detailed player profiles, including nationality, current team, and career metadata to help with your research.

**Can I use this to find team venues and badges?**
Yes, the Connector can retrieve specific team details such as their home venues and official badges.

**Is SportsDB good for fantasy sports research?**
It is excellent for fantasy sports because it allows you to quickly pull player data and recent team results to inform your picks.

**What sports are supported?**
SportsDB covers 200+ leagues across football (soccer), basketball, baseball, American football, ice hockey, motorsport, tennis, rugby, cricket, and many more.