Expedia MCP server for AI agents
Let Claude, ChatGPT or your own agent read Expedia: 4 typed functions through one MCP server. No Expedia API key needed.
- Site
- expedia.com
- Functions
- 4
- Sign-in
- For account actions
- Works with
- MCP, HTTP, Node, Python
Connect
An MCP server for Expedia 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/expediaOne MCP server for Expedia 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 that need a login use the person's own account: how sign-in works.
Functions
Open a function to see its arguments, what it returns and how to call it.
getHotelDetailsLoads one Expedia hotel's page (the url searchHotels returns) and returns its name, star class, guest rating, address, amenities, policies, nearby…Arguments
Name Type Required argsstring | ExpediaGetHotelDetailsArgsYes interface ExpediaGetHotelDetailsArgs { /** A hotel page: the `url` of a hotel from searchHotels (keeps its dates). */ url: string; }Returns
ExpediaHotelDetailsinterface ExpediaRoomOption { label: string; // "Non-Refundable", "Fully refundable before Dec 7" extraCost: string | null; // "+ $37" } interface ExpediaRoom { name: string; rating: number | null; reviewCount: number | null; size: string | null; // "452 sq ft" sleeps: number | null; bedrooms: string | null; beds: string | null; // "2 Queen Beds" features: string[]; soldOut: boolean; /** Total for the stay with taxes and fees; null when sold out. */ totalPrice: string | null; totalAmount: number | null; nightlyPrice: string | null; previousPrice: string | null; discount: string | null; lowestPrice: boolean; cancellationOptions: ExpediaRoomOption[]; extras: ExpediaRoomOption[]; } interface ExpediaHotelDetails { propertyId: string; name: string; starRating: number | null; rating: number | null; ratingLabel: string | null; reviewCount: number | null; address: string | null; highlights: string[]; amenities: string[]; policies: Record<string, string[]>; // "Check-in", "Pets", "Fees"… nearby: { name: string; distance: string | null }[]; priceInsight: string | null; stay: { dates: string | null; travelers: string | null }; rooms: ExpediaRoom[]; url: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/expedia/getHotelDetailsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.expedia.getHotelDetails("<args>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.expedia.getHotelDetails("<args>"))curl -X POST https://api.bowmark.ai/v1/sites/expedia/getHotelDetails \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":"<args>"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.expedia.getHotelDetails("<args>");searchFlightsRuns Expedia's own flight search for an origin, destination and dates and returns the offers its results page lists: airline, times, stops, duration…Arguments
Name Type Required fromstringIATA code, "SFO".Yes tostringIATA code, "LHR".Yes departDatestringYYYY-MM-DD. Defaults to 30 days from today.No returnDatestringYYYY-MM-DD; omit for one way.No adultsnumberNo limitnumberNo Returns
ExpediaFlightSearchinterface ExpediaFlightOffer { airline: string; departs: string; arrives: string; arrivesDaysLater: number; stops: string; // "Nonstop", "1 stop" duration: string | null; price: string; // "$807", per traveller amount: number; } interface ExpediaFlightSearch { from: string; to: string; departDate: string; returnDate: string | null; adults: number; offers: ExpediaFlightOffer[]; url: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/expedia/searchFlightsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.expedia.searchFlights({ from: "SFO", to: "LHR", departDate: { $daysFromNow: 35 } });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.expedia.searchFlights({ "from": "SFO", "to": "LHR", "departDate": {"$daysFromNow": 35} }))curl -X POST https://api.bowmark.ai/v1/sites/expedia/searchFlights \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"from":"SFO","to":"LHR","departDate":{"$daysFromNow":35}}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.expedia.searchFlights({ from: "SFO", to: "LHR", departDate: { $daysFromNow: 35 } });searchHotelsRuns Expedia's own hotel search for a destination, dates and adults and returns the hotels its first results page lists, in Expedia's order: name…Arguments
Name Type Required argsstring | ExpediaSearchHotelsArgsYes interface ExpediaSearchHotelsArgs { /** Free text, as typed into Expedia's search box: "Paris, France", "Austin". */ destination: string; /** YYYY-MM-DD. Defaults to 14 days from today. */ checkIn?: string; /** YYYY-MM-DD. Defaults to two nights after checkIn. */ checkOut?: string; /** Adults in one room. Defaults to 2. */ adults?: number; limit?: number; }Returns
ExpediaHotelSearchinterface ExpediaHotel { propertyId: string; name: string; location: string | null; /** Guest rating out of 10. */ rating: number | null; ratingLabel: string | null; reviewCount: number | null; /** Total for the stay with taxes and fees, e.g. "$909". */ totalPrice: string | null; totalAmount: number | null; nightlyPrice: string | null; previousPrice: string | null; amenities: string[]; // the site's own labels, e.g. "Spa", "Health club", "Indoor pool" description: string | null; freeCancellation: boolean; sponsored: boolean; vipAccess: boolean; url: string; } interface ExpediaHotelSearch { destination: string; checkIn: string; checkOut: string; adults: number; totalResults: number | null; hotels: ExpediaHotel[]; url: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/expedia/searchHotelsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.expedia.searchHotels({ destination: "Paris, France", checkIn: { $daysFromNow: 21 }, checkOut: { $daysFromNow: 23 } });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.expedia.searchHotels({ "destination": "Paris, France", "checkIn": {"$daysFromNow": 21}, "checkOut": {"$daysFromNow": 23} }))curl -X POST https://api.bowmark.ai/v1/sites/expedia/searchHotels \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"destination":"Paris, France","checkIn":{"$daysFromNow":21},"checkOut":{"$daysFromNow":23}}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.expedia.searchHotels({ destination: "Paris, France", checkIn: { $daysFromNow: 21 }, checkOut: { $daysFromNow: 23 } });suggestDestinationsReturns Expedia's destination autocomplete suggestions (cities, airports, neighbourhoods, hotels) for a typed prefix.Arguments
Name Type Required argsstring | { query: string }Yes Returns
{ query: string; suggestions: ExpediaDestination[] }interface ExpediaDestination { id: string; type: string; name: string; airportCode: string | null; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/expedia/suggestDestinationsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.expedia.suggestDestinations({ query: "lisbon" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.expedia.suggestDestinations({"query": "lisbon"}))curl -X POST https://api.bowmark.ai/v1/sites/expedia/suggestDestinations \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"query":"lisbon"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.expedia.suggestDestinations({ query: "lisbon" });
Use it from code
- Node
npm i @bowmark/web - Python
pip install bowmark-web - HTTP
POST /v1/sites/expedia/<function> - OpenAPI
/v1/sites/expedia/openapi.json