A TypeScript implementation of a flight search MCP server that uses the Duffel API to search for flights. This MCP server provides tools to search for one-way, round-trip, and multi-city flights.
Overview
what is Flight + Stay Search MCP?
Flight + Stay Search MCP is a TypeScript implementation of a flight search server that utilizes the Duffel API to search for flights and accommodations. It allows users to find one-way, round-trip, and multi-city flights, as well as search for hotels and get guest reviews.
how to use Flight + Stay Search MCP?
To use the Flight + Stay Search MCP, follow these steps:
- Install dependencies using
npm install. - Build the project with
npm run build. - Start the server using
npm start. - Set up your environment variables in a
.envfile with your Duffel API key.
key features of Flight + Stay Search MCP?
- Search for one-way, round-trip, and multi-city flights.
- Get detailed information about specific flight offers.
- Specify cabin class, number of passengers, and connection preferences.
- Filter by departure and arrival time windows.
- Search for travel stays (hotels/accommodations) and get guest reviews.
use cases of Flight + Stay Search MCP?
- Finding flights from one city to another for business or leisure.
- Planning multi-city trips with specific travel dates.
- Searching for hotels in a desired location with guest reviews.
FAQ from Flight + Stay Search MCP?
- Can I search for both flights and hotels?
Yes! The MCP allows you to search for flights and accommodations in one interface.
- Is there a test API key available?
Yes! You can start with a test API key (
duffel_test) to try the functionality.
- What programming language is this project built with?
The project is built using TypeScript.