Repository avatar
Search & Data Extraction
v1.4.36
active

fortrip

io.github.FortripEngineering/fortrip

Search hotels worldwide, compare live room rates, book and pay securely, and cancel bookings.

Documentation

Fortrip

Hotel booking for AI agents

Search hotels, compare live rates, book and cancel,
from Claude, ChatGPT, Codex, Cursor or your own agent.

Docs · Quickstart · HTTP API · MCP server · CLI · Changelog

fortrip on npm CI Apache License 2.0 Node.js 22 or newer

What an agent can do

  • Search hotels in a city, region or country, near a place, or by name or brand.
  • Price a stay with live offers: the room, the meals, the total, fees paid at the hotel and the cancellation terms.
  • Book an offer. The user reviews the terms and pays on Fortrip's payment page: the agent never sees a card.
  • Follow the order until the hotel confirms, cancel it under its terms, and list past orders.

Hotels only for now. Every way to connect signs in with a Fortrip account, by OAuth in the browser, and returns the same data.

Get started

You useSet it up
claude.ai, Claude Desktop, ChatGPTAdd https://mcp.fortrip.ai/ as a connector and sign in to Fortrip. Steps for claude.ai, Claude Desktop and ChatGPT.
Claude Codeclaude plugin marketplace add FortripEngineering/fortrip, then claude plugin install fortrip@fortrip.
Codex, Cursor, other MCP clientsConnect the hosted server, https://mcp.fortrip.ai/. Steps for Codex and Cursor. A client that only starts local servers runs npx -y fortrip mcp.
Any agent with a shellnpx skills add FortripEngineering/fortrip --skill fortrip-cli
A terminalnpx -y fortrip login, then npx -y fortrip hotels search. See the CLI's README.
Your own codeThe HTTP API: sign in, search, get offers and create an order in five steps.

Then ask your agent for a stay:

Find a quiet hotel in Kyoto for two adults, two nights next month, with free cancellation.

How a booking works

  1. The agent searches, then gets live offers for the hotels the user likes.
  2. It creates an order for one offer. Nothing is charged.
  3. It shows the user the total, the stay and every term, and waits for a yes.
  4. The user pays on the order's payment link.
  5. The agent follows the order until the hotel confirms.

Orders and payment has the whole flow, with cancelling.

In this repository

PathWhat it is
packages/cliThe fortrip command-line tool, and the local MCP bridge, fortrip mcp. On npm as fortrip.
packages/contractThe contract every surface shares: schemas, limits, error codes, the specs of the MCP tools and CLI commands, and the agent guide. On npm as @fortrip/agent-contract.
packages/docsThe site at docs.fortrip.ai.
pluginsThe listings for Claude, ChatGPT and Codex, WorkBuddy and the MCP Registry.
skills/fortrip-cliThe skill for agents with a shell.

Development

Node.js 22 or newer and pnpm 11.

pnpm install
pnpm test             # tests of every package, and of the scripts
pnpm generate         # renders the skills from the contract
pnpm generate --check # fails with a diff when a generated file is stale
pnpm build && pnpm validate   # checks the store listings

pnpm typecheck and pnpm build run for every package too. CI runs typecheck, tests and the build on Node.js 22 and 24, and on 24 also pnpm generate --check, pnpm validate and claude plugin validate --strict on ., plugins/claude and skills.

Publishing the listings, releasing to npm and deploying the docs are in MAINTAINING.md.

Support

For help with a booking, email support@fortrip.ai with the order's reference. Never send the payment link. The FAQ answers common questions.

License

Apache License 2.0. Copyright 2026 FortripAI, Inc. (see NOTICE). Releases before 2.0.0 were published under the MIT License. This license does not grant access to the hosted Fortrip service, hotel inventory, or third-party data.

Trademarks

"Fortrip" and the Fortrip logo are trademarks of FortripAI, Inc. The Apache License 2.0 does not grant permission to use the trade names, trademarks, service marks or product names of FortripAI, Inc., except as required for reasonable and customary use in describing the origin of the software and reproducing the content of the NOTICE file (section 6).

NPM
fortrip
Install Command
npm install fortrip

Remote