Travel Planner MCP Server
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Travel Planner MCP Server (@gongrzhe/server-travelplanner-mcp)
A Travel Planner Model Context Protocol (MCP) server implementation for interacting with Google Maps and travel planning services. This server enables LLMs to perform travel-related tasks such as location search, place details lookup, and travel time calculations.
Installation & Usage
Installing via Smithery
To install Travel Planner for Claude Desktop automatically via Smithery:
Installing Manually
Or install globally:
Components
Tools
- searchPlaces
- Search for places using Google Places API
- Input:
query
(string): Search query for placeslocation
(optional): Latitude and longitude to bias resultsradius
(optional): Search radius in meters
- getPlaceDetails
- Get detailed information about a specific place
- Input:
placeId
(string): Google Place ID to retrieve details for
- calculateRoute
- Calculate route between two locations
- Input:
origin
(string): Starting locationdestination
(string): Ending locationmode
(optional): Travel mode (driving, walking, bicycling, transit)
- getTimeZone
- Get timezone information for a location
- Input:
location
: Latitude and longitude coordinatestimestamp
(optional): Timestamp for time zone calculation
Configuration
Usage with Claude Desktop
To use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your claude_desktop_config.json
:
Alternatively, you can use the node command directly if you have the package installed:
Development
Building from Source
- Clone the repository
- Install dependencies:Copy
- Build the project:Copy
Environment Variables
GOOGLE_MAPS_API_KEY
(required): Your Google Maps API key with the following APIs enabled:- Places API
- Directions API
- Geocoding API
- Time Zone API
License
This MCP server is licensed under the MIT License. For more details, please see the LICENSE file in the project repository.
You must be authenticated.
Enables LLMs to perform travel-related tasks by interacting with Google Maps and travel planning services including location search, place details, and travel time calculations.