MCP.so
Sign In

Mcp_mlb_statsapi

@mpizza

About Mcp_mlb_statsapi

This project provides an MCP (Multi-Channel Pipeline) server that acts as a wrapper for the MLB Stats API. It allows you to easily access and process various MLB data points, including schedules, game results, and team information. This server is designed for efficient data retri

Basic information

Category

Data & Analytics

License

MIT license

Runtime

python

Transports

stdio

Publisher

mpizza

Submitted by

PoYu Chen

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp_mlb_statsapi": {
      "command": "{YOUR_PYTHON_EXECUTABLE_PATH}/python",
      "args": [
        "-m",
        "mcp_mlb_statsapi"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Mcp_mlb_statsapi?

Mcp_mlb_statsapi is an MCP server that wraps the MLB Stats API, enabling access to MLB data such as schedules, game results, and team information. It is designed for efficient data retrieval and processing within an MCP framework.

How to use Mcp_mlb_statsapi?

Install the package via pip: pip install mcp_mlb_statsapi. Then configure it for Claude for Desktop by editing claude_desktop_config.json to add the MCP server entry as shown in the README. Alternatively, run it from source code using uvx.

Key features of Mcp_mlb_statsapi

  • Retrieve MLB game schedules with date range and team filters.
  • Fetch daily game results including scores and winning pitcher.
  • Get detailed results for a specific team’s most recent game.
  • Look up player IDs using fuzzy matching by name.

Use cases of Mcp_mlb_statsapi

  • Building a dashboard to display daily MLB game outcomes.
  • Automating player ID resolution for fantasy sports applications.
  • Creating tools to analyze a team’s performance in recent games.
  • Integrating MLB schedule data into custom workflows or analytics.

FAQ from Mcp_mlb_statsapi

What data can I retrieve with Mcp_mlb_statsapi?

You can retrieve game schedules (filtered by date range and team), daily game results, team-specific recent game results, and player IDs with fuzzy name matching.

How do I install Mcp_mlb_statsapi?

Install it via pip: pip install mcp_mlb_statsapi. Alternatively, clone the repository and run it from source.

How do I integrate Mcp_mlb_statsapi with Claude for Desktop?

Add the MCP server configuration to your claude_desktop_config.json file using the appropriate command (Python executable or uvx) as described in the README.

Does Mcp_mlb_statsapi support fuzzy matching for player lookup?

Yes, the player lookup tool supports fuzzy matching using last name, first name, or a combination of both.

What license is Mcp_mlb_statsapi released under?

It is licensed under the MIT License, allowing free use, modification, and distribution subject to the license terms.

Comments

More Data & Analytics MCP servers