mlb-mcp

retr0h/mlb-mcp
★ 0 stars Go 🤖 AI/LLM Updated 7d ago
⚾ MCP server exposing the MLB Stats API as tools for LLMs.
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mlb-mcp": {
      "command": "go",
      "args": [
        "run",
        "github.com/retr0h/mlb-mcp@latest"
      ]
    }
  }
}

README Excerpt

⚾ MCP server for the MLB Stats API. call external tools and data sources in a structured, type-safe way. This server wraps the [mlb-sdk][] Go library and exposes MLB Stats API endpoints as MCP tools that any MCP-compatible LLM (Claude, GPT-4, etc.) can call directly. No API key required — MLB's Stats API is public.

Tools (20)

draftfree_agentsgame_detailgame_linescoreleague_leadersmlb_get_all_seasonsmlb_get_all_star_ballotmlb_get_all_star_final_votemlb_get_all_star_write_insmlb_get_attendancemlb_get_award_recipientsmlb_get_conferencesmlb_get_context_metricsmlb_get_divisionsmlb_get_draftmlb_get_game_changesmlb_get_game_colormlb_get_game_color_diffmlb_get_game_color_timestampsmlb_get_game_content

Topics

baseballgogolangllmmcpmlbmodel-context-protocolsportsstatsapi