Skip to main content
Glama

Travel Company MCP Server

Travel Company MCP Server

An MCP (Model Context Protocol) server that provides Claude with access to a travel company's customer data, trip history, and information requests.

Features

  • Customer Management: Search and retrieve customer profiles

  • Trip History: Query past and upcoming trips by customer or destination

  • Request Tracking: Manage customer inquiries and follow-up requests

Requirements

  • Python 3.10 or higher

  • pip package manager

Installation

  1. Clone or download this repository

  2. (Optional) Create a virtual environment:

    python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
  3. Install dependencies:

    pip install -r requirements.txt
  4. Initialize the database:

    python -m src.seed_data

Running the Server

The MCP server is designed to be run by Claude Desktop via stdio transport:

python -m src.server

Configuration for Claude Desktop

Add this to your Claude Desktop MCP configuration:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "travel-company": { "command": "python", "args": ["-m", "src.server"], "cwd": "/path/to/mcpdemo" } } }

Available Tools

Customer Tools

  • search_customers: Search for customers by name, email, phone, or ID

  • get_customer_profile: Get detailed customer profile with trip statistics

Trip Tools

  • search_trips: Search trips by destination, date range, or status

  • get_trip_history: Get trip history for a specific customer

Request Tools

  • search_requests: Search information requests by various criteria

  • get_pending_requests: Get pending customer requests for follow-up

Example Queries

Try asking Claude:

  • "Show me all customers named John"

  • "What trips has customer ID 5 taken?"

  • "List all pending requests from the last 7 days"

  • "Find trips to Paris in 2024"

  • "Show me the profile for customer@email.com"

Project Structure

mcpdemo/ ├── src/ │ ├── server.py # Main MCP server │ ├── database.py # Database layer │ ├── seed_data.py # Demo data generator │ └── tools/ # Tool implementations ├── data/ # SQLite database ├── config/ # Configuration files └── logs/ # Server logs

Development

The server uses SQLite for storage with demo data including:

  • 100+ customer records

  • 200+ trip records

  • 50+ information requests

All data is synthetic and for demonstration purposes only.

License

MIT

-
security - not tested
-
license - not tested
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Enables Claude to access and manage a travel company's customer data, trip history, and information requests. Supports searching customers, querying trips by destination or date, and tracking customer inquiries through natural language.

  1. Features
    1. Requirements
      1. Installation
        1. Running the Server
          1. Configuration for Claude Desktop
            1. Available Tools
              1. Customer Tools
              2. Trip Tools
              3. Request Tools
            2. Example Queries
              1. Project Structure
                1. Development
                  1. License

                    MCP directory API

                    We provide all the information about MCP servers via our MCP API.

                    curl -X GET 'https://glama.ai/api/mcp/v1/servers/stefanjwojcik/mcpdemo'

                    If you have feedback or need assistance with the MCP directory API, please join our Discord server