Travel Planner MCP Server logo

Travel Planner MCP Server

by GongRzhe

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.

View on GitHub

Last updated: N/A

What is Travel Planner MCP Server?

The Travel Planner MCP Server is a server that provides tools for interacting with Google Maps APIs to perform travel-related tasks. It allows Large Language Models (LLMs) to access and utilize Google Maps services for planning trips and retrieving location-based information.

How to use Travel Planner MCP Server?

The server can be installed via Smithery or manually using npm. After installation, it can be configured to work with Claude Desktop by adding the server configuration to the claude_desktop_config.json file. The server requires a Google Maps API key with Places API, Directions API, Geocoding API, and Time Zone API enabled.

Key features of Travel Planner MCP Server

  • Search for places using Google Places API

  • Get detailed information about a specific place using Google Place ID

  • Calculate routes between two locations using Google Directions API

  • Get timezone information for a location

Use cases of Travel Planner MCP Server

  • Planning a trip with multiple destinations

  • Finding restaurants or attractions near a specific location

  • Calculating the travel time between two addresses

  • Determining the current time in a different time zone

FAQ from Travel Planner MCP Server

What is a Google Maps API key and why do I need it?

A Google Maps API key is a unique identifier that authenticates your requests to Google Maps services. You need it to access the Places API, Directions API, Geocoding API, and Time Zone API.

How do I get a Google Maps API key?

You can obtain a Google Maps API key by creating a project in the Google Cloud Console and enabling the necessary APIs. Google provides documentation on how to do this.

What APIs need to be enabled?

The following APIs need to be enabled: Places API, Directions API, Geocoding API, and Time Zone API.

How do I configure the server to work with Claude Desktop?

Add the server configuration to the mcpServers section of your claude_desktop_config.json file, providing the command, arguments, and environment variables (including your Google Maps API key).

What travel modes are supported for route calculation?

The calculateRoute tool supports various travel modes, including driving, walking, bicycling, and transit. The specific modes available may depend on the Google Maps API configuration.