What dependencies does Pybaseball MCP Server require?
It requires the pybaseballstats, pandas, and numpy Python packages, as listed in the README.
@jweingardt12
Basic information
MCP server to fetch basic (and complex!) baseball-related stats.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mlb_mcp": {
"command": "python",
"args": [
"mcp_stdio_wrapper.py"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Pybaseball MCP Server is a FastAPI-based MCP (Model Context Protocol) server that exposes MLB and Fangraphs baseball data via the pybaseballstats library. It is intended for developers and applications that need programmatic access to baseball statistics through an MCP interface.
Install dependencies with pip install -r requirements.txt, then start the server with uvicorn main:app --reload. The server provides three HTTP GET endpoints: /player (Statcast data by name), /team_stats (team batting or pitching stats by team and year), and /leaderboard (MLB leaderboard by stat, season, and league). For an MCP STDIO interface, run the FastAPI server and then execute python mcp_stdio_wrapper.py.
/docs when server is running.It requires the pybaseballstats, pandas, and numpy Python packages, as listed in the README.
Run `uvicorn main:app --reload` in the project directory after installing dependencies.
First start the FastAPI server (e.g., `uvicorn main:app --host 0.0.0.0 --port 8000 &`), then run `python mcp_stdio_wrapper.py`.
Use HTTP POST to `http://localhost:8000/tools/list` or send a JSON‑RPC request via the STDIO wrapper: `echo '{"jsonrpc": "2.0", "method": "tools/list", "id": 1}' | python mcp_stdio_wrapper.py`.
Once the server is running, interactive API docs are available at `http://127.0.0.1:8000/docs`.
Mandate Law is a law firm for AI products, agents, and the consumer apps they live in, built so coding agents can work with counsel directly. An agent can check whether a request is in scope and get the fixed fee (free a

Model Context Protocol Servers

Your AI assistant logs your meals and workouts, then plans your week from what you did. iPhone, Android and Garmin.
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

Agent-native crypto ads: reach real crypto users from $0.05, paid in USDC via x402. No account.
Comments