Scoreboard
Today's games with auto-refresh, linescores, boxscores, and probable pitchers.
MLB stats · web + terminal + AI
Diamond turns the public MLB Stats API into a fast web app and a beautiful terminal app — both backed by DiamondGPT, an assistant that pulls live data to answer questions in plain English. No API key required for stats.
Free · open source · not affiliated with MLB

What's inside
The same data set, shaped for two places you actually work: a rich web app and a fast terminal UI.
Today's games with auto-refresh, linescores, boxscores, and probable pitchers.
Division and wild-card standings by league, with run differential, for any season.
Rosters, season and career stats, situational splits, game logs, and trend charts.
Hitting and pitching leaders for any season and category, ranked at a glance.
Ask in plain English — the assistant calls 18 live MLB tools to answer with real data.
Call every MLB Stats API endpoint from a dynamic UI with a raw JSON viewer.
The web app
Built with React, Tailwind, and Recharts for a fast, responsive experience — from the live scoreboard to deep player profiles with year-by-year trend charts.



DiamondGPT ✨
DiamondGPT answers in plain English by calling 18 live MLB tools — schedules, standings, leaders, player and team stats, splits, game logs, awards, the draft, win probability, and more. Real numbers, not guesses.

The terminal app
diamond.A Go CLI built with Bubble Tea. Run diamond for the interactive TUI, or jump straight to a view with a subcommand. Includes DiamondGPT and an MCP server.
brew install xavidop/tap/diamond
diamonddocker run --rm -it ghcr.io/xavidop/diamond:latest
# or a specific view:
docker run --rm -it ghcr.io/xavidop/diamond scoresgo install github.com/xavidop/diamond/cli@latestcd cli && go build -o diamond .
./diamond
diamond
diamond scores
diamond standings
diamond leaders
Live alerts
Press n on any game in the scoreboard and Diamond watches it for you — native desktop notifications when a run scores or the game goes final, even while you're in another view or another app.
n — fires from any viewModel Context Protocol
diamond mcp runs a Model Context Protocol server over stdio, exposing the same 18 live MLB tools DiamondGPT uses. Point Claude Desktop, your IDE, or any MCP client at it and your assistant can pull real baseball data — scores, standings, stats, and more.
diamond mcp{
"mcpServers": {
"diamond": {
"command": "diamond",
"args": ["mcp"]
}
}
}