Trip.com MCP server for AI agents
Let Claude, ChatGPT or your own agent read Trip.com: 1 typed function through one MCP server. No Trip.com API key needed.
- Site
- trip.com
- Functions
- 1
- Sign-in
- Not needed
- Works with
- MCP, HTTP, Node, Python
Connect
Just Trip.com
An MCP server for Trip.com alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.
https://api.bowmark.ai/mcp/site/tripEvery site
One MCP server for Trip.com and every other site Bowmark covers. Your agent looks up what it needs and calls it.
https://api.bowmark.ai/mcpSet it up in your clientBoth need a Bowmark API key. The quickstart gets you one and a first result in a few minutes.
Functions
Open a function to see its arguments, what it returns and how to call it.
Read 1
searchFlightsReads Trip.com's current route recommendations for two IATA codes: airline, times, duration, stops, displayed fare and its route page.Arguments
Name Type Required originstringYes destinationstringYes limitnumberNo Returns
TripFlightSearchinterface TripFlight { origin: string; destination: string; departureTime: string | null; arrivalTime: string | null; duration: string | null; stops: string | null; departureDate: string | null; airline: string | null; price: string | null; url: string } interface TripFlightSearch { origin: string; destination: string; flights: TripFlight[]; url: string }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/trip/searchFlightsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.trip.searchFlights({ origin: "SFO", destination: "NYC", limit: 3 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.trip.searchFlights({"origin": "SFO", "destination": "NYC", "limit": 3}))curl -X POST https://api.bowmark.ai/v1/sites/trip/searchFlights \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"origin":"SFO","destination":"NYC","limit":3}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.trip.searchFlights({ origin: "SFO", destination: "NYC", limit: 3 });
Use it from code
- Node
npm i @bowmark/web - Python
pip install bowmark-web - HTTP
POST /v1/sites/trip/<function> - OpenAPI
/v1/sites/trip/openapi.json