[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [CBS Sports fantasy stats](https://spiral.ai/integrations/opencode/cbs-sports-fantasy-stats)

# How to Use CBS Sports fantasy stats in opencode

Get actual NFL fantasy production or NBA season and recent-form statistics. Use completed performance to assess a player's track record, compare recent basketball form, or check the evidence behind a lineup decision.

|  |  |
| --- | --- |
| Model | CBS Sports fantasy stats |
| 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 CBS Sports fantasy stats in opencode

- Use CBS Sports fantasy stats to compare Luka Doncic and Stephen Curry over the last seven and 28 days, then add the comparison to the existing basketball view.
- Use CBS Sports fantasy stats to populate the project's NFL quarterback comparison with Josh Allen's and Patrick Mahomes's available season production.
- Use CBS Sports fantasy stats to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from CBS Sports fantasy stats and tell me what changed since last week.
- Check CBS Sports fantasy stats and summarize what you find in three bullet points.

## How to set up CBS Sports fantasy stats in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 CBS Sports fantasy stats**: 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": "cbssports-com/fantasy-sports-rankings/stats",
    "input": {
      "position": "QB"
    }
  }'
```

Then paste one of the prompts above: opencode finds CBS Sports fantasy stats on Spiral, shows the price and runs it.

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

## CBS Sports fantasy stats tools and prices

- [CBS Sports fantasy football and basketball · Stats](https://spiral.ai/tools/alexandria/cbssports-com/fantasy-sports-rankings/stats) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| week | 1 to 30 | — | Current season only; omit for season totals. Football: a single NFL week 1-18; the site publishes only the last completed week. Basketball: a scoring period; the site publishes only the current one ("This Period"). Others are not_found. |
| limit | 1 to 200 | — | Return only the top N rows. Omit for the whole table. |
| sport | football, basketball | football | football (default, NFL) or basketball (NBA). Positions, scoring and periods differ by sport; an option of the other sport is invalid_input. |
| period | yesterday, last_7_days, last_14_days, last_21_days, last_28_days, three_year_average | — | Basketball only, current season, without week: yesterday, the last 7/14/21/28 days, or the three-year averages (published before the season starts). Periods the site is not showing are not_found. |
| season | 2000 to 2100 | — | Season year; an NBA season is labelled by the year it starts (2025 is 2025-26). Omit for the current season. The site publishes the current and the two previous seasons (three before an NBA season starts); others are not_found. |
| scoring | PPR, STD | — | Football only: PPR (a point per reception, the default) or STD (non-PPR). The site publishes no half-PPR tables. Omit for basketball, whose tables use CBS points scoring. |

## What can you do with CBS Sports fantasy stats in opencode?

Build a player comparison view that puts CBS expectations, expert preferences and completed production beside each other. Use separate labels for NFL and NBA results so the project preserves each sport's context.

### Choose an NFL starter

Compare a shortlist's expected points, expert ordering and completed production to explain a start-or-sit decision.

### Review a fantasy trade

Evaluate the players on both sides using future expectations, positional standing and actual production. Keep the comparison within the same sport and scoring context.

### Compare NBA roster options

Review recent basketball production alongside longer-term expectations and positional rankings before deciding which player deserves a roster spot.

### Explain conflicting player evaluations

Find players whose expert standing, expected output and completed performance point in different directions. Show the competing evidence before recommending a choice.

### Investigate an NBA hot streak

Compare seven-day and 28-day production with rest-of-season expectations to judge how much weight to give a recent surge.

## Overview

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

## CBS Sports fantasy stats in other agents

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

## More opencode guides

- [CBS Sports fantasy rankings](https://spiral.ai/integrations/opencode/cbs-sports-fantasy-rankings)
- [Draft Sharks rest-of-season rankings](https://spiral.ai/integrations/opencode/draft-sharks-rest-of-season-rankings)
- [CBS Sports fantasy projections](https://spiral.ai/integrations/opencode/cbs-sports-fantasy-projections)
- [Draft Sharks weekly rankings](https://spiral.ai/integrations/opencode/draft-sharks-weekly-rankings)
- [Baseball Savant trending players](https://spiral.ai/integrations/opencode/baseball-savant-trending-players)
- [ESPN game details](https://spiral.ai/integrations/opencode/espn-game-details)

## Questions about CBS Sports fantasy stats in opencode

**Can opencode use CBS Sports fantasy stats?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run CBS Sports fantasy stats like any built-in tool.

**How much does CBS Sports fantasy stats cost in opencode?**

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

**Do I need an Alexandria account to use CBS Sports fantasy stats in opencode?**

No. Spiral runs CBS Sports fantasy stats on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up CBS Sports fantasy stats in opencode?**

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

**Does opencode wait while CBS Sports fantasy stats runs?**

CBS Sports fantasy stats runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Which leagues do these CBS Sports tables cover?**

The documented coverage is NFL football and NBA basketball.

**What league format underlies CBS's NBA rankings?**

Twelve teams and eight categories.

**How much recent basketball form can I compare?**

CBS publishes rolling windows of 7, 14, 21 and 28 days.

**How many football experts contribute rankings?**

Three CBS fantasy experts contribute weekly and draft rankings.

**How far back did the reviewed football season tables go?**

The reviewed selector listed 2026, 2025 and 2024.

