Searches Google Flights through SerpApi for one-way and round-trip flights by airport code, returning prices and durations.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add flight-search --env SERP_API_KEY='<SERP_API_KEY>' -- uvx mcp-flight-search~/.codex/config.toml
[mcp_servers.flight-search]
command = "uvx"
args = ["mcp-flight-search"]
env = { SERP_API_KEY = "<SERP_API_KEY>" }
# codex mcp add flight-search --env SERP_API_KEY='<SERP_API_KEY>' -- uvx mcp-flight-search~/.cursor/mcp.json
{
"mcpServers": {
"flight-search": {
"command": "uvx",
"args": [
"mcp-flight-search"
],
"env": {
"SERP_API_KEY": "<SERP_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"flight-search": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-flight-search"
],
"env": {
"SERP_API_KEY": "<SERP_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"flight-search": {
"command": "uvx",
"args": [
"mcp-flight-search"
],
"env": {
"SERP_API_KEY": "<SERP_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"flight-search": {
"command": "uvx",
"args": [
"mcp-flight-search"
],
"env": {
"SERP_API_KEY": "<SERP_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"flight-search": {
"command": "uvx",
"args": [
"mcp-flight-search"
],
"env": {
"SERP_API_KEY": "<SERP_API_KEY>"
}
}
}
}Environment variables
SERP_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.