search_flightsLABSCO SUMMARY
Live fares, one call.
It has a narrow job and does it: two airport codes and a date in, current Google Flights options out, which is what you want when the question is what a trip costs right now rather than what it usually costs.
What it is
An MCP server that searches Google Flights through SerpAPI. One search tool covers both directions of travel: two airport codes and a departure date return one-way options, and adding a return date makes it a round trip. Results carry price, timing and airline.
What you get
- Flight options between two airport codes for a departure date, with price, timing and airline on each
- Round trips from the same call, by supplying a return date
- Results from the live Google Flights engine rather than a cached fare table
Requirements
Python 3.7 or higher, the requests package, and a SerpAPI account - its key goes in the environment and every search spends SerpAPI credit. The server is a single file run directly, so give your client the full path to flight_search_server.py.
Setup effort
Build from source — git clone https://github.com/random-robbie/Flight-Search-MCP-Server.git
USE CASES
Pricing a trip before you commit to dates
Search the route for the date you have in mind and read the options back with prices attached.
Comparing a few departure dates in one conversation
Run the same route against several dates and keep the answers side by side.
Checking a round trip against two one-ways
Search once with a return date and once without, and compare the totals.
Finding the options on a route you do not fly often
Airline, timing and price come back together, so an unfamiliar route is legible in one answer.
2 tools
Listed in project docs. Your client may show a different list.
server_statusBEFORE YOU INSTALL
What to know first
Tools you get
2 tools named in the project's documentation.
Requires
- Python 3.7 or later
- SERP_API_KEY in your environment
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
You clone this one yourself.
Server setup
git clone https://github.com/random-robbie/Flight-Search-MCP-Server.git
mkdir -p ~/tools/flightsearchCopy flight_search_server.py from the cloned folder to ~/tools/flightsearch/.
pip install requestsMCP Clients
Claude Desktop
{
"mcpServers": {
"flightsearch": {
"command": "python3",
"args": [
"/Users/<YOUR_USERNAME>/tools/flightsearch/flight_search_server.py",
"--connection_type",
"stdio"
],
"env": {
"SERP_API_KEY": "<YOUR_SERP_API_KEY>"
}
}
}
}/Users/<YOUR_USERNAME> is your own home folder, so the path points at the flight_search_server.py you copied into ~/tools/flightsearch (on Linux, /home/<you>/tools/flightsearch/…; clients do not expand ~).