GongRzhe_TRAVEL-PLANNER-MCP-Server
Mirror ofhttps://github.com/GongRzhe/TRAVEL-PLANNER-MCP-Server
0
Github Watches
1
Github Forks
0
Github Stars
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
# 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:
-
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
-
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
-
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.
相关推荐
I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.
I find academic articles and books for research and literature reviews.
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Converts Figma frames into front-end code for various mobile frameworks.
Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx
🧑🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.
Mirror ofhttps://github.com/agentience/practices_mcp_server
Reviews
user_DAaWcDz7
As a dedicated user of the agoda-review-mcp, I am thoroughly impressed with its functionality and ease of use. Created by birariro, this tool has significantly streamlined my review process on Agoda. The interface is user-friendly and efficient, making it a pleasure to use. Highly recommended for anyone looking to manage their Agoda reviews effectively.