Research & Data · Entertainment & Media

mlb_mcp logo

mlb_mcp

jweingardt12/mlb_mcp

A Model Context Protocol (MCP) server that provides comprehensive MLB baseball statistics with video highlights through the pybaseball library. This MCP server enables AI assistants to access real-time MLB statistics, historical data, and video highlights.

Install

Client configuration

{
  "mcpServers": {
    "mlb-stats": {
      "command": "uv",
      "args": [
        "run",
        "python",
        "-m",
        "mlb_mcp.server"
      ]
    }
  }
}
Category
Research & Data, Entertainment & Media
Updated
Oct 6, 2026

About mlb_mcp

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

This MCP server enables AI assistants to access real-time MLB statistics, historical data, and video highlights. It provides eight powerful tools for querying baseball data, from individual player performance to team statistics and advanced Statcast metrics.

Features

  • Returns: Player statistics including hits, home runs, exit velocity, launch angle, and barrel rate

  • Returns: Player stats with overall metrics, breakdown by pitch type/result, and top 5 examples with video links

  • Example Queries:

Tools (8)

  • get_player_stats

    Get detailed Statcast data for any MLB player with optional date filtering.

  • player_statcast

    Get comprehensive Statcast data for a specific player with advanced pitch-type and result filtering.

  • get_team_stats

    Retrieve comprehensive team batting or pitching statistics for any season.

  • get_leaderboard

    Access statistical leaderboards for any MLB stat category.

  • statcast_leaderboard

    Query advanced Statcast data with filtering, sorting, and video highlight links.

  • team_season_stats

    Get fast team season averages for Statcast metrics.

  • team_pitching_stats

    Get fast team pitching averages for Statcast metrics.

  • statcast_count

    Count Statcast events matching specific criteria.

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS

Related MCP servers

More servers
Firecrawl MCP Server logo

Firecrawl MCP Server

mendableai/firecrawl-mcp-server

2.8k

A Model Context Protocol (MCP) server that brings Firecrawl to MCP-compatible AI agents — search, scrape, and interact with the live web for clean, agent-ready context.

Research & Data
Exa Web Search logo

Exa Web Search

exa-labs/exa-mcp-server

1.4k

Connect AI agents to Exa for web search, content fetching, and multi-step research.

Research & Data
ArXiv logo

ArXiv

blazickjp/arxiv-mcp-server

1k

A local MCP server for agent literature work. The differentiator is original-LaTeX section reads, BibTeX from arXiv metadata, and topic watches. Papers stay on disk.

Research & Data
sail logo

sail

lakehq/sail

730

Sail is a drop-in Apache Spark replacement written in Rust, unifying batch processing, stream processing, and compute-intensive AI workloads on a distributed, multimodal compute engine.

Research & Data

OpenAPI Proxy

janwilmake/openapi-mcp-server

554

A Model Context Protocol (MCP) server for Claude/Cursor that enables searching and exploring OpenAPI specifications through oapis.org.

Research & Data
Excel MCP Server logo

Excel MCP Server

haris-musa/excel-mcp-server

393

A Model Context Protocol server that lets AI assistants create, read and edit Excel workbooks. It needs no Microsoft Excel installation.

Research & Data