TRAVEL-PLANNER-MCP-Server

This repository provides a Travel Planner Model Context Protocol (MCP) server that enables LLMs to interact with Google Maps for travel-related tasks like searching places, getting details, and calculating routes.

67
3

Travel Planner MCP Server (@gongrzhe/server-travelplanner-mcp)

The Travel Planner MCP Server enables Large Language Models (LLMs) to interact with Google Maps and travel planning services. It provides tools for location search, place details lookup, travel time calculations, and timezone information retrieval.

Installation & Usage

Installation can be done via Smithery or manually using npx or npm. Manual installation requires setting the GOOGLE_MAPS_API_KEY environment variable.

Components

The server offers the following tools:

  • searchPlaces: Searches for places using a query, location bias, and radius.
  • getPlaceDetails: Retrieves detailed information about a place using its Google Place ID.
  • calculateRoute: Calculates routes between two locations, with optional travel mode specification.
  • getTimeZone: Gets timezone information for a location using coordinates and an optional timestamp.

Configuration

For Claude Desktop integration, configure the claude_desktop_config.json file with the server's command, arguments, and the GOOGLE_MAPS_API_KEY.

Development

To build from source, clone the repository, install dependencies with npm install, and build the project with npm run build. The GOOGLE_MAPS_API_KEY is required, with Places API, Directions API, Geocoding API, and Time Zone API enabled.

License

The server is licensed under the MIT License.

Repository

GO
GongRzhe

GongRzhe/TRAVEL-PLANNER-MCP-Server

Created

December 24, 2024

Updated

March 27, 2025

Language

JavaScript

Category

Developer Tools