# How to connect Sleeper to Cursor

> Connect Sleeper to Cursor with the Firecrawl MCP server. Use Sleeper as an MCP tool in Cursor via Firecrawl Alexandria, with setup steps and example prompts.

To connect Sleeper to Cursor, add the Firecrawl MCP server to Cursor, sign in on a Firecrawl team with Alexandria enabled, and ask for Sleeper data in plain language. The connection works in Cursor's agent and chat, and you set it up once.

Cursor uses Sleeper as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for Sleeper.

Cursor is an AI code editor. Its agent uses MCP servers for outside tools, and the Firecrawl MCP server adds web search, scraping and every data provider in Firecrawl Alexandria.

## How do I connect Sleeper to Cursor?

### 1. Install the Firecrawl MCP server

Open the [install dialog in Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=firecrawl&config=eyJ1cmwiOiJodHRwczovL21jcC5maXJlY3Jhd2wuZGV2L3YyL21jcC1vYXV0aCJ9), check that the URL is Firecrawl's hosted server, then select Install.

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=firecrawl&config=eyJ1cmwiOiJodHRwczovL21jcC5maXJlY3Jhd2wuZGV2L3YyL21jcC1vYXV0aCJ9)

![Cursor's Install MCP server dialog with the Firecrawl hosted server URL](https://www.firecrawl.dev/images/blog/using-firecrawl-mcp-in-cursor/cursor-install-firecrawl-mcp-server.webp)

### 2. Connect your Firecrawl account

Use the server's sign-in option in Cursor's MCP settings. Firecrawl opens in your browser: sign in, choose a team with Alexandria enabled, and approve access. A green dot next to Firecrawl means it's connected.

![Cursor's MCP list showing Firecrawl connected with its tools enabled](https://www.firecrawl.dev/images/blog/using-firecrawl-mcp-in-cursor/cursor-firecrawl-mcp-connected.webp)

### 3. Ask Cursor's agent for the data

In the agent chat, ask in plain language and mention Sleeper or Firecrawl Alexandria. The agent finds the Sleeper capability that fits and runs it. For example:

```text
Use Firecrawl to run Sleeper's League capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
```

## What can Cursor do with Sleeper?

Sleeper fantasy football from its public, keyless read API: NFL state, public leagues (settings, managers, rosters with starters, weekly matchups and transactions), NFL players trimmed from the player map, trending adds and drops, and the NFL schedule. Every player comes with injury status, bye week and whether his game has kicked off (locked), on rosters, matchup starters, player lookups and trending lists, so agents can avoid starting injured or bye-week players and never suggest moving a player whose game has started.

Cursor can run any of Sleeper's 9 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

- **League**: One public Sleeper NFL league: name, season, status, team count, starting lineup slots (roster_positions), league settings (waivers, trade deadline, playoffs, reserve rules) and scoring settings. An unknown league is not_found. Costs 5 Firecrawl credits per call.
- **League rosters**: Every roster in a Sleeper league (or one roster_id) with owner, record and every player: lineup slot (starter in slot order, bench, reserve, taxi), position, NFL team, injury_status and body part, bye week, this week's game and whether it has kicked off (locked), and flags summarising all of it. Before recommending a start, sit, add or drop, read flags: never start a player flagged out or bye, warn on injured, and never suggest adding, dropping, starting or benching a locked player (his game has started or finished). Weekly lineups come from Sleeper; starters reflect what the manager last set. An unknown league or roster_id is not_found. Costs 5 Firecrawl credits per call.
- **League users**: Managers in a Sleeper league: user id, display name, team name and whether they are a commissioner. Join to league_rosters by owner_id. An unknown league is not_found. Costs 5 Firecrawl credits per call.
- **Matchups**: Head-to-head matchups for one week of a Sleeper league: each roster's matchup_id (rosters sharing it play each other), points, every player's points, and starters in lineup order with points and the same injury status, bye week, game, lock and flags as players for that week. Before recommending a start, sit, add or drop, read flags: never start a player flagged out or bye, warn on injured, and never suggest adding, dropping, starting or benching a locked player (his game has started or finished). Weeks with no games return an empty list. An unknown league is not_found. Costs 5 Firecrawl credits per call.
- **Nfl schedule**: Sleeper's NFL schedule for one week: games with date and status (pre_game, in_game, complete, canceled) and kicked_off, the teams on bye that week, and every team's regular-season bye week. Sleeper gives game dates but no kickoff times. A season Sleeper has no schedule for is not_found. Costs 5 Firecrawl credits per call.
- **Nfl state**: Sleeper's current NFL season, week and season_type (pre, regular, post, off). Every week-aware function defaults to this week. Costs 5 Firecrawl credits per call.
- **Players**: NFL players by Sleeper id, trimmed from Sleeper's player map to what lineup decisions need: position, fantasy positions, team, status, injury_status and body part, depth chart, plus the week's bye, game, lock and flags. Before recommending a start, sit, add or drop, read flags: never start a player flagged out or bye, warn on injured, and never suggest adding, dropping, starting or benching a locked player (his game has started or finished). Ids Sleeper does not know are listed in missing_ids; if none are known the call is not_found. The full 15 MB player map is never returned. Costs 5 Firecrawl credits per call.
- **Transactions**: Adds, drops, waiver claims and trades in one week of a Sleeper league, with status (complete or failed), the rosters involved, players added and dropped by roster and the FAAB bid. Weeks with none return an empty list. An unknown league is not_found. Costs 5 Firecrawl credits per call.
- **Trending players**: Players most added or dropped across all Sleeper leagues in the last lookback_hours, with counts and each player's injury, bye, lock and flags for the current week. Before recommending a start, sit, add or drop, read flags: never start a player flagged out or bye, warn on injured, and never suggest adding, dropping, starting or benching a locked player (his game has started or finished). Costs 5 Firecrawl credits per call.

## What should I ask Cursor?

Name Sleeper or Firecrawl Alexandria in the prompt so Cursor reaches for it.

- [Use Firecrawl to run Sleeper's League capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20run%20Sleeper's%20League%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to run Sleeper's League rosters capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20run%20Sleeper's%20League%20rosters%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to run Sleeper's League users capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20run%20Sleeper's%20League%20users%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to run Sleeper's Matchups capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20run%20Sleeper's%20Matchups%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)

### For agents

Start with the `sleeper-com` provider. Use Firecrawl Alexandria first. With MCP, use firecrawl_search with sources: ["alexandria"] to discover relevant tools, firecrawl_find_tools to inspect the selected capability contracts, then firecrawl_scrape in alexandria mode to retrieve records. With the CLI, use firecrawl search alexandria, firecrawl list, then firecrawl scrape for the selected provider/capability. Follow the live tool schema and returned contract; never invent provider IDs or inputs. Ask for missing required details before execution, respect access and pricing, and inspect each result for errors. Cite retrieved records, distinguish missing data from failures, and explain gaps. If no suitable Alexandria capability exists, say so before using web sources. Do not treat a tool listing as retrieved data.

## Troubleshooting

### Why can't Cursor find Sleeper?

If Firecrawl's tools in Cursor stop at search, scrape and parse, the connection is keyless and doesn't include Alexandria. Finish the sign-in from Cursor's MCP settings, or add an API key from a team with Alexandria enabled.

### Firecrawl shows a red dot in Cursor. What should I do?

Open Cursor's MCP settings, sign in to Firecrawl again, and restart the agent chat so it loads the tools.

## Use Sleeper in other AI apps

- [Sleeper in ChatGPT](https://alexandria.firecrawl.dev/providers/sleeper-com/connect/chatgpt)
- [Sleeper in Claude](https://alexandria.firecrawl.dev/providers/sleeper-com/connect/claude)
- [Sleeper in Grok Bot](https://alexandria.firecrawl.dev/providers/sleeper-com/connect/grok-bot)
- [Sleeper in Muse](https://alexandria.firecrawl.dev/providers/sleeper-com/connect/muse)

### Other data providers you can connect to Cursor

- [How to connect MLB Baseball Savant to Cursor](https://alexandria.firecrawl.dev/providers/baseballsavant-mlb-com/connect/cursor)
- [How to connect Yahoo Fantasy Basketball (public) to Cursor](https://alexandria.firecrawl.dev/providers/basketball-fantasysports-yahoo-com/connect/cursor)
- [How to connect CBS Sports fantasy football and basketball to Cursor](https://alexandria.firecrawl.dev/providers/cbssports-com/connect/cursor)
- [How to connect Draft Sharks NFL rankings to Cursor](https://alexandria.firecrawl.dev/providers/draftsharks-com/connect/cursor)

Full setup guide: [Firecrawl in Cursor](https://www.firecrawl.dev/integrations/cursor)

## Frequently asked questions

### What is Firecrawl?

Firecrawl is the web data API to search, scrape and interact with the web at scale. It turns websites into clean, LLM-ready data for AI agents and apps. The Firecrawl MCP server brings those tools into Cursor, along with every data provider in Firecrawl Alexandria.

### What is Firecrawl Alexandria?

Firecrawl Alexandria is Firecrawl's library of 550+ data providers for AI agents, Sleeper among them. Each provider returns structured data through documented capabilities. Cursor finds the capability that fits your question and calls it through the Firecrawl MCP server, so you don't write any integration code. Alexandria needs a Firecrawl account signed in on a team with Alexandria enabled, or an API key from such a team; keyless connections don't include it.

### Is there a Sleeper MCP server for Cursor?

Cursor reaches Sleeper through Firecrawl's hosted MCP server, which serves Sleeper and every other Alexandria provider as tools. Add the Firecrawl MCP server once and you don't install or host a separate MCP server for Sleeper.

### What does connecting Sleeper to Cursor unlock?

Cursor can run all 9 of Sleeper's capabilities, including League, League rosters and League users, from any chat, with structured results it can sort, compare and summarize. In the same conversation, Cursor can combine Sleeper with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

### Do I need my own Sleeper account or API key to use it in Cursor?

No. Cursor calls Sleeper through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate Sleeper account or API key.

### How much does it cost to use Sleeper in Cursor?

Each Sleeper call costs 5 Firecrawl credits. The capability list on this page shows each price and its unit. The credits come from the Firecrawl team you connect to Cursor, and finding the right capability is free.

### Can Cursor use other providers besides Sleeper?

Yes. The same Firecrawl MCP server reaches every provider in Firecrawl Alexandria, along with Firecrawl's web search and scraping, so you connect once.

### Can I use Sleeper in other AI apps?

Yes. Connect Firecrawl to ChatGPT, Claude, Grok Bot, Muse signed in on a Firecrawl team with Alexandria enabled, or use the Firecrawl MCP server, CLI or API with an API key from that team, and the same Sleeper capabilities are available there. Keyless connections don't include Alexandria.
