DocumentationMCPCLI

Introduction

  • Overview

Hotels

  • Search hotels
  • Hotel details
  • Live rates

Booking

  • Create booking

Account

  • Sign in

Guides

  • Agent guide

Hotels

Search hotels

Find hotels with indicative nightly prices. Give one of --query, --city-code or --near.

MCP: search_hotels

Usage

fortrip search --query <text> --check-in <date> --check-out <date>

Options

FlagFieldDescription
--query, -q <text>queryHotel name, brand or city.
--city-code <n>cityCodeCatalogue city code.
--near <lat,lng,km>nearSearch around a point, e.g. 13.75,100.5,5.
--check-in <date>checkInyyyy-MM-dd. Required.
--check-out <date>checkOutyyyy-MM-dd. Required.
--star-min <n>starMinLowest star rating.
--star-max <n>starMaxHighest star rating.
--facility <name>facilitiesRepeat for each required facility.
--price-min <n>priceMinLowest average nightly price.
--price-max <n>priceMaxHighest average nightly price.
--sort <order>sortByrecommended, price-asc, price-desc, star-desc or distance.
--page <n>pagePage number.
--page-size <n>pageSizeHotels per page, up to 50.
--currency <code>currencyCNY (default) or USD.

Output

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

PreviousOverviewNextHotel details

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