DEV Community

Ramandeep Singh
Ramandeep Singh

Posted on

Effortless Flight Search in Your Terminal with Claude Code + MCP

Have you ever wished searching for flights could be as quick as typing a command—without opening a browser or wading through clunky UIs? I recently set up a super-smooth flight search right in my PowerShell terminal using Claude Code Terminal, MCP integration, and the Kiwi MCP server.

Why it’s awesome:

  • You only enter cities to search between—just like chatting.
  • It guides you interactively: select departure date, trip type, number of passengers, and cabin class with a few clicks (no extra typing).
  • Results are displayed in an organized, user-friendly table, with timelines and clear breakdowns.
  • Flights are classified by time, cost, and convenience. You can view information on stops and connecting flights.
  • Each option includes a direct booking link—so you can go straight to purchase with one click.
  • All of this happens in your terminal, in just a few moments.

user inputs


What You Need

  • Claude Code Terminal
  • MCP Integration
  • Kiwi MCP Server

How to Set It Up

  1. Install Claude Code Terminal:
   irm https://claude.ai/install.ps1 | iex
Enter fullscreen mode Exit fullscreen mode
  1. Set your Anthropic API key as an environment variable:
  • PowerShell:

     $env:ANTHROPIC_API_KEY = "your-api-key-here"
    
  • Bash:

     export ANTHROPIC_API_KEY="your-api-key-here"
    
  1. Add the Kiwi.com flights MCP server:
   claude mcp add kiwi-com-flights --transport http https://mcp.kiwi.com
Enter fullscreen mode Exit fullscreen mode
  1. Start the Claude terminal:
   claude
Enter fullscreen mode Exit fullscreen mode
  1. Search for flights using a chat prompt:
   search flights from New Delhi to Washington
Enter fullscreen mode Exit fullscreen mode

results

That’s it! You now have a streamlined, interactive flight search tool—right in your terminal.
If you travel often or value efficiency, this setup is a total game changer.

Top comments (0)