Frequently Asked Questions (FAQ) - MCP Server for pybaseballstats
Q: What is an MCP Server? A: MCP (Model Context Protocol) Server acts as a bridge, allowing AI models to access and interact with external data sources and tools. It standardizes how applications provide context to LLMs.
Q: What data does the MCP Server for pybaseballstats provide?
A: It provides MLB and Fangraphs baseball data, including player Statcast data, team batting/pitching stats, and league leaderboards.
Q: What is pybaseballstats?
A: pybaseballstats is a Python library that provides access to MLB and Fangraphs baseball data. The MCP Server uses this library to fetch data.
Q: How do I install the MCP Server?
A: You can install it using pip install -r requirements.txt after cloning the repository. Then, run the server with uvicorn main:app --reload.
Q: How do I access the API documentation?
A: Once the server is running, you can access the interactive API documentation at http://127.0.0.1:8000/docs.
Q: Can I use this server with the UBOS platform? A: Yes! The MCP Server is designed to integrate seamlessly with the UBOS platform for AI agent development.
Q: What are some example API calls? A: Examples include:
GET /player?name=Mike Troutto get player statsGET /team_stats?team=Yankees&year=2023&type=battingto get team batting statsGET /leaderboard?stat=HR&season=2023&league=AL&type=battingto get league leaderboards.
Q: How can I list available tools?
A: You can list available tools using HTTP with curl -X POST http://localhost:8000/tools/list or using the STDIO wrapper.
Q: What are the system requirements for running the MCP Server?
A: The server requires Python and the dependencies listed in requirements.txt, including pandas and numpy.
Q: Is the data provided in real-time? A: The server can be configured to update its data regularly, but it may not be real-time depending on the source data update frequency.
Q: Can I use this server for commercial purposes?
A: Please review the licensing of pybaseballstats and any other dependencies to ensure compliance for commercial use. Also, review UBOS asset marketplace license.
MLB MCP
Project Details
- jweingardt12/mlb_mcp
- Last Updated: 6/4/2025
Recomended MCP Servers
Providing real-time and historical Crypto Fear & Greed Index data
Search, create and update Airtable bases, tables, fields, and records using Claude Desktop and MCP (Model Context Protocol)...
Model Context Protocol server for DeepSeek's advanced language models
MyAnimeList MCP Server
CLI & API for MCP management
nRepl mcp server for clojure. Enables interaction with a running Clojure nREPL instance, allowing evaluation of Clojure code,...
This is an mock MCP server for Oracle Netsuite
获取当前环境的 mcp





