Sports & Fitness

MLB Records and Stats integrations

Connect MLB Records and Stats to any other app, or use it from your AI client over MCP. MLB Records and Stats exposes Major League Baseball's current and historical statistics. Callers can search for a player by name, retrieve a player's biographical details and their season hitting, pitching, or fielding lines, list the players on a team's roster for a given season, list teams by league and division, and pull team standings and season records. Responses come back as JSON keyed by season and stat type. No credentials required.

No account neededappac.github.io

What the catalog holds today. Ask for anything missing and your agent reads the API documentation and adds it.

Build solutions, not workarounds.

What do you want to automate with MLB Records and Stats?

Ask the assistant

You'll sign in before anything runs. What you typed comes with you.

Connect your AI client

Give your AI client this address.

https://mcp.apiant.ai

One connection does both: ask your client to act in an app once, or have it build an automation that keeps running. Any client that takes a remote MCP server. Nothing to install. Create your free account, then sign in once in your browser.

Set it up in your client
Claude Code

Run this in the directory you want to work in.

claude mcp add --transport http -s project apiant-ai https://mcp.apiant.ai

Start Claude Code there, approve the server, and sign in in the browser page it opens.

Claude Code guide (opens in a new tab)
Claude, web and desktop

Open Customize, then Connectors, then Add custom connector, and paste the address. On Team and Enterprise an owner adds it first.

Setup guide (opens in a new tab)
Cursor

Add the address to your MCP configuration as a server URL. Cursor signs you in in your browser.

Setup guide (opens in a new tab)
Zed

Open Settings, then AI, then MCP Servers, then Add Server, then Add Remote Server.

Setup guide (opens in a new tab)
Codex and the ChatGPT desktop app

Open Settings, then MCP servers, then Add server, and choose Streamable HTTP. From the terminal, Codex takes the address with its own add command and then signs you in.

Setup guide (opens in a new tab)
Any other MCP client

Paste the address where the client asks for a remote MCP server URL, and name the server apiant-ai where it lets you. APIANT's skills reach the client over the same connection.

Setup guide (opens in a new tab)

Pair it

Connect MLB Records and Stats with another app

What your agent can do with MLB Records and Stats

Triggers and actions 19 actions

  • Action
    Find schedule

    Query the game schedule by sportId, teamId, date range, or gamePk(s).

  • Action
    Find stats

    Query player/team stats by stat type, group, season, and sortStat.

  • Action
    Find transactions

    Query player transactions (trades, signings, DFA, etc.) by teamId, playerId, or date range.

  • Action
    Get attendance

    Get attendance figures by teamId, leagueId, or season/date.

  • Action
    Get draft

    Get MLB amateur draft picks by year, optionally filtered to prospects or the latest pick.

  • Action
    Get game boxscore

    Get a game's full boxscore by gamePk.

  • Action
    Get game linescore

    Get a game's linescore (inning-by-inning) by gamePk.

  • Action
    Get game live feed

    Get a game's full live feed (plays, boxscore, linescore combined) by gamePk.

  • Action
    Get game play by play

    Get all plays for a game by gamePk.

  • Action
    Get person

    Get a single player/person's bio info by personId.

  • Action
    Get person stats

    Get a player's stats for a specific game by personId and gamePk (or "current").

  • Action
    Get standings

    Get division/league standings by leagueId and season.

  • Action
    Get stats leaders

    Get statistical leaders by leaderCategories, season, and league/sport.

  • Action
    Get team

    Get a single MLB team's info by teamId.

  • Action
    Get team roster

    Get a team's player roster by teamId.

  • Action
    Get team stats

    Get a team's season stats by teamId, season, and stat group.

  • Action
    Get venue

    Get venue info by venueIds.

  • Action
    List divisions

    List MLB divisions, optionally filtered by leagueId/sportId/season.

  • Action
    List leagues

    List MLB leagues by sportId/leagueIds/seasons.

Related apps

More in Sports & Fitness

Reviews

What our customers say

Questions

MLB Records and Stats, answered

Is there a MLB Records and Stats MCP server?

APIANT's MCP server at https://mcp.apiant.ai works with MLB Records and Stats. Add that address to any AI client that takes a remote MCP server and sign in once in your browser. Your client can then run MLB Records and Stats actions on demand, or have APIANT build, test and run automations that use MLB Records and Stats. Nothing to install.

What can your agent do in MLB Records and Stats?

Any of MLB Records and Stats's 19 actions, including Find schedule, Find stats, Find transactions and Get attendance. Your agent maps the data both ways and tests every scenario before it ships.

Can I use MLB Records and Stats directly from Claude, ChatGPT or Cursor?

Yes. Connect your AI client to APIANT once and it works with MLB Records and Stats two ways. Ask it to do something in MLB Records and Stats once and it runs that action on the spot. Ask for an automation and your agent builds it, tests every scenario and keeps it running on its own. A one-off action uses your plan's tasks the same way an automation step does.

Do I need to write code against the MLB Records and Stats API?

No. APIANT connects to the MLB Records and Stats API for you. Describe what you want in plain language and your agent builds it on the MLB Records and Stats triggers and actions in the catalog. If you need an endpoint that is not there yet, your agent reads the MLB Records and Stats API documentation and adds it.

Which apps can MLB Records and Stats connect to?

Any app in the catalog; the list on this page pairs MLB Records and Stats with each of them. If the other app is missing, point your agent at its API documentation and it builds the connector.

What happens when something fails?

Your agent works that out for you. It plans the failure paths along with the happy path, then tests every scenario before it ships.

Is there a free plan?

Yes. Every plan includes the agent, including free, and building from your own AI client spends no assistant credits.