Travel Assistant 标志

Travel Assistant

社区
skarlekar

A suite of MCP servers that enables an LLM to orchestrate specialized services to generate travel itineraries, find flights and accommodations, discover local events, analyze weather conditions and manage budgets

发布者skarlekar
代码仓库mcp_travelassistant
语言Python
复刻数
12
星标数
59
可用工具
0
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    Travel Assistant 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 59 个星标和 12 个复刻。

MseeP.ai Security Assessment Badge

🌍 Travel Assistant MCP Server Ecosystem

A comprehensive suite of Model Context Protocol (MCP) servers that work together to provide intelligent travel planning and assistance. This ecosystem enables Claude to orchestrate multiple specialized services to create detailed travel itineraries, find optimal flights and accommodations, discover local events, analyze weather conditions, and manage budget considerations across different currencies.

MCP Python Travel License

🎯 System Overview

The Travel Assistant MCP Ecosystem consists of six specialized servers that work in harmony:

  • 🛫 Flight Search Server - Find and compare flights, analyze pricing, filter by preferences
  • 🏨 Hotel Search Server - Discover accommodations, compare amenities, filter by budget and preferences
  • 🎭 Event Search Server - Find local events, festivals, and activities
  • 🗺️ Geocoder Server - Convert locations to coordinates, calculate distances, reverse geocoding
  • 🌤️ Weather Search Server - Get forecasts, current conditions, weather alerts
  • 💰 Finance Search Server - Currency conversion, exchange rates, financial analysis

🚀 Real-World Example: Orchestrating a Comprehensive Travel Plan using a LLM

User Request: "I am planning a trip to Banff and Jasper in Alberta from Reston, Virginia during June 7th 2025 to June 14th 2025. Find flights, hotels and events that are happening in Banff, Alberta and things to do for me and my wife during the time based on weather conditions. We like to hike, go sight-seeing, dining, and going to museums. My budget is $5000 USD. Make sure to convert cost from Canadian dollars to USD before presenting."

🎼 Orchestrated Response Sequence

Here's how Claude orchestrates the MCP servers to fulfill this complex request:

Step 1: Location Intelligence 🗺️

  • Use the Geocoder Server to convert "Reston, Virginia", "Banff, Alberta", and "Jasper, Alberta" into latitude/longitude coordinates.
  • Calculate distances between locations for itinerary planning.

Step 2: Flight Discovery ✈️

  • Use the Flight Server to search for flights from the nearest airport to Reston, VA (e.g., IAD) to Calgary, AB (nearest to Banff/Jasper) for the specified dates.
  • Filter by price, duration, and preferred airlines.
  • Retrieve detailed flight information, including layovers, baggage policies, and total cost

Step 3: Accommodation Search 🏨

  • Use the Hotel Server to find hotels or vacation rentals in Banff and Jasper for the trip dates.
  • Filter by price, amenities (e.g., free WiFi, breakfast), and guest ratings.
  • Retrieve detailed property information, compare top options, and analyze total accommodation cost.

Step 4: Weather Analysis 🌤️

  • Use the Weather Server to get daily/hourly forecasts for Banff and Jasper.
  • Assess weather suitability for outdoor activities and suggest optimal days for hiking or sightseeing.

Step 5: Event & Activity Discovery 🎭

  • Use the Event Server to find local events, festivals, and activities in Banff and Jasper during the trip.
  • Filter by interests (hiking, sightseeing, dining, museums).

Step 6: Financial Analysis 💰

  • Use the Finance Server to convert all costs (hotels, events, etc.) from CAD to USD.
  • Ensure the total plan fits within the $5000 USD budget.

Step 7: Intelligent Synthesis 🧠

Claude synthesizes all data to create:

  • Optimized flight options with price comparisons
  • Curated hotel recommendations matching preferences and budget
  • Weather-appropriate activity scheduling
  • Day-by-day itinerary with backup options for weather
  • Complete budget breakdown in USD with currency conversion
  • Distance and travel time calculations between locations
  • Presents a day-by-day itinerary, recommends activities based on weather and interests, and provides a budget breakdown in USD.

🎯 Why MCP Makes This Possible

Cross-Server Integration

  • Unified Protocol: All servers use the same MCP specification, enabling seamless communication
  • Standardized Data Formats: Consistent JSON structures across different domains
  • Shared Context: Claude maintains conversation state across multiple server interactions

Intelligent Sequencing

  • Dependency Management: Claude understands that geocoding must happen before weather forecasts
  • Conditional Logic: Flight searches trigger hotel searches in destination cities
  • Error Handling: If one server fails, Claude can adapt the sequence dynamically

Real-Time Processing

  • Parallel Execution: Multiple servers can be queried simultaneously when dependencies allow
  • Live Data: All servers provide real-time information (flights, weather, events, exchange rates)
  • Dynamic Filtering: Results from one server inform the parameters for another

Data Synthesis

  • Multi-Domain Analysis: Combines weather data with event scheduling and activity recommendations
  • Budget Optimization: Currency conversion enables accurate budget tracking across international trips
  • Preference Matching: Filters activities based on stated interests (hiking, museums, dining)

Server Capabilities at a Glance

ServerKey Tools/Resources/PromptsExample Use Cases
Flightsearch_flights, get_flight_details, filter_flights_by_priceFind and compare flights, analyze options
Hotelsearch_hotels, get_hotel_details, filter_hotels_by_priceFind hotels/rentals, filter by amenities, compare
Eventsearch_events, get_event_details, filter_events_by_dateDiscover local events, filter by type/date
Weatherget_weather_forecast, get_current_conditions, filter_forecast_by_conditionsPlan activities based on weather, get alerts
Geocodergeocode_location, reverse_geocode, calculate_distanceConvert addresses, plan routes, calculate distances
Financeconvert_currency, lookup_stock, get_market_overviewConvert costs, analyze budget, get market data

🛠️ Complete Installation Guide

Prerequisites

  • Python 3.8 or higher
  • UV package manager
  • Claude Desktop application
  • API keys for required services

Required API Keys

  • SerpAPI Key (for flights, hotels, events) - Get free key
  • OpenWeatherMap or use National Weather Service (free)
  • OpenStreetMap Nominatim (free, no key required)

Step-by-Step Setup

  1. Create project directory:
bash
mkdir travel-assistant-mcp
cd travel-assistant-mcp
  1. Clone all server repositories:
bash
# Create subdirectories for each server
mkdir flight-search hotel-search event-search geocoder weather-search finance-search
  1. Install dependencies for each server:
bash
# In each server directory
uv sync
  1. Configure Claude Desktop:

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{
  "mcpServers": {
    "flight-search": {
      "command": "uv",
      "args": [
        "--directory", "/path/to/travel-assistant-mcp/flight-search",
        "run", "python", "flight_search_server.py"
      ],
      "env": {
        "SERPAPI_KEY": "your_serpapi_key"
      }
    },
    "hotel-search": {
      "command": "uv", 
      "args": [
        "--directory", "/path/to/travel-assistant-mcp/hotel-search",
        "run", "python", "hotel_search_server.py"
      ],
      "env": {
        "SERPAPI_KEY": "your_serpapi_key"
      }
    },
    "event-search": {
      "command": "uv",
      "args": [
        "--directory", "/path/to/travel-assistant-mcp/event-search", 
        "run", "python", "event_search_server.py"
      ],
      "env": {
        "SERPAPI_KEY": "your_serpapi_key"
      }
    },
    "geocoder": {
      "command": "uv",
      "args": [
        "--directory", "/path/to/travel-assistant-mcp/geocoder",
        "run", "python", "geocoder_server.py" 
      ]
    },
    "weather-search": {
      "command": "uv",
      "args": [
        "--directory", "/path/to/travel-assistant-mcp/weather-search",
        "run", "python", "weather_search_server.py"
      ]
    },
    "finance-search": {
      "command": "uv", 
      "args": [
        "--directory", "/path/to/travel-assistant-mcp/finance-search",
        "run", "python", "finance_search_server.py"
      ],
      "env": {
        "SERPAPI_KEY": "your_serpapi_key"
      }
    }
  }
}
  1. Restart Claude Desktop to load all servers.

💡 Advanced Usage Examples

Weekend Getaway Planning

Plan a weekend trip from San Francisco to Portland, Oregon for next weekend. 
We want to visit breweries, food trucks, and outdoor markets. Budget is $1500 
for 2 people. Find flights leaving Friday evening and returning Sunday night.

International Business Travel

I need to travel from New York to Tokyo for a conference June 20-25, 2025. 
Find business class flights, luxury hotels near Tokyo Station, check weather 
for appropriate clothing, and convert all costs to USD. Also find networking 
events for tech professionals during that week.

Family Vacation Planning

Plan a family vacation to Orlando, Florida for July 15-22, 2025 for 2 adults 
and 2 children (ages 8 and 12). We want to visit theme parks, but also need 
backup indoor activities in case of rain. Budget is $8000 USD total.

Multi-City European Tour

Plan a 2-week European tour visiting London, Paris, Rome, and Barcelona 
from August 5-19, 2025. Find the most efficient flight routing, centrally 
located hotels, cultural events and museums, check weather patterns, 
and provide a day-by-day itinerary with budget breakdown.

🏗️ Architecture Benefits

Modularity

  • Each server handles a specific domain expertly
  • Servers can be updated independently
  • Easy to add new capabilities (car rentals, restaurant reservations, etc.)

Scalability

  • Servers can be distributed across different systems
  • Load balancing possible for high-traffic scenarios
  • Individual server failures don't bring down the entire system

Data Privacy

  • No central data storage requirement
  • Each server handles its own data retention policies
  • Users control which servers to enable

Extensibility

  • New travel-related servers can be added easily
  • Custom business logic can be implemented per server
  • Integration with enterprise travel management systems possible

🔧 Troubleshooting Guide

Common Integration Issues

Servers not communicating:

  • Check all servers are running: ps aux | grep python
  • Verify Claude Desktop configuration paths
  • Ensure all API keys are valid and have sufficient quota

Inconsistent results:

  • Some APIs have rate limits - space out requests
  • Exchange rates and flight prices change frequently
  • Weather forecasts become less accurate beyond 7 days

Budget calculations incorrect:

  • Always use latest exchange rates from finance server
  • Account for booking fees and taxes in hotel/flight prices
  • Consider seasonal price variations

Performance Optimization

  • Caching: Most servers cache results locally to reduce API calls
  • Parallel Processing: Claude can query multiple servers simultaneously
  • Smart Filtering: Use broad searches first, then narrow with filters

🤝 Contributing

This ecosystem thrives on community contributions:

  1. New Server Types: Restaurant reservations, car rentals, travel insurance
  2. Enhanced Filtering: More sophisticated preference matching
  3. Better Integration: Cross-server data sharing and caching
  4. Mobile Support: Extend MCP support to mobile travel apps

📄 License

This travel assistant ecosystem is open source under the MIT License. Individual servers may have different licenses - check each server's documentation.

🆘 Support

For issues related to:

  • Individual Servers: Check the specific server's README and repository
  • Integration Problems: Create an issue in the main travel-assistant-mcp repository
  • Claude Desktop: Visit Anthropic's support documentation
  • API Issues: Contact the respective API providers (SerpAPI, weather services, etc.)

The power of MCP lies in its ability to orchestrate complex, multi-step workflows that would traditionally require multiple apps and manual coordination. With this travel assistant ecosystem, Claude becomes your intelligent travel agent, capable of handling sophisticated requests that span multiple domains and data sources.

将 Travel Assistant MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Travel Assistant 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 Travel Assistant 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Travel Assistant MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "mcp-travelassistant": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Travel Assistant MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Travel Assistant MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Travel Assistant 帮我完成这项任务吗?
Travel Assistant
当然,我看过了。
以下是我使用 Travel Assistant 得到的结果。

常见问题

Travel Assistant MCP 服务器有什么用途?

Travel Assistant 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Travel Assistant MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 Travel Assistant。

为什么在 TypingMind 中使用 Travel Assistant MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 Travel Assistant 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Travel Assistant MCP 连接到 TypingMind?

Travel Assistant 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Travel Assistant MCP 在 TypingMind 中提供哪些工具?

Travel Assistant 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Travel Assistant MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 Travel Assistant 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇