Spiral gives your agent every tool with one account. Browse the tools →

Claude Code · Sports

How to Use ESPN game details in Claude Code

Returns a game's status, score, team statistics, leaders, and scoring plays. Use it to explain the result and identify the plays that shaped it.

Prompts to try with ESPN game details in Claude Code

Copy an example into Claude Code, or ask in your own words.

Use ESPN game details to look this up and give me the result as a table. Save the result in ./assets.

ESPN game detailsClaude Code
Try asking
  • Pull the latest numbers from ESPN game details and tell me what changed since last week.

  • Check ESPN game details and summarize what you find in three bullet points.

  • Pull the newest data from ESPN game details and give me the result as a table.

  • Check ESPN game details every morning and tell me only when something changed.

How to set up ESPN game details in Claude Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run ESPN game details

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "espn-com/sports-data/event",
        "input": {
          "sport": "<sport>",
          "league": "<league>",
          "event_id": "<event_id>"
        }
      }'

Then paste one of the prompts above: Claude Code finds ESPN game details on Spiral, shows the price and runs it.

ESPN game details providers and prices

Spiral runs ESPN game details through Alexandria. Open a card for today's price, with every fee included.

AlexandriaSports
ESPN · Event
espn-com/sports-data/event

What can you do with ESPN game details in Claude Code?

Build a personal sports notebook that connects ESPN games, teams, and athlete records. A coding agent can turn those results into comparison tables and reports in your project.

Prepare a daily sports briefing

Choose supported basketball and football competitions, resolve teams by name, and combine scores, game details, player performances, roster context, injuries, and standings into a personal morning briefing.

Keep a personal season notebook

Follow selected clubs across ESPN competitions. Add current team records, roster and injury changes, game summaries, individual stat lines, and player season totals to explain how each club's season develops.

Research weekend matchups

Select competitions and teams, then compare standings, recent game statistics, current rosters, published injuries, and player season records. Produce a matchup brief that separates measured performance from reported availability.

Explain a completed game

Combine the final score, scoring plays, team statistics, and individual performances. Add player career context and team standings to explain what the result means.

Review postgame statistical changes

Revisit completed NFL games and compare their player stat lines, team statistics, scores, and standings with earlier results. Flag changed numbers for review.

Compare availability with recent production

For selected NBA teams, combine published injury reports and rosters with player season statistics and recent game performances. Identify which athletes need a closer look before the next matchup.

Questions about ESPN game details in Claude Code

Can Claude Code use ESPN game details?

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run ESPN game details like any built-in tool.

How much does ESPN game details cost in Claude Code?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

Do I need an Alexandria account to use ESPN game details in Claude Code?

No. Spiral runs ESPN game details on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up ESPN game details in Claude Code?

About two minutes: add the hosted server, then sign in.

Does Claude Code wait while ESPN game details runs?

ESPN game details runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

Where does the ESPN data come from?

The source uses ESPN's public site and core JSON APIs. Its coverage is limited to the records ESPN exposes through those sources.

Does ESPN cover international competitions?

Yes. The provider documents US and international coverage, including the Premier League and approximately 219 soccer competitions.

Are the same statistics available for every sport?

The statistics depend on the sport. Documented examples include NFL passing, rushing, and receiving figures and NHL skater and goalie statistics.

How fresh are ESPN's live NFL statistics?

ESPN says it updates NFL live scores and statistics as they are received. Those figures can change as the league reports more accurate data.

Can NFL statistics change after a game ends?

Yes. ESPN documents postgame adjustments and corrections that can appear up to seven days after the game was played.

Get started

Start using ESPN game details in Claude Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Claude Code:

Set up Claude Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options