T
Travel Planner
community
search
Travel planning and itinerary management server integrating with Google Maps API for location search, place details, and route calculations.
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.
<a href="https://glama.ai/mcp/servers/y3u6yjiiq1">
<img width="380" height="200" src="https://glama.ai/mcp/servers/y3u6yjiiq1/badge" alt="Travel Planner Server MCP server" />
</a>
Installation & Usage
Installing via Smithery
To install Travel Planner for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @GongRzhe/TRAVEL-PLANNER-MCP-Server --client claude
Installing Manually
# 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
Or install globally:
# Install globally npm install -g @gongrzhe/server-travelplanner-mcp # Run after global installation GOOGLE_MAPS_API_KEY=your_api_key @gongrzhe/server-travelplanner-mcp
Components
Tools
-
searchPlaces
- Search for places using Google Places API
- Input:
(string): Search query for placesquery
(optional): Latitude and longitude to bias resultslocation
(optional): Search radius in metersradius
-
getPlaceDetails
- Get detailed information about a specific place
- Input:
(string): Google Place ID to retrieve details forplaceId
-
calculateRoute
- Calculate route between two locations
- Input:
(string): Starting locationorigin
(string): Ending locationdestination
(optional): Travel mode (driving, walking, bicycling, transit)mode
-
getTimeZone
- Get timezone information for a location
- Input:
: Latitude and longitude coordinateslocation
(optional): Timestamp for time zone calculationtimestamp
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
:{ "mcpServers": { "travel-planner": { "command": "npx", "args": ["@gongrzhe/server-travelplanner-mcp"], "env": { "GOOGLE_MAPS_API_KEY": "your_google_maps_api_key" } } } }
Alternatively, you can use the node command directly if you have the package installed:
{ "mcpServers": { "travel-planner": { "command": "node", "args": ["path/to/dist/index.js"], "env": { "GOOGLE_MAPS_API_KEY": "your_google_maps_api_key" } } } }
Development
Building from Source
- Clone the repository
- Install dependencies:
npm install
- Build the project:
npm run build
Environment Variables
(required): Your Google Maps API key with the following APIs enabled:GOOGLE_MAPS_API_KEY
- 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.
Related Servers
Aiven
official
Navigate your [Aiven projects](https://go.aiven.io/mcp-server) and interact with the PostgreSQL®, Apache Kafka®, ClickHouse® and OpenSearch® services
View DetailsApify
official
[Actors MCP Server](https://apify.com/apify/actors-mcp-server): Use 3,000+ pre-built cloud tools to extract data from websites, e-commerce, social media, search engines, maps, and more
View Details