baseball-mcp logo

baseball-mcp

by mpizza

This project provides an MCP server that acts as a wrapper for the MLB Stats API. It allows you to easily access and process various MLB data points within an MCP framework.

View on GitHub

Last updated: N/A

What is baseball-mcp?

This is an MCP server that wraps the MLB Stats API, providing an interface for retrieving and processing MLB data within a Multi-Channel Pipeline (MCP) environment.

How to use baseball-mcp?

Install the package using pip or clone the repository and install dependencies. Configure the server within your Claude desktop environment by adding the server configuration to the claude_desktop_config.json file, specifying the command and arguments to run the server.

Key features of baseball-mcp

  • Game Schedules

  • Game Results

  • Team Results

  • Player Lookup

Use cases of baseball-mcp

  • Retrieving MLB game schedules

  • Fetching daily game results

  • Obtaining detailed team results

  • Looking up player IDs

FAQ from baseball-mcp

What is MCP?

MCP stands for Multi-Channel Pipeline, a framework for data processing.

What data can I access?

You can access game schedules, game results, team information, and player data.

What are the prerequisites for installation?

You need Python 3.10 or newer and the uv package manager.

How do I install the package?

You can install it via PyPI using pip or by cloning the GitHub repository.

Where can I find more information about the MLB Stats API?

The project utilizes the MLB-StatsAPI library: https://github.com/toddrob99/MLB-StatsAPI