[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [Yahoo NBA player news](https://spiral.ai/integrations/claude-code/yahoo-nba-player-news)

# How to Use Yahoo NBA player news in Claude Code

Returns recent items from a player's public Yahoo Sports news index. Use it to investigate the basketball news behind a fantasy decision.

|  |  |
| --- | --- |
| Model | Yahoo NBA player news |
| 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 Yahoo NBA player news in Claude Code

- Use Yahoo NBA player news for LeBron James, Yahoo player 3704, and add a concise news section to the project's player detail view.
- Use Yahoo NBA player news to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Yahoo NBA player news and tell me what changed since last week.
- Check Yahoo NBA player news and summarize what you find in three bullet points.
- Pull the newest data from Yahoo NBA player news and give me the result as a table.

## How to set up Yahoo NBA player news 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.

```bash
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.

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

### Call the Spiral API

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

2. **Run Yahoo NBA player news**: 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": "basketball-fantasysports-yahoo-com/fantasy-basketball-players/player_news",
    "input": {
      "player_id": "<player_id>"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds Yahoo NBA player news on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## Yahoo NBA player news tools and prices

- [Yahoo Fantasy Basketball (public) · Player news](https://spiral.ai/tools/alexandria/basketball-fantasysports-yahoo-com/fantasy-basketball-players/player_news) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| player_id |  | — | Yahoo player id (e.g. 3704). Pattern: ^[0-9]{1,9}$. |
| player_url |  | — | Pattern: ^https?://(www\.)?sports\.yahoo\.com/nba/players/[0-9]{1,9}(/.*)?$. |

## What can you do with Yahoo NBA player news in Claude Code?

Build a basketball comparison view that connects Yahoo player identities with category stats, rankings, news, or a public lineup. Keep roster dates and ranking labels visible so the project presents the right context.

### Build a category-specific pickup shortlist

Inspect a public team's roster, identify candidate players, compare their category stats and rankings, and read their news before recommending an addition.

### Review a proposed fantasy trade

Resolve the proposed players, inspect the public team's current lineup, and compare category contributions, ranking evidence, and recent news. Explain which categories the exchange could help or hurt.

### Prepare a lineup review

Start with a dated public roster. Identify the players, compare their statistical contributions and rankings, and check the news before suggesting starting-lineup changes.

### Write a weekly fantasy team brief

Use a public roster as the brief's player list, resolve names consistently, and summarize category production, ranking comparisons, and relevant basketball news.

### Investigate a ranking surprise

Compare a player's preseason and actual ranks, examine the category stats behind the difference, and read recent news for possible explanations.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## Yahoo NBA player news in other agents

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

## More Claude Code guides

- [Yahoo Fantasy Football public team roster](https://spiral.ai/integrations/claude-code/yahoo-fantasy-football-public-team-roster)
- [Auto Subtitle](https://spiral.ai/integrations/claude-code/auto-subtitle)
- [Yahoo Fantasy Football players](https://spiral.ai/integrations/claude-code/yahoo-fantasy-football-players)
- [Boreal](https://spiral.ai/integrations/claude-code/boreal)
- [Yahoo Fantasy Football player search](https://spiral.ai/integrations/claude-code/yahoo-fantasy-football-player-search)
- [Bria VRMBG 3.0](https://spiral.ai/integrations/claude-code/bria-vrmbg-3-0)

## Questions about Yahoo NBA player news in Claude Code

**Can Claude Code use Yahoo NBA player news?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Yahoo NBA player news like any built-in tool.

**How much does Yahoo NBA player news 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 Yahoo NBA player news in Claude Code?**

No. Spiral runs Yahoo NBA player news on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Yahoo NBA player news in Claude Code?**

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

**Does Claude Code wait while Yahoo NBA player news runs?**

Yahoo NBA player news runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

**Does Yahoo Fantasy Basketball cover the NBA playoffs?**

Yahoo describes its fantasy season as running from the first game through the end of the regular season. Its season-long fantasy coverage should not be read as an NBA playoff competition.

**When are yesterday's scoring corrections applied?**

Yahoo says its nightly update applies official scoring and live-data corrections by 8 a.m. Pacific for the previous day's games. Figures shown before that update can still change.

**Are Yahoo's pre-draft rankings the same as expert rankings?**

No. Yahoo says default pre-draft rankings depend on league settings and are separate from expert rankings.

**Are basketball lineups weekly snapshots?**

Yahoo organizes NBA fantasy rosters by date. A lineup for one date should not be treated as the lineup for an entire fantasy week.

**How does Yahoo calculate field goal percentage?**

Field goal percentage is field goals made divided by field goals attempted. To combine players, divide their combined makes by their combined attempts rather than averaging their percentages.

