DocumentationMCPCLI

Introduction

  • Overview

Hotels

  • Search hotels
  • Hotel details
  • Live rates

Booking

  • Create booking

Account

  • Sign in
  • Sign out
  • Show account

Guides

  • Agent guide

Local MCP

  • Local MCP server

Hotels

Live rates

Live rooms and rates for up to 15 hotels.

MCP: get_hotel_rates

Usage

fortrip hotels rates --hotel <id>... --check-in YYYY-MM-DD --check-out YYYY-MM-DD --rooms <n> --adults <n> [options]

Options

FlagFieldDescription
--hotel <id>...hotelIdsHotels to price, by id from hotels search: repeat the flag or comma-separate, up to 15. Each call takes about 15 seconds.
--check-in YYYY-MM-DDcheckInCheck-in date, yyyy-MM-dd.
--check-out YYYY-MM-DDcheckOutCheck-out date, yyyy-MM-dd. Stays are 1 to 15 nights.
--rooms <n>roomsNumber of rooms; every room has the same occupancy
--adults <n>adultsAdults per room, not in total (2 rooms for 4 adults = --rooms 2 --adults 2)
--child-age <age>...childrenAgesAge of each child in one room (0-17), per room
--nationality <CC>nationalityGuest nationality, ISO 3166-1 alpha-2 in upper case, e.g. CN. Some rates are restricted by nationality; booking doesn't send it, so such a rate may change or be refused at booking
--board RO|BB|HB|FB|BL|BD|HBBL|HBLD|AI...boardCodesKeep only these meal plans: RO room only, BB breakfast, HB half board, FB full board, AI all inclusive, and so on.
--free-cancellationfreeCancellationKeep only rates that can still be cancelled free of charge right now.
--include-unbookablebookableOnlyAlso keep rates that are not bookable on every night (by default only bookable rates are returned).
--max-rooms <n>maxRoomsPerHotelReturn the N cheapest rooms per hotel. Default 10.
--currency CNY|USDcurrencyCurrency to show prices in. Prices are converted from the supplier's at Stripe's exchange rate; the response's fx says how.
--body <json|@file.json>—The raw request body as a JSON object, or @file.json to read it from a file. Flags override its fields.

Output

Prints the Rates result object on stdout. Errors go to stderr with an exit code.

PreviousHotel detailsNextCreate booking

On this page

  • Usage
  • Options
  • Output
Fortrip

Opinionated trip planning, built for real itineraries.

Plan

  • AI Trip Planner
  • Validator
  • Transport
  • Stays

Company

  • Pricing
  • About
  • Team
  • Blog
  • Decision Optimization
  • Itinerary Selection
  • News

Resources

  • Explore Destinations
  • Brand Assets
  • Responsible Travel
  • vs ChatGPT
  • Best AI travel planner
  • FAQ

© 2026 FortripAI, Inc.

PrivacyTerms
info@fortrip.ai+1-650-272-16121111b South Governors Ave, Dover, DE 19904
Skip to main content
Fortrip Logo
HomeExplorePlanningPricing
CLIMCPDocs
Saved0