旅行计划器 MCP 服务器 (@gongrzhe/server-travelplanner-mcp)
旅行规划模型上下文协议 (MCP) 服务器实现,用于与 Google 地图和旅行规划服务进行交互。该服务器使 LLM 能够执行与旅行相关的任务,例如位置搜索、地点详情查找和行程时间计算。
安装和使用
通过 Smithery 安装
要通过Smithery自动安装 Claude Desktop 的旅行计划器:
手动安装
或者全局安装:
成分
工具
搜索地点
使用 Google Places API 搜索地点
输入:
query
(字符串):地点搜索查询location
(可选):用于偏差结果的纬度和经度radius
(可选):以米为单位的搜索半径
获取地点详情
获取有关特定地点的详细信息
输入:
placeId
(字符串):用于检索详细信息的 Google Place ID
计算路线
计算两地之间的路线
输入:
origin
(字符串):起始位置destination
(字符串):结束位置mode
(可选):出行模式(驾车、步行、骑行、公交)
获取时区
获取某个位置的时区信息
输入:
location
:纬度和经度坐标timestamp
(可选):用于时区计算的时间戳
配置
与 Claude Desktop 一起使用
要将此服务器与 Claude Desktop 应用程序一起使用,请将以下配置添加到claude_desktop_config.json
的“mcpServers”部分:
或者,如果您已经安装了该包,则可以直接使用 node 命令:
发展
从源代码构建
克隆存储库
安装依赖项:
npm install构建项目:
npm run build
环境变量
GOOGLE_MAPS_API_KEY
(必需):您的 Google Maps API 密钥,并启用以下 API:地点 API
路线 API
地理编码 API
时区 API
执照
此 MCP 服务器采用 MIT 许可证。更多详情,请参阅项目仓库中的 LICENSE 文件。
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 能够执行与旅行相关的任务。
Related Resources
Related MCP Servers
- AsecurityFlicenseAqualityFacilitates access to LumbreTravel API for managing travel programs, activities, and related entities through MCP clients.Last updated -68241
- AsecurityAlicenseAqualityEnhances LLM capabilities with location-based services and geospatial data, enabling users to geocode addresses, find nearby points of interest, get directions, optimize meeting points, and analyze neighborhoods.Last updated -12113MIT License
- AsecurityAlicenseAqualityProvides access to Google Maps API functionality including geocoding, place search, direction routing, and distance calculations through a structured MCP interface.Last updated -40MIT License
- AsecurityAlicenseAqualityProvides seamless access to TomTom's location services including search, routing, traffic and static maps data, enabling easy integration of precise geolocation data into AI workflows and development environments.Last updated -105428Apache 2.0
Appeared in Searches
- A server for planning travel itineraries and trips
- A service or tool for viewing maps and street layouts
- A planner for grouping travel activities by location and creating daily itineraries
- A service for finding locations and navigation directions
- A server for finding travel-related information or services