# LetsFG — Flights & Hotels [Health: Active]

**Category:** 🚆 Travel & Transportation  
**Repository:** https://github.com/LetsFG/LetsFG  
**GitHub Stars:** 2296  
**npm Downloads (last month):** 1045  
**Views:** 7  
**Installs:** 1  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/letsfg-flights-hotels

## Description
Search and book flights and hotels: hundreds of airlines, plus pay-later hotel rates.

## Tools
Capabilities this server exposes over MCP:

- **search_flights** — Search hundreds of airlines for live flight prices — completely FREE, unlimited, read-only.

Returns structured offers with prices, airlines, times, durations, and stopovers. Some offers carry `starlink` for in-flight Starlink Wi-Fi: "confirmed_all" / "confirmed_some" mean the carrier has FULLY fitted that aircraft type, "likely_all" / "likely_some" mean the rollout on that type is underway but incomplete. State only "confirmed_*" as fact; describe "likely_*" as "the airline is fitting this aircraft type, not guaranteed on your flight". Anything ending in "_some" has at least one leg WITHOUT it. An absent field means no information, NOT an absence of Wi-Fi. Covers airlines across all continents including low-cost carriers.

Search is async: this tool polls for you, including waiting out the late split-ticket merge.

Some offers are SPLIT TICKETS: two separately-issued tickets through a hub, each leg booked from whatever is cheapest for it (usually two different airlines), because no one seller offers the combination as a single ticket. They carry `split_ticket: "true"`, `combo_type: "virtual_interlining"` and `self_transfer: "unprotected"`. ALWAYS tell the user when an offer is a split ticket and what unprotected means: the tickets are not linked, so if the first flight is late and the connection is missed, the second airline owes nothing — no rebooking, no refund. Never present a split ticket as though it were one through-fare.

Requires LETSFG_BEARER_TOKEN or LETSFG_API_KEY. See letsfg://guide resource for the full authenticate->search->book workflow.
- **resolve_location** — Convert a city/airport name to IATA codes. Always call before search_flights if you only have a city name. Read-only, safe to call multiple times.
- **book_flight** — Book a flight from a search result.

FLOW: authenticate (once) -> search_flights -> book_flight
CHARGES: nothing from LetsFG. A completed booking pays the airline prices from airlines and the major booking sites.
RESULT: either {"booked": true, "order_id": "..."} or {"booked": false, "booking_url": "..."} — the second means the booking genuinely did not complete and nothing was charged. That is a normal outcome, NOT a transient error: do not retry, give the user the booking_url.
SAFETY: use REAL passenger details — names must match passport, email receives the e-ticket.
- **get_flight_booking** — Poll a flight booking started by book_flight. REQUIRED to learn the outcome: on a PFS Bearer token book_flight returns a booking_ref and state "booking_in_progress", not a PNR - the booking itself takes 4-11 minutes.

Call it every 20-30 s with that booking_ref until state is terminal:
  completed       -> PNR issued, card charged
  failed          -> the hold was released, nothing was charged
  needs_attention -> a human is looking at it; do NOT rebook

Do not rebook while the state is still moving, and do not treat a slow poll as a failure - the money is HELD, not taken, until the airline confirms. Refs last one hour past the booking start.
- **answer_booking_question** — Answer the question a paused booking is waiting on. get_flight_booking returns `awaiting_choice` when the booking agent has stopped mid-checkout holding a cart: at the airline's own seat map, at a paid extra it has just priced, or at a fare that moved.

NOTHING PROGRESSES UNTIL YOU ANSWER, and the cart expires. Put the question to the traveller with the options and the time left, then send their answer here.

  kind "seat"   -> seats: [{ d: "12A" }, ...] from the map you were shown, or skip: true
  kind "extra"  -> confirm: true to take it (a bag, or a moved fare), or confirm: false / skip: true to decline

Always pass the `round` from `awaiting_choice` - it says WHICH question you are answering. A return trip pauses twice, and an answer without it could seat the wrong leg.
- **resolve_hotel_city** — Convert a place name to the supplier city id that search_hotels needs. Always call this first if you only have a city name. Read-only and safe to repeat.

Use `Id` from the first result as city_id and `Name` as city_name.
- **search_hotels** — Search real, bookable hotel inventory. Requires a connected payment method — the SAME one that authorises flight booking. That applies to search too, not just booking, because a search opens a real session at the supplier.

Every rate type is returned, refundable and non-refundable; each offer's `refundable` and `free_cancellation_until` say which.

`price` is what the guest pays, in `currency` (USD unless you pass currency): the supplier's cost plus `markup_rate` (6.4% for Revolut Pay or an EEA card, 8.3% for a card issued outside the EEA). Nothing is added at booking. Keep the chosen offer whole — book_hotel needs its `session_id`, `combination_id_v2`, `price`, `expected_cost`, `currency` and `fx_rate`. Takes up to a few minutes.
- **book_hotel** — Book one hotel rate. The offer's full price is HELD on the connected Revolut payment method (authorised, not taken); LetsFG books and pays the supplier; the hold is captured only once the supplier has confirmed. If the booking fails for any reason the hold is released and nothing is charged. There is no reservation fee, no deposit and no pay link.

Returns a booking_job_id, NOT the booking — a booking takes minutes. Poll get_hotel_booking every ~20s until status is succeeded, failed or attention; all three are final.

Copy expected_price (the offer's price), expected_cost, currency and fx_rate from the chosen offer exactly. A USD offer sent without its currency is refused (400 price_mismatch). Guest names, phone and e-mail are checked before anything is held (400 invalid_details). guests needs ONE name per guest in the room, children included — adults first, then children in child_ages order. Do NOT call book_hotel again for a booking whose job is running — poll it; a retry returns the same job (duplicate: true).
- **get_hotel_booking** — Collect the result of a booking started with book_hotel. Poll every ~20s.

status is in_progress, succeeded, failed or attention; the last three are final — stop polling.
- succeeded: confirmation, hotel, room, total_price + currency (what the guest is charged), supplier_paid + supplier_currency, payment_status, refundable, free_cancellation_until, cancellation_ladder and terms.
- failed: error, written for the guest. The hold was released; nothing was charged.
- attention: error (+ confirmation if known). The outcome could not be settled automatically; the hold is kept (nothing charged) while a person checks with the supplier. Do NOT book again.
The guest is e-mailed in every case. Read-only and safe to repeat.
- **cancel_hotel_booking** — Cancel a hotel booking made by this account and refund the guest. A zero-charge cancellation (a refundable rate before free_cancellation_until) refunds the charge in full; a cancellation that would cost money is refused (409) — the hotel's own ladder is in the booking terms.

Takes over a minute; if it times out do NOT assume it failed — re-check before retrying.
- **authenticate** — Explain how to connect LetsFG so this server can search and book. Connecting is one tap at https://letsfg.co/connect and needs no card. Search works straight away. The card is asked for only at the first booking: book_flight returns an add_card_url for a 0.00 Revolut setup, nothing charged.

Call with no arguments. It returns the current instructions and add_card_url. A PERSON must approve once in a browser — there is no endpoint that mints a token from card details, so do not ask the user for card numbers and do not try to automate this step.

Two ways in: (a) add LetsFG as a connector (https://letsfg.co/mcp) in an assistant that supports remote MCP servers and approve it, or (b) any OAuth-capable client can register itself — see https://letsfg.co/for-agents, section "Option B". Both land on the same one-tap approval at letsfg.co/connect.

RETIRED 2026-09-02: the Stripe lanes (setup_url, setup_session_id, payment_method_id, card_token) and every token they issued. Passing them now fails.

This does NOT create a Developer API billing account. Do not use connect_payment for this.
- **connect_payment** — [Developer API only — you almost certainly want `authenticate` instead] Mints a one-time link for connecting a payment method to a PAID prepaid Developer API account. Nothing is charged to connect and card details never touch LetsFG: a PERSON opens the returned connect_url in a browser and saves a card, Revolut Pay or Google Pay there. Do not ask a user for card numbers and do not try to automate that step. Refuses to run unless LETSFG_API_KEY is set, because agents kept calling this and creating billing accounts they did not need. Replaced setup_payment on 2026-09-08, when the Stripe lane was retired.
- **get_agent_profile** — [Developer API only] Get agent profile, balance and usage stats. Read-only.

Requires LETSFG_API_KEY. A PFS Bearer token has no profile — it is bound to your payment method, carries no balance, and search and booking are free.
- **load_resources** — Load the LetsFG workflow guide (3-step booking flow, pricing, passenger rules, error handling). Call this ONCE at the start of a conversation to understand how to use the flight tools correctly. Clients that support MCP resources get this automatically — this tool is for clients that do not.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "letsfg-flights-hotels": {
    "command": "npx",
    "args": ["-y","letsfg-mcp"],
    "env": {
      "LETSFG_BEARER_TOKEN": "",
      "LETSFG_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `LETSFG_BEARER_TOKEN`, `LETSFG_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What LetsFG — Flights & Hotels does

LetsFG exposes travel search and booking capabilities through MCP for flights and hotels. Flight search covers airlines across all continents, including low-cost carriers, and returns structured offers containing prices, airlines, schedules, durations, and stopovers. Hotel search returns bookable inventory with refundable and non-refundable rates, cancellation deadlines, pricing, and supplier details.

The server also supports the surrounding workflow: converting city names into airport IATA codes or supplier city IDs, connecting a payment method, booking selected offers, checking asynchronous booking jobs, answering checkout questions, and cancelling eligible hotel reservations.

## How it works

Flight use generally follows this sequence:

1. Authenticate and connect a payment method.
2. Resolve a city to an airport code when the traveller did not provide one.
3. Search flights.
4. Book a selected result.
5. Poll the booking until it completes, fails, or needs human attention.

Hotel searches first require a supplier city ID and a connected payment method. The selected offer must be passed to `book_hotel` with its session, combination, price, cost, currency, and exchange-rate fields unchanged. Hotel jobs are then checked with `get_hotel_booking` until the status is final.

Some flight and hotel checkouts pause for a traveller decision. Flight checkout can ask about seats, paid extras, or a fare change; hotel booking results can require human attention. Flight booking questions must include the returned `round` value so an answer applies to the correct leg.

## Setup and configuration

Authenticate with either `LETSFG_BEARER_TOKEN` or `LETSFG_API_KEY`. The `authenticate` tool returns connection instructions and an approval link at `https://letsfg.co/connect`. A person must approve the payment-method connection in a browser; agents should not request or process card numbers. Connecting does not charge the card.

The MCP endpoint is `https://letsfg.co/mcp`. Claude users can add LetsFG through Claude’s connector directory, while other clients can add the endpoint as an MCP server. The workflow guide is available through the `letsfg://guide` resource, and clients without MCP resource support can call `load_resources` once at the start of a conversation.

## Tools and capabilities

- `search_flights` performs free, unlimited, read-only searches and waits for asynchronous results, including split-ticket merging.
- `resolve_location` maps city or airport names to IATA codes.
- `book_flight`, `get_flight_booking`, and `answer_booking_question` manage flight checkout and its delayed results.
- `resolve_hotel_city`, `search_hotels`, `book_hotel`, and `get_hotel_booking` handle hotel discovery and booking jobs.
- `cancel_hotel_booking` can refund eligible reservations when cancellation is free under the rate terms.
- `authenticate` connects a payment method; developer-API-only tools include `connect_payment` and `get_agent_profile`.

## Limitations and notes

A split-ticket flight is made of separately issued, unprotected tickets. If an earlier leg is delayed and the connection is missed, the second airline owes no rebooking or refund. Agents must clearly identify these offers rather than describing them as a single through-fare.

Flight booking can take 4–11 minutes, and hotel booking can also take several minutes. A booking in progress must be polled instead of retried. A failed result releases the hold without charging the traveller; an attention state means a person is checking the outcome, so the agent must not book again.

Hotel search opens a real supplier session and therefore requires the same connected payment method used for flight booking. Hotel prices include the stated markup and currency, and offer-level cancellation terms determine whether a cancellation can be refunded. Passenger names must match travel documents, and hotel guest lists must include every guest in the room, including children.

_Full upstream README: https://allmcps.com/mcp/letsfg-flights-hotels/readme_

