mlb-mcp
Active·★ 34·Updated 2026-09-20
This project implements a Model Context Protocol (MCP) server for accessing MLB statistics via the MLB Stats API and pybaseball library. It provides structured tools for statcast, fangraphs, baseball reference data, and includes plotting capabilities. Designed for integration with MCP-compatible clients like Claude Desktop.
#baseball-analytics#baseball-data#baseball-statistics#fangraphs#mcp#mcp-client#mcp-server#mcp-servers
01
Features
01Access MLB Stats API for live player and team data
02Query Statcast data for advanced metrics
03Generate matplotlib plots (base64 encoded) from pybaseball
04Retrieve fangraphs and baseball reference statistics
05Configurable logging and easy deployment via uv
02
Compatibility
macOS
macOS
Verified via docs
Linux
Linux
Verified via docs
Windows
Windows
Verified via docs
03
Quick start
1
$ uv venv
2
$ source .venv/bin/activate
3
$ uv pip install -e .
04
Use cases
↳Integrate live baseball stats into AI assistants like Claude Desktop
↳Analyze player performance using Statcast and advanced metrics
↳Create automated visual reports of baseball data
05
Alternatives
teslamate-mcp★ 140
A Model Context Protocol (MCP) server that provides access to your TeslaMate database, allowing AI assistants to query Tesla vehicle data and analytics.
agent★ 522
A unified Model Context Protocol server implementation that aggregates multiple MCP servers into one.
awesome-mcp-hardware★ 59
Awesome list of MCP servers for interacting with hardware and the physical world.
Comments
Log in to leave a comment
No comments yet. Be the first!