How to Use ESPN team roster in VS Code
Returns a team's roster, athlete identifiers, and player details. Use it to identify players on the same team before comparing their profiles or reported injuries.
Prompts to try with ESPN team roster in VS Code
Copy an example into VS Code, or ask in your own words.
Use ESPN team roster for Arsenal and build a table of the returned players and positions in my project.
Use ESPN team roster to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from ESPN team roster and tell me what changed since last week.
Check ESPN team roster and summarize what you find in three bullet points.
Pull the newest data from ESPN team roster and give me the result as a table.
How to set up ESPN team roster in VS Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
Use Add to VS Code on the console's Agents & MCP page, or run:
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}' - Sign in
VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.
Use the Spiral skill
- Send VS Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run ESPN team roster
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/roster", "input": { "sport": "<sport>", "league": "<league>", "team_id": "<team_id>" } }'
Then paste one of the prompts above: VS Code finds ESPN team roster on Spiral, shows the price and runs it.
ESPN team roster providers and prices
Spiral runs ESPN team roster through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask VS Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 200 | 100 | Page size (default 100, max 200). |
| Offset | a number from 0 | 0 | Zero-based offset into the full upstream list. |
Every API field of ESPN · Roster is on its tool page: open its card above.
What can you do with ESPN team roster in VS 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.
Research a fantasy shortlist
Find NBA or NFL athletes, compare their season statistics, and check their teams, rosters, published injuries, and scheduled games before making a personal fantasy lineup decision.
Compare football programs and players
Discover football competitions, identify teams and athletes, and compare team records, standings, roster composition, and player season statistics for a personal research report.
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.
More on ESPN team roster and VS Code
Overview
ESPN team roster in other agents
Questions about ESPN team roster in VS Code
Can VS Code use ESPN team roster?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run ESPN team roster like any built-in tool.
How much does ESPN team roster cost in VS 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 VS Code plan is separate.
Do I need an Alexandria account to use ESPN team roster in VS Code?
No. Spiral runs ESPN team roster 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 team roster in VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while ESPN team roster runs?
ESPN team roster runs in the background. VS 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.
Start using ESPN team roster in VS Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into VS Code:
set up https://spiral.ai/SKILL.md


