How to Use Fanatics team directory in Claude Code
Get Fanatics' directory of teams for a league. Use it to identify team shopping destinations before exploring their merchandise.
Prompts to try with Fanatics team directory in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use Fanatics team directory to retrieve the NBA teams represented in the store, then add a team selector to this project's personal shopping view.
Use Fanatics team directory to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Fanatics team directory and tell me what changed since last week.
Check Fanatics team directory and summarize what you find in three bullet points.
Pull the newest data from Fanatics team directory and give me the result as a table.
How to set up Fanatics team directory 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 Fanatics team directory
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": "fanatics-com/products/list_teams", "input": { "league_id": 1 } }'
Then paste one of the prompts above: Claude Code finds Fanatics team directory on Spiral, shows the price and runs it.
Fanatics team directory providers and prices
Spiral runs Fanatics team directory 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 |
|---|---|---|---|
| League ID | a number from 1 | Fanatics league/org id (the o- segment), e.g. 23 = NBA. |
Every API field of Fanatics US · List teams is on its tool page: open its card above.
What can you do with Fanatics team directory in Claude Code?
Build a personal Fanatics merchandise browser with team navigation and product inspection. Coding agents can use the storefront responses to implement browsing behavior in your project.
Build a personal league shopping shortlist
Identify teams in the Fanatics directory, browse their merchandise, search for specific styles, and check sizes on the final candidates.
Compare gear for rival teams
Find the Lakers and Celtics in the team directory, compare their merchandise sections, search for matching product styles, and inspect shortlisted items.
Plan college sports gifts
Locate college teams, browse each school's merchandise, search for requested apparel, and check the available sizes before choosing gifts.
Explore unfamiliar team shops
Use the league directory to choose teams beyond your usual favorites. Browse their sections, search for preferred merchandise styles, and inspect individual products.
More on Fanatics team directory and Claude Code
Overview
Fanatics team directory in other agents
Questions about Fanatics team directory in Claude Code
Can Claude Code use Fanatics team directory?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Fanatics team directory like any built-in tool.
How much does Fanatics team directory 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 Fanatics team directory in Claude Code?
No. Spiral runs Fanatics team directory on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Fanatics team directory in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while Fanatics team directory runs?
Fanatics team directory runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.
Which Fanatics store does this data cover?
The documented source is the US storefront at fanatics.com. Its merchandise data comes from the storefront's server-rendered pages and Iris data API.
How fresh is Fanatics merchandise information?
Fanatics says its website updates daily but does not specify fixed update times. That statement does not establish a minute-by-minute freshness guarantee.
Does Fanatics show a complete archive of unavailable merchandise?
Fanatics says it displays items currently in stock. The storefront should therefore be used to explore its current assortment rather than as a complete archive of past merchandise.
Can an item be listed while my size is unavailable?
Yes. Fanatics marks unavailable sizes by graying them out on the product page, so finding a listing does not establish availability in your size.
Do Fanatics' terms permit commercial extraction of storefront data?
Fanatics lists automated extraction for commercial purposes, including screen scraping, among unauthorized uses. Public visibility should not be treated as permission for commercial extraction.
Start using Fanatics team directory 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


