ML

MLB Stats Server AI Agent

Provide structured access to Major League Baseball statistics through an MCP server. Query and retrieve detailed baseball data including statcast, fangraphs, and baseball reference stats. Generate visualizations and integrate seamlessly with MCP-compatible clients for enhanced baseball analytics.

MLB Stats Server handles repetitive tasks for you automatically. It can do 46 different things for you—just connect to it in one click.

5,700 installs5,700 usersby etweisberg
Popular
89.1% Uptime

Available Tools

MLB Stats Server can do 46 different things for you automatically. Here's what it can handle:

get_stats

get_schedule

Get list of games for a given date/range and/or team/opponent.

get_player_stats

Returns a list of current season or career stat data for a given player.

get_standings

Returns a dict of standings data for a given league/division and season.

get_team_leaders

Returns a python list of stat leader data for a given team

lookup_player

Get data about players based on first, last, or full name.

get_boxscore

Get a formatted boxscore for a given game.

get_team_roster

Get the roster for a given team.

get_game_pace

Returns data about pace of game for a given season (back to 1999).

get_meta

Get available values from StatsAPI for use in other queries, or look up descriptions for values found in API results. For example, to get a l...

Common Questions

What is an AI Agent?

An AI agent is like having a personal assistant who does specific tasks for you. Instead of a general chatbot that just talks, AI agents actually do things—they can check your calendar, send emails, look up information, and handle repetitive work so you don't have to.

What is MCP (Model Context Protocol)?

MCP is simply the way AI agents plug into your apps and services. When you connect something like MLB Stats Server to Lyra, it lets the AI take actions on your behalf.

How do I use MLB Stats Server?

Just install it inside Lyra. It only takes a moment. After that, your AI can instantly use MLB Stats Server—no setup, no technical knowledge required.