Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Provides tools for searching flights, creating and canceling bookings, and retrieving user reservations through natural language.

README.md

Airline Reservation MCP Server

An MCP (Model Context Protocol) server that provides tools for interacting with an airline reservation system through Claude/Cline.

PLEASE NOTE- YOU MUST INSTALL https://github.com/srinipusuluri/airline_reservation_system

Features

This MCP server exposes 5 tools for managing airline reservations:

  • search_flights - Search for available flights between cities on a specific date
  • get_flight_details - Get detailed information about a specific flight
  • create_booking - Create a new flight booking for a registered user
  • get_user_bookings - Retrieve all bookings for a specific user
  • cancel_booking - Cancel an existing flight booking

Installation

Prerequisites

  • Node.js (v16 or later)
  • Python 3.x
  • Access to an airline reservation system database

Setup

  1. Clone or create the MCP server:
   mkdir -p ~/Documents/Cline/MCP
   cd ~/Documents/Cline/MCP
   # Copy the airline-reservation-server folder here
  1. Install dependencies:
   cd airline-reservation-server
   npm install
  1. Build the server:
   npm run build
  1. Set up Python scripts:

Ensure the airline reservation system's Python scripts are in place at: ~/Desktop/airline_reservation_system/scripts/

  • search_flights.py
  • get_flight_details.py
  • create_booking.py
  • get_user_bookings.py
  • cancel_booking.py
  1. Configure in Cline settings:

Add the following to your MCP settings file: ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

   {
     "mcpServers": {
       "airline-reservation": {
         "command": "node",
         "args": ["/Users/yourusername/Documents/Cline/MCP/airline-reservation-server/build/airline-reservation-server/index.js"],
         "disabled": false,
         "autoApprove": []
       }
     }
   }

Note: Replace yourusername with your actual username in the path.

Usage

Once installed and configured, you can use the MCP server tools through natural language commands:

Examples

Search for flights: `` "Find flights from New York to Los Angeles on 2025-10-08" ``

Get flight details: `` "Show me the details for flight 101" "Get information about flight ID 1" ``

Create a booking: `` "Book flight 1 for user john_doe with passenger John Smith at john@example.com" "Create a booking for mary_jane on flight 15 for Mary Jane at mary@example.com" ``

Check user bookings: `` "Show all bookings for user john_doe" "What are the current bookings for mary_jane?" ``

Cancel a booking: `` "Cancel booking number 123" "Cancel booking ID 456" ``

Tool Specifications

search_flights

Description: Search for available flights between cities on a specific date

Parameters:

  • departureCity (string): Departure city
  • arrivalCity (string): Arrival city
  • departureDate (string): Departure date in YYYY-MM-DD format

Returns: Array of available flights with details

get_flight_details

Description: Get detailed information about a specific flight

Parameters:

  • flightId (number): Flight ID to retrieve

Returns: Complete flight information including airline, times, pricing, and availability

create_booking

Description: Create a new flight booking for a user

Parameters:

  • username (string): Username of the registered user
  • flightId (number): Flight ID to book
  • passengerName (string): Full name of the passenger
  • passengerEmail (string): Email address of the passenger

Returns: Booking confirmation with details

get_user_bookings

Description: Get all flight bookings for a specific user

Parameters:

  • username (string): Username to retrieve bookings for

Returns: Array of user's bookings with flight details

cancel_booking

Description: Cancel an existing flight booking

Parameters:

  • bookingId (number): Booking ID to cancel

Returns: Success/failure status of cancellation

Architecture

The MCP server acts as a bridge between natural language interfaces and the Python-based airline reservation system:

[Claude/Cline] → [MCP Server (TypeScript)] → [Python Scripts] → [SQLite Database]
  • MCP Server: Handles protocol communication and tool validation
  • Python Scripts: Interface with the existing database operations
  • Database: Stores flight, user, and booking information

Error Handling

The server includes comprehensive error handling for:

  • Invalid parameters
  • Database connection issues
  • Flight/booking not found
  • Booking conflicts (no seats available)

Contributing

To extend this MCP server:

  1. Add new tools in src/airline-reservation-server/index.ts
  2. Create corresponding Python scripts in the airline system
  3. Update the database helper functions as needed
  4. Rebuild and test the server

License

MIT License - see LICENSE file for details.

Related

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Search servers.