AirTreks for AI agents
The flight booking MCP server for complex trips
A multi-stop flight API for AI agents, built on 35+ years of round-the-world fare expertise. Plan, validate, and price multi-city itineraries your users can actually book - then hand off to a human consultant when they're ready.
Quick start
Connect over MCP
Streamable HTTP, no authentication needed for the six routing tools.
Claude (Desktop or claude.ai)
Settings → Connectors → Add custom connector → paste the endpoint:
https://mcp.airtreks.com/mcp
Claude Code
claude mcp add --transport http airtreks https://mcp.airtreks.com/mcp
Cursor, ChatGPT, or any MCP client
{
"mcpServers": {
"airtreks": {
"url": "https://mcp.airtreks.com/mcp"
}
}
}The server also publishes a manifest at /.well-known/mcp/server.json for registry auto-discovery.
REST + OpenAPI
No MCP client? Use plain REST
Every tool is also a REST endpoint - same rate limits, JSON in and out. Agent frameworks that consume OpenAPI can import the spec directly.
curl -X POST https://mcp.airtreks.com/api/plan_route \
-H "Content-Type: application/json" \
-d '{"cities": ["LAX", "NRT", "BKK", "LHR", "LAX"]}'OpenAPI 3.1 spec: https://mcp.airtreks.com/openapi.json
Endpoints follow POST /api/{tool} with a JSON body of tool arguments. Validation errors come back as structured 400s with field-level issues, so agents can self-correct and retry.
Tools
Seven tools, one specialty: multi-stop
Six free routing tools plus a consultant handoff for when your user is ready to book.
| Tool | Access | What it does |
|---|---|---|
| plan_route | Free | Primary entry point - give it cities, it evaluates Star Alliance RTW, oneworld RTW, and custom mixed-carrier builds, then recommends the best approach. |
| route_validate | Free | Validate a multi-city routing: alliance rules, dead legs, poison carriers, bookability. |
| route_suggest | Free | Suggested multi-stop routings by region, direction, and alliance - proven templates with bookability ratings. |
| hub_check | Free | Best connection between two airports - dead-leg detection plus hub routing fixes. |
| fare_product_match | Free | Match the right fare product: RTW, Circle Pacific, Circle Atlantic, Open Jaw, or Custom Multi-City. |
| custom_route_build | Free | Break complex itineraries into individually-ticketable segments with carrier recommendations. |
| trip_idea_create | API key | Hand off to an AirTreks human consultant - creates a trip idea with the full routing analysis attached. Requires an API key. |
The data
A round-the-world fare API no one else can offer
AirTreks has priced complex itineraries since 1987. This round the world fare API exposes what that history taught us.
- 53 dead legs - city pairs that look bookable but fail on alliance fares, learned from 1,400+ real fare-construction failures.
- Measured bookability - 91% at 3–4 legs, 61% at 5–6, 6% at 7+. Measured from real bookings, not estimated.
- Poison carriers and hub fixes - which airline combinations break ticketing and what to route instead.
- Machine-readable content - routes, airline trust profiles, and FAQs at /llms.txt, /data/routes.json, /data/airlines.json, and /data/faqs.json.
Access
Rate limits and API keys
The free tier is 100 requests/day per IP with no key - enough to plan and validate real itineraries. Registered keys get higher limits and unlock trip_idea_create:
curl -X POST https://mcp.airtreks.com/register \
-d '{"email": "you@example.com"}'Need more than the registered tier? Mail sean@bootsnall.com with what you are building and we will raise your limit. If you are booking flights for travelers rather than building against the API, see how AirTreks works with partners. Source and issue tracker: github.com/SEKeener/airtreks-mcp.
For humans
Planning a trip yourself?
The same routing intelligence powers our human consultants. Start a trip plan and one of them will build your route.