Integrations
Live flight & hotel data in Cursor
Drop one block into .cursor/mcp.json and Cursor’s agent can query live fares and hotel rates while it writes your travel features: real responses, not guessed schemas.
- Google's price band + a low | typical | high verdict on every fare
- Bring your own key: usage bills to your own RapidAPI plan, never ours
- Live Booking.com rates too, with
proxy_countryper-market pricing
Free tier: 10 requests/month. No card to try.
{
"mcpServers": {
"flights": {
"url": "https://flights.flightpowers.com/mcp",
"headers": { "x-rapidapi-key": "YOUR_RAPIDAPI_KEY" }
}
}
}Restart Cursor and the tools appear in the Agent toolbox. Same shape works in any mcp.json-style client.
Connect
Add to .cursor/mcp.json
- 1
Get a RapidAPI key
Subscribe on the listing’s pricing tab. The free tier needs no card. The key is the only credential this integration uses.
- 2
Add the block to .cursor/mcp.json
Project-level or global: paste the config above with your key. For hotels, add a second entry pointing at https://hotels.flightpowers.com/mcp; one RapidAPI key covers both once you subscribe to each listing.
- 3
Restart Cursor
The tools appear in the Agent toolbox. The same config shape works in any mcp.json-style client, so the block travels with your dotfiles.
Ask it
Five things to say, verbatim
Prompts for a coding agent: each one runs a live call and puts the result to work.
“Call search_oneway_flights for LHR to JFK on October 13 and show me the raw JSON so we can write a parser for it.”
“Fetch live fares for LIS to JFK across November and build a test fixture from the five cheapest days.”
“Add a fareVerdict helper that maps price_range_in_relation_to_other_periods to a badge color, then check it against a live JFK to LHR search.”
“Query search_hotels for Lisbon, October 9 to 12, and generate a TypeScript type from the response.”
“Run find_hotel_by_name for the Rixos Sungate with proxy_country us, de, and il, and print the price spread.”
Tool inventory
The four tools in the Agent toolbox
Printed raw on purpose: this page is written to be read by an agent as much as by a person.
search_oneway_flightsflights serverOne-way fares with Google’s price band, the low | typical | high verdict, and a buy_link on every result. Takes a single date or a date range, expanded server-side.
search_roundtrip_flightsflights serverPaired-leg round-trip itineraries: one object per option with both legs matched and a combined total_price.
search_hotelshotels serverDestination search over live Booking.com rates, with the site’s own filters: review_score_8, free_cancellation, and the rest.
find_hotel_by_namehotels serverOne property by the name a human would type. proxy_country prices it from any market, the rate-parity tool.
Recipes
Seven things to build in Cursor
Each one is a full page: the connect block, the prompt, the exact call it makes, and the response fields your logic reads.
One-way flight search
Flights API · search_oneway_flights
Round-trip search
Flights API · search_roundtrip_flights
Price-insights check
Flights API · search_oneway_flights
Cheapest-date scan
Flights API · search_oneway_flights
Hotel search
Hotels API · search_hotels
Rate-parity check
Hotels API · find_hotel_by_name
Fare-alert cron
Flights API · search_oneway_flights
Questions, answered plainly
- Why give a code editor flight data?
- Because the agent that writes your travel feature can also run it. Cursor can fetch a live response, generate types and fixtures from it, and test parsing logic against real data instead of a guessed schema: the response shape it codes against is the one production will see.
- Is my key billed to me?
- Yes. The MCP servers are bring-your-own-key: Cursor sends your RapidAPI key with each call and usage meters against your own subscription. There is no FlightPowers account and no second bill.
- Where does the key live?
- In .cursor/mcp.json, as a header value. Treat the file as a secret: keep the project-level copy out of shared repositories, or use the global config instead.
- Which plan do I need?
- The free tier is 10 requests/month with a hard cap: enough to verify the config, not to develop against. For a development workflow, the $10 PRO plan (2,500 requests/month on flights) is the realistic floor. Every plan includes every endpoint.
- Does the same config work elsewhere?
- Yes. It is a standard MCP server over HTTP. Any client that reads an mcpServers block (or accepts a URL plus headers) connects the same way; only the file location changes.
Elsewhere
The same data in the rest of your stack
Ready to judge a fare, not just fetch it?
Live Google Flights and Booking.com data, with the price band and verdict attached to every result. Free tier on RapidAPI, no card to try.
Free tier: 10 requests/month. No card to try.