MCP Mlb Statsapi
An MLB data API encapsulation service based on the MCP framework, providing functions such as schedule query, game result query, team information query, and player query.
rating : 2 points
downloads : 20
What is baseball-mcp?
This is an MCP server specially designed for baseball enthusiasts. It encapsulates the official MLB data interface, enabling you to easily query various game information of the Major League Baseball. You can obtain professional data such as schedule arrangements, game results, and team records through simple commands.How to use baseball-mcp?
After installing the Python environment, install this service package via pip, and then configure the server address in applications that support MCP, such as Claude, to start querying. It supports both natural language and structured queries.Applicable scenarios
Suitable for baseball data analysts, sports journalists, game commentators, and ordinary baseball fans. It can be used in scenarios such as making game reports, analyzing team performance, and tracking player data.Main features
Game schedule queryYou can query the MLB schedules by date range and support filtering by team. It provides basic information such as game time and competing teams.
Game result queryGet the daily game results, including detailed data such as scores, win - loss situations, and winning pitchers.
Team data queryQuery the detailed game data of a specific team, including in - depth information such as the scoring process and exciting moments.
Player searchFind the player ID by name, supporting fuzzy matching. It can query both Chinese and foreign player names.
Advantages and limitations
Advantages
The data source is authoritative, directly connected to the official MLB API
The query method is flexible, supporting natural language input
The response speed is fast, and the data acquisition process is optimized
It is Chinese - friendly and supports mixed Chinese and English queries
Limitations
It is limited to MLB game data and does not include other leagues
Some historical data may be incomplete
It requires a Python runtime environment
How to use
Installation preparation
Ensure that Python 3.10 or a later version is installed. It is recommended to use the uv package manager.
Install the service package
Install the mcp_mlb_statsapi package via pip
Configure the MCP client
Add the server configuration in applications that support MCP, such as Claude
Usage examples
Query today's scheduleFind out which MLB games are being played today
Get the latest record of the YankeesTrack the latest performance of a specific team
Find player informationFind a specific player by name
Frequently Asked Questions
Is it necessary to pay for using it?
How often is the data updated?
Which query languages are supported?
Can historical data be obtained?
Related resources
Demo video 1 - Quick overview
Demonstration of basic functions
Demo video 2 - Chinese query
Show the Chinese query function
MLB - StatsAPI project
The core library that this project depends on
uv installation guide
Installation instructions for the package manager
Featured MCP Services

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
85
4.3 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
140
4.5 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
829
4.3 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
564
5 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
282
4.5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
753
4.8 points