What dependencies does the server require?
Python, `uv` (package manager), and libraries including `mcp[cli]`, `mlb-statsapi`, `httpx`, `pytest`, `pytest-asyncio`, and `matplotlib` (for plotting).
@etweisberg
基本信息
MCP server for advanced baseball analytics (statcast, fangraphs, baseball reference, mlb stats API)
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mlb-mcp": {
"command": "uv",
"args": [
"venv"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
A Python project that implements a Model Context Protocol (MCP) server for accessing Major League Baseball statistics. It combines the MLB Stats API and the pybaseball library (Statcast, FanGraphs, Baseball Reference) to provide structured baseball data to MCP-compatible clients like Claude Desktop.
Install uv, create a virtual environment (uv venv), activate it, and install dependencies (uv pip install -e .). Set the ANTHROPIC_API_KEY environment variable and optionally configure logging. Then add the server to your MCP client (e.g., Claude Desktop) using the provided JSON configuration.
MLB_STATS_LOG_LEVEL, MLB_STATS_LOG_FILE).Python, `uv` (package manager), and libraries including `mcp[cli]`, `mlb-statsapi`, `httpx`, `pytest`, `pytest-asyncio`, and `matplotlib` (for plotting).
Run `uv venv && source .venv/bin/activate && uv pip install -e .` in the project directory. Alternatively, install via Smithery with `npx -y @smithery/cli install @etweisberg/mlb-mcp --client claude`.
Add an entry to `claude_desktop_config.json` with the `command` set to your `uv` path, `args` pointing to `python -m mlb_stats_mcp.server`, and `env` for logging and API key.
Set the environment variables `MLB_STATS_LOG_LEVEL` (e.g., DEBUG, INFO) and `MLB_STATS_LOG_FILE` (path to log file). If the log file is not set, logs go to stdout.
The server provides tools for the MLB Stats API, Statcast data, and supplemental `pybaseball` functions for FanGraphs and Baseball Reference statistics.

B2B competitive intelligence, live sales battlecards, 5-axis ICP prospect fit scoring, and tech stack teardowns over MCP and REST with cited public-web evidence.

Connect your AI assistant to your own YOUB endurance training account. Read recorded activities with full analysis, planned sessions, race goals, wellness (HRV, sleep, resting HR) and your athletic profile. Create or mov
MCP Toolbox for Databases is an open source MCP server for databases.
Senso MCP turns a Joomla 5 or 6 site into a remote MCP server. It runs inside Joomla itself (no extra server, no Node.js bridge) and is secured with OAuth 2.1 and Joomla's own ACL. The free pack lets an AI assistant crea
PickFu MCP is a Model Context Protocol (MCP) server that connects AI assistants, developers, marketers, product managers, and AI agents to PickFu's consumer research platform. It enables users to create surveys, conduct
评论