[Integrations](https://spiral.ai/integrations) › [Windsurf](https://spiral.ai/integrations/windsurf) › [Fanatics team directory](https://spiral.ai/integrations/windsurf/fanatics-team-directory)

# How to Use Fanatics team directory in Windsurf

Get Fanatics' directory of teams for a league. Use it to identify team shopping destinations before exploring their merchandise.

|  |  |
| --- | --- |
| Model | Fanatics team directory |
| Available through | Alexandria |
| Category | E-commerce |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Fanatics team directory in Windsurf

- 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 Windsurf

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

### Use Spiral's MCP server

1. **Add the server**: Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: `~/.config/devin/mcp_config.json` on macOS and Linux, `%APPDATA%\devin\mcp_config.json` on Windows. Add this:

```json
{
  "mcpServers": {
    "spiral": {
      "url": "https://api.spiral.ai/mcp"
    }
  }
}
```

2. **Sign in**: Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

```bash
devin mcp login spiral
```

3. **Check it**: Spiral is listed under This computer in Customize › MCPs. From the terminal:

```bash
devin mcp list
```

### Use the Spiral skill

1. **Send Windsurf 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 Fanatics team directory**: 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": "fanatics-com/products/list_teams",
    "input": {
      "league_id": 1
    }
  }'
```

Then paste one of the prompts above: Windsurf finds Fanatics team directory on Spiral, shows the price and runs it.

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

## Fanatics team directory tools and prices

- [Fanatics US · List teams](https://spiral.ai/tools/alexandria/fanatics-com/products/list_teams) (Alexandria): $0.00873 per call.

## What can you do with Fanatics team directory in Windsurf?

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.

## Overview

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

## Fanatics team directory in other agents

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

## More Windsurf guides

- [Fanatics team and league products](https://spiral.ai/integrations/windsurf/fanatics-team-and-league-products)
- [Flipp local retailer flyers](https://spiral.ai/integrations/windsurf/flipp-local-retailer-flyers)
- [Fanatics product search](https://spiral.ai/integrations/windsurf/fanatics-product-search)
- [Flipp product deals search](https://spiral.ai/integrations/windsurf/flipp-product-deals-search)
- [Fanatics product details](https://spiral.ai/integrations/windsurf/fanatics-product-details)
- [Flipp retailer flyer items](https://spiral.ai/integrations/windsurf/flipp-retailer-flyer-items)

## Questions about Fanatics team directory in Windsurf

**Can Windsurf use Fanatics team directory?**

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run Fanatics team directory like any built-in tool.

**How much does Fanatics team directory cost in Windsurf?**

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

**Do I need an Alexandria account to use Fanatics team directory in Windsurf?**

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 Windsurf?**

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

**Does Windsurf wait while Fanatics team directory runs?**

Fanatics team directory runs in the background. Windsurf 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.

