
fortrip
io.github.FortripEngineering/fortrip
Search hotels worldwide, compare live room rates, book and pay securely, and cancel bookings.
Documentation
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
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 use | Set it up |
|---|---|
| claude.ai, Claude Desktop, ChatGPT | Add https://mcp.fortrip.ai/ as a connector and sign in to Fortrip. Steps for claude.ai, Claude Desktop and ChatGPT. |
| Claude Code | claude plugin marketplace add FortripEngineering/fortrip, then claude plugin install fortrip@fortrip. |
| Codex, Cursor, other MCP clients | Connect 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 shell | npx skills add FortripEngineering/fortrip --skill fortrip-cli |
| A terminal | npx -y fortrip login, then npx -y fortrip hotels search. See the CLI's README. |
| Your own code | The 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
- The agent searches, then gets live offers for the hotels the user likes.
- It creates an order for one offer. Nothing is charged.
- It shows the user the total, the stay and every term, and waits for a yes.
- The user pays on the order's payment link.
- The agent follows the order until the hotel confirms.
Orders and payment has the whole flow, with cancelling.
In this repository
| Path | What it is |
|---|---|
packages/cli | The fortrip command-line tool, and the local MCP bridge, fortrip mcp. On npm as fortrip. |
packages/contract | The 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/docs | The site at docs.fortrip.ai. |
plugins | The listings for Claude, ChatGPT and Codex, WorkBuddy and the MCP Registry. |
skills/fortrip-cli | The 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).
fortripnpm install fortrip