Travel Planner MCP Server
Travel Planner MCP server that integrates with Google Maps API, enabling LLM to perform travel-related tasks — searching locations, retrieving detailed information about places, calculating routes, and obtaining timezone information.
Get this MCP server
Travel Planner MCP server that integrates with Google Maps API, enabling LLM to perform travel-related tasks — searching locations, retrieving detailed information about places, calculating routes, and obtaining timezone information.
Installation
Smithery
npx -y @smithery/cli install @GongRzhe/TRAVEL-PLANNER-MCP-Server --client claude
NPX (Recommended)
npx @gongrzhe/server-travelplanner-mcp
NPX with API Key
GOOGLE_MAPS_API_KEY=your_api_key npx @gongrzhe/server-travelplanner-mcp
Global Installation
npm install -g @gongrzhe/server-travelplanner-mcp
GOOGLE_MAPS_API_KEY=your_api_key @gongrzhe/server-travelplanner-mcp
From Source Code
git clone repository
npm install
npm run build
Configuration
Claude Desktop (NPX)
{
"mcpServers": {
"travel-planner": {
"command": "npx",
"args": ["@gongrzhe/server-travelplanner-mcp"],
"env": {
"GOOGLE_MAPS_API_KEY": "your_google_maps_api_key"
}
}
}
}
Claude Desktop (Node)
{
"mcpServers": {
"travel-planner": {
"command": "node",
"args": ["path/to/dist/index.js"],
"env": {
"GOOGLE_MAPS_API_KEY": "your_google_maps_api_key"
}
}
}
}
Available Tools
| Tool | Description |
|---|---|
searchPlaces |
Search places using Google Places API with location binding and radius configuration options |
getPlaceDetails |
Retrieve detailed information about a specific place using Google Place ID |
calculateRoute |
Calculate routes between two points with various transportation modes (driving, walking, cycling, public transit, etc.) |
getTimeZone |
Retrieve timezone information for a location using coordinates and optional timestamp |
Features
- Search locations using Google Places API
- Retrieve detailed information about places through Google Place IDs
- Calculate routes between locations
- Support for various transportation modes (driving, walking, cycling, public transit)
- Retrieve timezone information
- Location-based search results
- Configurable search radius
Environment Variables
Required
GOOGLE_MAPS_API_KEY- Google Maps API key with Places API, Directions API, Geocoding API, and Time Zone API enabled
Notes
Requires Google Maps API key with multiple APIs enabled (Places, Directions, Geocoding, Time Zone). MIT License.