# How to connect StubHub to Cursor

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

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

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

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 StubHub 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 StubHub or Firecrawl Alexandria. The agent finds the StubHub capability that fits and runs it. For example:

```text
Use Firecrawl to search the first page of StubHub events matching Lakers and show event names, dates, venues and links.
```

## What can Cursor do with StubHub?

Search StubHub events, read event details and retrieve paginated public resale offers with quantity restrictions and price/fee disclosures. Uses anonymous web pages and read-only inventory requests.

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

- **Event**: Read event identity, venue, source status, performers and current inventory counts. Unconfirmed times are null; utc_offset_ms is the source offset, not an IANA timezone. Costs 5 Firecrawl credits per call.
- **Listings**: Read one page of public resale offers for an event and ticket quantity. Numeric price is per ticket; display_total_for_quantity is the source-rendered group total. Fee disclosures and allowed quantities are preserved. No checkout or reservations. Costs 5 Firecrawl credits per call.
- **Search**: Search public StubHub events by keywords such as an artist, team, venue or city. Returns one relevance-ranked page; pass next_page as page. No structured date or location filters. Costs 5 Firecrawl credits per call.

## What should I ask Cursor?

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

- [Use Firecrawl to search the first page of StubHub events matching Lakers and show event names, dates, venues and links.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20search%20the%20first%20page%20of%20StubHub%20events%20matching%20Lakers%20and%20show%20event%20names%2C%20dates%2C%20venues%20and%20links.)
- [Use Firecrawl to search StubHub for Lakers and read the first returned event’s details, including venue, confirmed date/time flags and available ticket quantities.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20search%20StubHub%20for%20Lakers%20and%20read%20the%20first%20returned%20event%E2%80%99s%20details%2C%20including%20venue%2C%20confirmed%20date%2Ftime%20flags%20and%20available%20ticket%20quantities.)
- [Use Firecrawl to search StubHub for Lakers and show the first page of resale offers for two tickets at the first returned event, including section, row, per-ticket price, group total and fee disclosures.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20search%20StubHub%20for%20Lakers%20and%20show%20the%20first%20page%20of%20resale%20offers%20for%20two%20tickets%20at%20the%20first%20returned%20event%2C%20including%20section%2C%20row%2C%20per-ticket%20price%2C%20group%20total%20and%20fee%20disclosures.)
- [Use Firecrawl to run StubHub's Event 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%20StubHub's%20Event%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 `stubhub-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 StubHub?

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 StubHub in other AI apps

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

### Other data providers you can connect to Cursor

- [How to connect Environment and Climate Change Canada weather and climate (api.weather.gc.ca) to Cursor](https://alexandria.firecrawl.dev/providers/api-weather-gc-ca/connect/cursor)
- [How to connect NOAA National Hurricane Center (nhc.noaa.gov) to Cursor](https://alexandria.firecrawl.dev/providers/nhc-noaa-gov/connect/cursor)
- [How to connect Agoda stays to Cursor](https://alexandria.firecrawl.dev/providers/agoda-com/connect/cursor)
- [How to connect Airport flight boards worldwide (airportinfo.live) to Cursor](https://alexandria.firecrawl.dev/providers/airportinfo-live/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, StubHub 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 StubHub MCP server for Cursor?

Cursor reaches StubHub through Firecrawl's hosted MCP server, which serves StubHub 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 StubHub.

### What does connecting StubHub to Cursor unlock?

Cursor can run StubHub's Event, Listings and Search, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to search the first page of StubHub events matching Lakers and show event names, dates, venues and links." In the same conversation, Cursor can combine StubHub with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

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

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

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

Each StubHub 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 StubHub?

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 StubHub 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 StubHub capabilities are available there. Keyless connections don't include Alexandria.
