Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Travel Planning FastMCP

БесплатноНе проверен

AI-powered travel route planning server with budget estimation, packing suggestions, and food recommendations, using LangChain reactive agent with Tongyi Qwen a

GitHubEmbed

Описание

AI-powered travel route planning server with budget estimation, packing suggestions, and food recommendations, using LangChain reactive agent with Tongyi Qwen and local deterministic fallback tools.

README

Python FastMCP server for travel route planning. It uses a LangChain reactive agent with Tongyi Qwen for AI-generated itineraries and keeps local deterministic tools for budget estimation, packing suggestions, food recommendations, and offline fallback planning.

Install

python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt

Configure Qwen/Tongyi Agent

plan_trip_route_tool calls Tongyi Qwen through DashScope. Put your API key in .env:

DASHSCOPE_API_KEY=your-real-dashscope-api-key

The server loads .env automatically before calling the LangChain agent.

Run

.venv/bin/python travel_planner_server.py

Tools

  • plan_trip_route_tool: uses a LangChain Tongyi Qwen agent to create a multi-day route with daily food recommendations, transport advice, lodging-area advice, budget reminders, and practical notes.
  • plan_trip_route_local_tool: creates a deterministic offline route when you do not want to call Qwen-Agent.
  • estimate_trip_budget_tool: estimates lodging, food, local transport, attractions, and contingency in CNY.
  • suggest_packing_list_tool: recommends essentials, seasonal items, and activity-specific items.
  • recommend_food_experiences_tool: recommends food districts, meal themes, snacks, and dietary notes.

Example MCP Client Configuration

Use the Python interpreter inside this project's virtual environment. If the MCP client uses system python3, it may fail with ModuleNotFoundError: No module named 'fastmcp'.

{
  "mcpServers": {
    "travel-planner": {
      "command": "/Users/yantao/Desktop/ai-project/TravelPlanning/.venv/bin/python",
      "args": ["/Users/yantao/Desktop/ai-project/TravelPlanning/travel_planner_server.py"]
    }
  }
}

Trae MCP Configuration

Use the same configuration in Trae:

{
  "mcpServers": {
    "travel-planner": {
      "command": "/Users/yantao/Desktop/ai-project/TravelPlanning/.venv/bin/python",
      "args": [
        "/Users/yantao/Desktop/ai-project/TravelPlanning/travel_planner_server.py"
      ]
    }
  }
}

After changing the configuration, reload the MCP server or restart Trae.

Troubleshooting

If you see:

ModuleNotFoundError: No module named 'fastmcp'

the MCP client is using the wrong Python interpreter. Install dependencies first:

python3 -m venv .venv
.venv/bin/python -m pip install -r requirements.txt

Then make sure the MCP command points to:

/Users/yantao/Desktop/ai-project/TravelPlanning/.venv/bin/python

Development

env PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 python3 -m pytest -q
python3 -m compileall travel_planner.py qwen_travel_agent.py travel_planner_server.py

from github.com/yantaotaotao/TravelPlanning

Установка Travel Planning FastMCP

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/yantaotaotao/TravelPlanning

FAQ

Travel Planning FastMCP MCP бесплатный?

Да, Travel Planning FastMCP MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Travel Planning FastMCP?

Нет, Travel Planning FastMCP работает без API-ключей и переменных окружения.

Travel Planning FastMCP — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Travel Planning FastMCP в Claude Desktop, Claude Code или Cursor?

Открой Travel Planning FastMCP на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Travel Planning FastMCP with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai