baseballapi
3.5
The BaseballApi MCP Server provides comprehensive baseball data, including live scores, statistics, and detailed information on leagues, teams, and players worldwide.
BaseballApi is a powerful server dedicated to delivering real-time baseball scores and results from major leagues such as MLB, Japan Professional League, Mexican League, German 1.Bundesliga, NCAA, and international tournaments like the World Baseball Classic. The server provides access to league standings, past game results by innings, and schedules for upcoming matches. All data is sourced from third-party providers and organized for easy access and integration.
Features
- Live Scores: Access live scores for ongoing baseball games in major leagues and tournaments worldwide.
- League Standings: Retrieve current standings for various baseball leagues, including home, away, and total standings.
- Match Details: Obtain detailed information on specific baseball matches, including player statistics, lineups, and highlights.
- Player Information: Get comprehensive data on baseball players, including regular season statistics, last matches, and player images.
- Team Information: Access detailed information on baseball teams, including upcoming and past matches, team standings, and player rosters.
MCP Tools
- Search: Find baseball-related entities using a search term, filtering results to show only relevant data.
- MatchPlayerStatistics: Retrieve player statistics for a specific match.
- MatchLineups: Get the lineups for a specific match.
- MatchStatistics: Access match statistics for a given game.
- MatchHighlights: View highlights of a specific match.
- MatchSchedules: Check match schedules for a given date.
- MatchDetails: Get detailed information on a specific match.
- LiveMatches: List live matches currently taking place.
- MatchOdds: Retrieve betting odds for a specific match.
- MatchH2HDuel: Access head-to-head duels for a specific match.
- MatchVotes: Get voting data for a specific match.
- HeadToHeadMatches: Retrieve head-to-head match data.
- PreMatchForm: Access pre-match form data.
- PlayerNearMatches: Get upcoming matches for a specific player.
- PlayerRegularSeasonStatistics: Retrieve regular season statistics for a player.
- PlayerStatisticsSeasons: Access statistics across seasons for a player.
- PlayerLastMatches: List the last matches played by a player.
- PlayerImage: Get the image of a player.
- PlayerDetails: View detailed information about a player.
- TeamStandingsSeasons: Get team standings across different seasons.
- TeamTournaments: Find tournaments in which a team participates.
- TeamLogoImage: Retrieve the logo image of a team.
- TeamNextMatches: Access upcoming matches for a team.
- TeamDetails: Get detailed information about a team.
- TeamNearMatches: Find near matches for a team.
- TeamLastMatches: List the last matches for a team.
- TeamMedia: Access media related to a team.
- TeamPlayers: List players on a team.
- LeagueAwayStandings: Retrieve away standings for a league.
- LeagueDetails: Get detailed information about a league.
- LeagueHomeStandings: Access home standings for a league.
- LeagueTotalStandings: View total standings for a league.
- LeagueNextMatches: Get upcoming matches within a league.
- LeagueMedia: Access media related to a league.
- LeagueTotalTeamEvents: Retrieve team events in a league.
- LeagueCupTrees: Access cup trees for a league.
- CategoryTournaments: List leagues within a category.
- LeagueAwayTeamEvents: Retrieve away team events for a league.
- LeagueSeasons: Access seasons available for a league.
- CategorySchedules: Get match schedules for a category.
- LeagueLogoImage: Retrieve the logo image of a league.
- LeagueLastMatches: List the last matches for a league.
- LeagueHomeTeamEvents: Access home team events for a league.
- Categories: List all baseball categories.
Usage with Different Platforms
python
python
import requests
url = 'https://api.baseballapi.com/matches/live'
response = requests.get(url)
print(response.json())
nodejs
javascript
const axios = require('axios');
axios.get('https://api.baseballapi.com/matches/live')
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error('Error fetching live matches:', error);
});