Skip to main content
Glama

Travel Planner MCP Server

旅行计划器 MCP 服务器 (@gongrzhe/server-travelplanner-mcp)

旅行规划模型上下文协议 (MCP) 服务器实现,用于与 Google 地图和旅行规划服务进行交互。该服务器使 LLM 能够执行与旅行相关的任务,例如位置搜索、地点详情查找和行程时间计算。

安装和使用

通过 Smithery 安装

要通过Smithery自动安装 Claude Desktop 的旅行计划器:

npx -y @smithery/cli install @GongRzhe/TRAVEL-PLANNER-MCP-Server --client claude

手动安装

# Using npx (recommended) npx @gongrzhe/server-travelplanner-mcp # With environment variable for Google Maps API GOOGLE_MAPS_API_KEY=your_api_key npx @gongrzhe/server-travelplanner-mcp

或者全局安装:

# Install globally npm install -g @gongrzhe/server-travelplanner-mcp # Run after global installation GOOGLE_MAPS_API_KEY=your_api_key @gongrzhe/server-travelplanner-mcp

成分

工具

  • 搜索地点
    • 使用 Google Places API 搜索地点
    • 输入:
      • query (字符串):地点搜索查询
      • location (可选):用于偏差结果的纬度和经度
      • radius (可选):以米为单位的搜索半径
  • 获取地点详情
    • 获取有关特定地点的详细信息
    • 输入:
      • placeId (字符串):用于检索详细信息的 Google Place ID
  • 计算路线
    • 计算两地之间的路线
    • 输入:
      • origin (字符串):起始位置
      • destination (字符串):结束位置
      • mode (可选):出行模式(驾车、步行、骑行、公交)
  • 获取时区
    • 获取某个位置的时区信息
    • 输入:
      • location :纬度和经度坐标
      • timestamp (可选):用于时区计算的时间戳

配置

与 Claude Desktop 一起使用

要将此服务器与 Claude Desktop 应用程序一起使用,请将以下配置添加到claude_desktop_config.json的“mcpServers”部分:

{ "mcpServers": { "travel-planner": { "command": "npx", "args": ["@gongrzhe/server-travelplanner-mcp"], "env": { "GOOGLE_MAPS_API_KEY": "your_google_maps_api_key" } } } }

或者,如果您已经安装了该包,则可以直接使用 node 命令:

{ "mcpServers": { "travel-planner": { "command": "node", "args": ["path/to/dist/index.js"], "env": { "GOOGLE_MAPS_API_KEY": "your_google_maps_api_key" } } } }

发展

从源代码构建

  1. 克隆存储库
  2. 安装依赖项:
    npm install
  3. 构建项目:
    npm run build

环境变量

  • GOOGLE_MAPS_API_KEY (必需):您的 Google Maps API 密钥,并启用以下 API:
    • 地点 API
    • 路线 API
    • 地理编码 API
    • 时区 API

执照

此 MCP 服务器采用 MIT 许可证。更多详情,请参阅项目仓库中的 LICENSE 文件。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

通过与 Google 地图和旅行规划服务(包括位置搜索、地点详情和旅行时间计算)交互,使 LLM 能够执行与旅行相关的任务。

  1. 安装和使用
    1. 通过 Smithery 安装
    2. 手动安装
  2. 成分
    1. 工具
  3. 配置
    1. 与 Claude Desktop 一起使用
  4. 发展
    1. 从源代码构建
    2. 环境变量
  5. 执照

    Related MCP Servers

    • -
      security
      A
      license
      -
      quality
      Lets LLMs read and manage Google Calendar events.
      Last updated -
      35
      314
      TypeScript
      MIT License
      • Apple
    • A
      security
      A
      license
      A
      quality
      A Model Context Protocol server that provides Google Maps API integration, allowing users to search locations, get place details, geocode addresses, calculate distances, obtain directions, and retrieve elevation data through LLM processing capabilities.
      Last updated -
      7
      246
      24
      TypeScript
      MIT License
    • A
      security
      A
      license
      A
      quality
      Giving LLMs Time Awareness Capabilities. Empower your LLMs with time awareness capabilities. Access current time, convert between timezones, and get timestamps effortlessly. Enhance your applications with precise time-related functionalities.
      Last updated -
      5
      219
      5
      JavaScript
      MIT License
    • -
      security
      F
      license
      -
      quality
      Enables LLMs to read, create, and manage Google Calendar events through a standardized interface, including features like listing calendars, managing events, and processing calendar information from screenshots and images.
      Last updated -
      TypeScript
      • Apple

    View all related MCP servers

    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/GongRzhe/TRAVEL-PLANNER-MCP-Server'

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