[Integrations](https://spiral.ai/integrations) › [VS Code](https://spiral.ai/integrations/vscode) › [Sleeper league settings](https://spiral.ai/integrations/vscode/sleeper-league-settings)

# How to Use Sleeper league settings in VS Code

Returns a league's scoring rules, roster slots, season, and status. Use it to interpret team data under that league's rules.

|  |  |
| --- | --- |
| Model | Sleeper league settings |
| Available through | Alexandria |
| Category | Sports |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Sleeper league settings in VS Code

- Use Sleeper league settings for public league 1383225688680583168, #SFB16 - Forza, and create a readable scoring-rules table in this project.
- Use Sleeper league settings to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Sleeper league settings and tell me what changed since last week.
- Check Sleeper league settings and summarize what you find in three bullet points.
- Pull the newest data from Sleeper league settings and give me the result as a table.

## How to set up Sleeper league settings in VS Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to VS Code on the console's Agents & MCP page, or run:

```bash
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
```

2. **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

1. **Send VS 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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Sleeper league settings**: One request; the result comes back by polling or a webhook.

```bash
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/league",
    "input": {
      "league_id": "<league_id>"
    }
  }'
```

Then paste one of the prompts above: VS Code finds Sleeper league settings on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/vscode

## Sleeper league settings tools and prices

- [Sleeper · League](https://spiral.ai/tools/alexandria/sleeper-com/fantasy-football-leagues/league) (Alexandria): $0.00873 per call.

## What can you do with Sleeper league settings in VS 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.

### Waiver candidate screening

Compare trending adds with league rosters to find available candidates. Check their player flags, upcoming games, and fit with the league's roster slots and scoring.

### 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.

### Pregame lineup checklist

Flag starters whose injury designations, bye weeks, or game-start status need attention. Organize the review around the league's actual lineup slots and NFL games.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All VS Code guides](https://spiral.ai/integrations/vscode)

## Sleeper league settings in other agents

- [Amp](https://spiral.ai/integrations/amp/sleeper-league-settings)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/sleeper-league-settings)
- [Claude](https://spiral.ai/integrations/claude-desktop/sleeper-league-settings)
- [Claude Code](https://spiral.ai/integrations/claude-code/sleeper-league-settings)
- [Cline](https://spiral.ai/integrations/cline/sleeper-league-settings)
- [Codex](https://spiral.ai/integrations/codex/sleeper-league-settings)
- [Cursor](https://spiral.ai/integrations/cursor/sleeper-league-settings)
- [Devin](https://spiral.ai/integrations/devin/sleeper-league-settings)
- [dots](https://spiral.ai/integrations/dots/sleeper-league-settings)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/sleeper-league-settings)
- [Gemini](https://spiral.ai/integrations/gemini/sleeper-league-settings)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/sleeper-league-settings)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/sleeper-league-settings)
- [goose](https://spiral.ai/integrations/goose/sleeper-league-settings)
- [Grok](https://spiral.ai/integrations/grok/sleeper-league-settings)
- [Grok Build](https://spiral.ai/integrations/grok-build/sleeper-league-settings)
- [Hermes](https://spiral.ai/integrations/hermes/sleeper-league-settings)
- [Instinct](https://spiral.ai/integrations/instinct/sleeper-league-settings)
- [Manus](https://spiral.ai/integrations/manus/sleeper-league-settings)
- [Muse](https://spiral.ai/integrations/muse/sleeper-league-settings)
- [Muse Code](https://spiral.ai/integrations/muse-code/sleeper-league-settings)
- [n8n](https://spiral.ai/integrations/n8n/sleeper-league-settings)
- [Notion](https://spiral.ai/integrations/notion/sleeper-league-settings)
- [OpenClaw](https://spiral.ai/integrations/openclaw/sleeper-league-settings)
- [opencode](https://spiral.ai/integrations/opencode/sleeper-league-settings)
- [Perplexity](https://spiral.ai/integrations/perplexity/sleeper-league-settings)
- [Raycast](https://spiral.ai/integrations/raycast/sleeper-league-settings)
- [Windsurf](https://spiral.ai/integrations/windsurf/sleeper-league-settings)
- [Zapier](https://spiral.ai/integrations/zapier/sleeper-league-settings)

## More VS Code guides

- [Sleeper league rosters](https://spiral.ai/integrations/vscode/sleeper-league-rosters)
- [Sleeper league team names](https://spiral.ai/integrations/vscode/sleeper-league-team-names)
- [Sleeper current NFL week](https://spiral.ai/integrations/vscode/sleeper-current-nfl-week)
- [Sleeper league transactions](https://spiral.ai/integrations/vscode/sleeper-league-transactions)
- [Sleeper NFL schedule](https://spiral.ai/integrations/vscode/sleeper-nfl-schedule)
- [Sleeper trending NFL players](https://spiral.ai/integrations/vscode/sleeper-trending-nfl-players)

## Questions about Sleeper league settings in VS Code

**Can VS Code use Sleeper league settings?**

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Sleeper league settings like any built-in tool.

**How much does Sleeper league settings 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 Sleeper league settings in VS Code?**

No. Spiral runs Sleeper league settings 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 league settings in VS Code?**

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

**Does VS Code wait while Sleeper league settings runs?**

Sleeper league settings runs in the background. VS 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.

