Labsco
GongRzhe logo

Travel Planner

β˜… 99

from GongRzhe

A server for travel planning and interacting with Google Maps services.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedAccount requiredAdvanced setup

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

smithery badge

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>

Components

Tools

  • searchPlaces

    • Search for places using Google Places API
    • Input:
      • query (string): Search query for places
      • location (optional): Latitude and longitude to bias results
      • radius (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 location
      • destination (string): Ending location
      • mode (optional): Travel mode (driving, walking, bicycling, transit)
  • getTimeZone

    • Get timezone information for a location
    • Input:
      • location: Latitude and longitude coordinates
      • timestamp (optional): Timestamp for time zone calculation

Development

Building from Source

  1. Clone the repository
  2. Install dependencies:
    Copy & paste β€” that's it
    npm install
  3. Build the project:
    Copy & paste β€” that's it
    npm run build

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.