Packages¶
BoostedTravel is available as a Python SDK, JavaScript SDK, and MCP server.
Overview¶
| Package | Install | What it is |
|---|---|---|
| Python SDK + CLI | pip install boostedtravel |
SDK + boostedtravel CLI command |
| JS/TS SDK + CLI | npm install -g boostedtravel |
SDK + boostedtravel CLI command |
| MCP Server | npx boostedtravel-mcp |
Model Context Protocol for AI agents |
Python SDK¶
Provides:
BoostedTravelclient class withsearch(),unlock(),book(),me(),resolve_location(),setup_payment()- CLI command
boostedtravelwith all operations - Typed response models:
FlightSearchResponse,UnlockResponse,BookingResponse,AgentProfile - Exception classes:
AuthenticationError,PaymentRequiredError,OfferExpiredError
from boostedtravel import BoostedTravel
bt = BoostedTravel(api_key="trav_...")
flights = bt.search("LHR", "JFK", "2026-04-15")
JavaScript / TypeScript SDK¶
Provides:
BoostedTravelclient class withsearch(),unlock(),book(),me()- CLI command
boostedtravel(same interface as Python) - TypeScript types for all responses
import { BoostedTravel } from 'boostedtravel';
const bt = new BoostedTravel({ apiKey: 'trav_...' });
const flights = await bt.search('LHR', 'JFK', '2026-04-15');
MCP Server¶
Model Context Protocol server for AI assistants like Claude Desktop, Cursor, and Windsurf.
Quick Setup¶
Configuration¶
Add to your MCP config (Claude Desktop, Cursor, etc.):
{
"mcpServers": {
"boostedtravel": {
"command": "npx",
"args": ["-y", "boostedtravel-mcp"],
"env": {
"BOOSTEDTRAVEL_API_KEY": "trav_your_api_key"
}
}
}
}
Remote MCP (Streamable HTTP)¶
If your client supports remote MCP servers, connect directly without installing anything:
Available Tools¶
| Tool | Description |
|---|---|
search_flights |
Search 400+ airlines for flights |
get_agent_profile |
View account info and usage stats |
resolve_location |
Convert city names to IATA codes |
setup_payment |
Attach a Stripe payment method |
unlock_flight_offer |
Confirm price and reserve ($1) |
book_flight |
Create airline booking (PNR) |
API Endpoints¶
All packages connect to the same API:
| Endpoint | Method | Description |
|---|---|---|
/api/v1/agents/register |
POST | Create account, get API key |
/api/v1/flights/search |
POST | Search flights |
/api/v1/flights/resolve-location |
GET | Resolve city/airport codes |
/api/v1/bookings/unlock |
POST | Unlock offer ($1) |
/api/v1/bookings/book |
POST | Book flight |
/api/v1/agents/setup-payment |
POST | Setup Stripe payment |
/api/v1/agents/me |
GET | Agent profile |
Base URL: https://api.boostedchat.com
Interactive docs: api.boostedchat.com/docs