# How to connect Trip.com to Cursor

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

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

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

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

```text
Use Firecrawl to show the first 10 featured hotel profiles from https://www.trip.com/hotels/london-hotels-list-338/ with their published names and profile links.
```

## What can Cursor do with Trip.com?

Public hotel destination directories and hotel profiles, room types, amenities and policies. No date-specific availability or offers.

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

- **Amenities**: Read published popular hotel amenities with source charge labels. Partial amenity coverage; no unlisted amenity is inferred absent. Costs 5 Firecrawl credits per call.
- **Destinations**: List linked hotel city directories from the public hotels landing page. Not a complete destination catalog. Costs 5 Firecrawl credits per call.
- **Hotel**: Read hotel identity, street address, description and published property facts. Does not quote a stay. Costs 5 Firecrawl credits per call.
- **Hotels**: List featured hotel profiles from a known city directory. Curated directory content, not dated availability search; marketing prices are omitted. Costs 5 Firecrawl credits per call.
- **Policies**: Read published property policy sections including check-in/out, children, pets and fees when present. Policies may vary by room and do not represent a booking contract. Costs 5 Firecrawl credits per call.
- **Rooms**: Read published room types, bed descriptions and room features. Room types do not establish availability; price and availability are unknown. Costs 5 Firecrawl credits per call.

## What should I ask Cursor?

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

- [Use Firecrawl to show the first 10 featured hotel profiles from https://www.trip.com/hotels/london-hotels-list-338/ with their published names and profile links.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20show%20the%20first%2010%20featured%20hotel%20profiles%20from%20https%3A%2F%2Fwww.trip.com%2Fhotels%2Flondon-hotels-list-338%2F%20with%20their%20published%20names%20and%20profile%20links.)
- [Use Firecrawl to show the hotel address, description and published property amenities at https://www.trip.com/hotels/london-hotel-detail-2985758/royal-national-hotel-london/.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20show%20the%20hotel%20address%2C%20description%20and%20published%20property%20amenities%20at%20https%3A%2F%2Fwww.trip.com%2Fhotels%2Flondon-hotel-detail-2985758%2Froyal-national-hotel-london%2F.)
- [Use Firecrawl to answer this: What room types, bed descriptions and room features are published at https://www.trip.com/hotels/london-hotel-detail-2985758/royal-national-hotel-london/ for this property?](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20answer%20this%3A%20What%20room%20types%2C%20bed%20descriptions%20and%20room%20features%20are%20published%20at%20https%3A%2F%2Fwww.trip.com%2Fhotels%2Flondon-hotel-detail-2985758%2Froyal-national-hotel-london%2F%20for%20this%20property%3F)
- [Use Firecrawl to show the published check-in, check-out, child and pet policies at https://www.trip.com/hotels/london-hotel-detail-2985758/royal-national-hotel-london/, including fees where stated.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20show%20the%20published%20check-in%2C%20check-out%2C%20child%20and%20pet%20policies%20at%20https%3A%2F%2Fwww.trip.com%2Fhotels%2Flondon-hotel-detail-2985758%2Froyal-national-hotel-london%2F%2C%20including%20fees%20where%20stated.)

### For agents

Start with the `trip-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 Trip.com?

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 Trip.com in other AI apps

- [Trip.com in ChatGPT](https://alexandria.firecrawl.dev/providers/trip-com/connect/chatgpt)
- [Trip.com in Claude](https://alexandria.firecrawl.dev/providers/trip-com/connect/claude)
- [Trip.com in Grok Bot](https://alexandria.firecrawl.dev/providers/trip-com/connect/grok-bot)
- [Trip.com in Muse](https://alexandria.firecrawl.dev/providers/trip-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, Trip.com 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 Trip.com MCP server for Cursor?

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

### What does connecting Trip.com to Cursor unlock?

Cursor can run all 6 of Trip.com's capabilities, including Amenities, Destinations and Hotel, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to show the first 10 featured hotel profiles from https://www.trip.com/hotels/london-hotels-list-338/ with their published names and profile links." In the same conversation, Cursor can combine Trip.com with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

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

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

### How much does it cost to use Trip.com in Cursor?

Each Trip.com 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 Trip.com?

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