Pybaseball MCP Server

A Model Context Protocol (MCP) server that provides comprehensive MLB baseball statistics with video highlights through the pybaseball library.

Local serverstdio

What is the Pybaseball MCP Server?

Pybaseball MCP Server is an MCP project maintained in the jweingardt12/mlb_mcp repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server that provides comprehensive MLB baseball statistics with video highlights through the pybaseball library”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using uv. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the Pybaseball MCP Server

{
  "mcpServers": {
    "mlb-stats": {
      "command": "uv",
      "args": [
        "run",
        "python",
        "-m",
        "mlb_mcp.server"
      ],
      "cwd": "/path/to/mlb_mcp"
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.