How to Use Sleeper weekly matchups in Claude Code
Returns weekly fantasy pairings, lineups, and scores. Use it for a matchup recap or an opponent comparison.
Prompts to try with Sleeper weekly matchups in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use Sleeper weekly matchups for public league 1383225688680583168 and build a scoreboard that pairs opposing fantasy teams.
Use Sleeper weekly matchups to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Sleeper weekly matchups and tell me what changed since last week.
Check Sleeper weekly matchups and summarize what you find in three bullet points.
Pull the newest data from Sleeper weekly matchups and give me the result as a table.
How to set up Sleeper weekly matchups in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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
- 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
- Send Claude 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 Sleeper weekly matchups
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": "sleeper-com/fantasy-football-leagues/matchups", "input": { "week": 1, "league_id": "<league_id>" } }'
Then paste one of the prompts above: Claude Code finds Sleeper weekly matchups on Spiral, shows the price and runs it.
Sleeper weekly matchups providers and prices
Spiral runs Sleeper weekly matchups through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Claude Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Week | 1 to 18 | League week (leg). |
Every API field of Sleeper · Matchups is on its tool page: open its card above.
What can you do with Sleeper weekly matchups in Claude Code?
Build a fantasy league report that translates Sleeper identifiers into readable teams, players, and weekly results. Use the returned data to populate project views for roster reviews, transactions, and NFL schedule context.
Weekly league briefing
Prepare a briefing for a public fantasy league: explain scoring rules, label teams, summarize rosters and matchups, review recent moves, and add NFL schedule and waiver-trend context.
Public league dashboard
Build a dashboard with named fantasy teams, league rules, roster details, weekly pairings, recent transactions, NFL games, and a separate add/drop trends panel.
Midweek roster review
Review each fantasy team's lineup against its opponent, league rules, injury designations, and NFL schedule. Include recent roster changes and trending players worth checking for availability.
Fantasy newsletter research
Draft a public league newsletter with named matchups, scoring context, notable roster moves, player availability, upcoming NFL games, and a waiver research section based on add/drop activity.
Matchup recap
Turn weekly fantasy scores into a readable recap with team labels and player names. Explain the league's scoring context and leave room for subsequent corrections.
More on Sleeper weekly matchups and Claude Code
Overview
Sleeper weekly matchups in other agents
Questions about Sleeper weekly matchups in Claude Code
Can Claude Code use Sleeper weekly matchups?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Sleeper weekly matchups like any built-in tool.
How much does Sleeper weekly matchups 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 Sleeper weekly matchups in Claude Code?
No. Spiral runs Sleeper weekly matchups on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Sleeper weekly matchups in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while Sleeper weekly matchups runs?
Sleeper weekly matchups runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.
When are Sleeper fantasy scores final?
Sleeper says stat corrections can occur through Thursday, with most arriving Monday or Tuesday. A published weekly report does not close that correction window.
Why can an injured player's status change during the week?
Sleeper treats Out as a designation for a particular game, and it can revert early Wednesday morning. A player entering a bye week keeps the previous week's injury designation.
Do Sleeper standings include playoff scoring?
Points For, Points Against, and Max PF in Sleeper standings cover the fantasy regular season only. Playoff and consolation results do not update those totals.
Does Sleeper keep previous league seasons?
Sleeper preserves prior-season transactions, matchups, standings, waiver priority, and FAAB in its league history. Its support documentation does not promise a fixed history depth in years.
Can a score change without a new NFL play?
Yes. Alongside stat corrections, Sleeper lets commissioners apply manual scoring or lineup adjustments and recalculate the week's matchup records.
Start using Sleeper weekly matchups 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 https://spiral.ai/SKILL.md


