Travel Planner MCP Server
旅行プランナー MCP サーバー (@gongrzhe/server-travelplanner-mcp)
Googleマップや旅行計画サービスと連携するためのトラベルプランナーモデルコンテキストプロトコル(MCP)サーバー実装。このサーバーにより、LLMは位置情報の検索、場所の詳細情報の参照、移動時間の計算といった旅行関連タスクを実行できます。
インストールと使用方法
Smithery経由でインストール
Smithery経由で Claude Desktop 用の Travel Planner を自動的にインストールするには:
npx -y @smithery/cli install @GongRzhe/TRAVEL-PLANNER-MCP-Server --client claude手動でインストールする
# 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またはグローバルにインストールします:
# Install globally
npm install -g @gongrzhe/server-travelplanner-mcp
# Run after global installation
GOOGLE_MAPS_API_KEY=your_api_key @gongrzhe/server-travelplanner-mcpRelated MCP server: Google Maps MCP Server
コンポーネント
ツール
検索場所
Google Places API を使用して場所を検索する
入力:
query(文字列): 場所の検索クエリlocation(オプション):結果を偏らせるための緯度と経度radius(オプション): 検索半径(メートル)
場所の詳細を取得する
特定の場所の詳細情報を取得する
入力:
placeId(文字列): 詳細を取得するGoogleプレイスID
ルートを計算する
2つの場所間のルートを計算する
入力:
origin(文字列): 開始位置destination(文字列):終了場所mode(オプション):移動手段(運転、徒歩、自転車、公共交通機関)
タイムゾーンを取得する
場所のタイムゾーン情報を取得する
入力:
location: 緯度と経度の座標timestamp(オプション): タイムゾーン計算用のタイムスタンプ
構成
Claude Desktopでの使用
このサーバーを Claude Desktop アプリで使用するには、 claude_desktop_config.jsonの「mcpServers」セクションに次の構成を追加します。
{
"mcpServers": {
"travel-planner": {
"command": "npx",
"args": ["@gongrzhe/server-travelplanner-mcp"],
"env": {
"GOOGLE_MAPS_API_KEY": "your_google_maps_api_key"
}
}
}
}あるいは、パッケージがインストールされている場合は、node コマンドを直接使用することもできます。
{
"mcpServers": {
"travel-planner": {
"command": "node",
"args": ["path/to/dist/index.js"],
"env": {
"GOOGLE_MAPS_API_KEY": "your_google_maps_api_key"
}
}
}
}発達
ソースから構築
リポジトリをクローンする
依存関係をインストールします:
npm installプロジェクトをビルドします。
npm run build
環境変数
GOOGLE_MAPS_API_KEY(必須): 次の API が有効になっている Google Maps API キー:プレイスAPI
ルート案内API
ジオコーディングAPI
タイムゾーンAPI
ライセンス
このMCPサーバーはMITライセンスに基づいてライセンスされています。詳細については、プロジェクトリポジトリのLICENSEファイルをご覧ください。
Available Tools
5 toolscreate_itineraryC
Creates a personalized travel itinerary based on user preferences
| Name | Required | Description | Default |
|---|---|---|---|
| budget | No | Budget in USD | |
| destination | Yes | Destination location | |
| endDate | Yes | End date (YYYY-MM-DD) | |
| origin | Yes | Starting location | |
| preferences | No | Travel preferences | |
| startDate | Yes | Start date (YYYY-MM-DD) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It states 'creates' implying a write operation, but doesn't mention permissions, side effects, rate limits, or what the output looks like (e.g., format, success indicators). This is inadequate for a mutation tool with zero annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It's front-loaded and appropriately sized, making it easy for an agent to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a mutation tool with no annotations and no output schema, the description is insufficient. It doesn't explain the return values, error conditions, or behavioral traits like idempotency or data persistence. Given the complexity of creating a personalized itinerary, more context is needed to guide the agent effectively.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds no parameter-specific information beyond what's in the schema, which has 100% coverage with clear descriptions for all 6 parameters. The baseline score of 3 is appropriate as the schema does the heavy lifting, but the description doesn't enhance understanding of how parameters interact or affect the itinerary creation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('creates') and resource ('personalized travel itinerary'), specifying it's based on user preferences. However, it doesn't differentiate from sibling tools like 'optimize_itinerary' which might also create or modify itineraries, so it's not fully distinctive.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives such as 'optimize_itinerary' or other siblings. It mentions 'based on user preferences' but doesn't specify prerequisites, exclusions, or comparative contexts, leaving the agent with minimal usage direction.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_accommodationsC
Searches for accommodation options in a specified location
| Name | Required | Description | Default |
|---|---|---|---|
| budget | No | Maximum price per night | |
| checkIn | Yes | Check-in date (YYYY-MM-DD) | |
| checkOut | Yes | Check-out date (YYYY-MM-DD) | |
| location | Yes | Location to search |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It mentions searching but doesn't disclose behavioral traits such as whether results are paginated, if authentication is required, rate limits, or what the output format looks like. For a search tool with zero annotation coverage, this leaves significant gaps in understanding how it behaves.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It's appropriately sized and front-loaded, making it easy to understand at a glance.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (a search operation with 4 parameters), lack of annotations, and no output schema, the description is incomplete. It doesn't explain what the tool returns, how results are structured, or any behavioral constraints, leaving the agent with insufficient information for effective use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds minimal meaning beyond the input schema, which has 100% coverage with clear descriptions for all parameters. It implies location-based searching but doesn't provide additional context like search radius or result limits. With high schema coverage, the baseline score of 3 is appropriate as the schema does most of the work.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with a specific verb ('searches') and resource ('accommodation options'), and specifies the scope ('in a specified location'). It doesn't explicitly distinguish from sibling tools like 'create_itinerary' or 'search_attractions', but the focus on accommodations is clear enough for basic differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'create_itinerary' or 'search_attractions', nor does it mention prerequisites or exclusions. It merely states what the tool does without context for selection among available options.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_transport_optionsB
Retrieves available transportation options between two points
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Travel date (YYYY-MM-DD) | |
| destination | Yes | Destination point | |
| origin | Yes | Starting point |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. While 'retrieves' implies a read-only operation, the description doesn't mention important behavioral aspects like rate limits, authentication requirements, response format, whether results are cached, or what happens with invalid inputs. For a tool with zero annotation coverage, this is insufficient.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that states the core purpose without any wasted words. It's appropriately sized for a straightforward retrieval tool and front-loads the essential information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple retrieval tool with 100% schema coverage but no annotations and no output schema, the description is minimally adequate. It states what the tool does but lacks important context about behavioral characteristics, usage guidelines relative to siblings, and what the return value contains. The absence of output schema means the description should ideally hint at what's returned.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all three parameters with clear descriptions. The description adds no additional parameter semantics beyond what's in the schema - it mentions 'between two points' which corresponds to origin/destination parameters, but provides no extra context about format, constraints, or usage beyond the schema's descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with a specific verb ('retrieves') and resource ('available transportation options'), and specifies the scope ('between two points'). However, it doesn't differentiate this tool from potential sibling tools like 'optimize_itinerary' that might also involve transportation options.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. With sibling tools like 'create_itinerary' and 'optimize_itinerary' that might involve transportation planning, there's no indication of when this specific retrieval tool is appropriate versus those more comprehensive tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
optimize_itineraryC
Optimizes an existing itinerary based on specified criteria
| Name | Required | Description | Default |
|---|---|---|---|
| itineraryId | Yes | ID of the itinerary to optimize | |
| optimizationCriteria | Yes | Criteria for optimization (time, cost, etc.) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden but only states it 'optimizes based on specified criteria' without disclosing behavioral traits like whether it modifies the original itinerary, requires specific permissions, has rate limits, or what the optimization entails (e.g., reordering, time adjustments). This leaves significant gaps for a mutation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence with zero waste, front-loaded with the core action. Every word earns its place, making it appropriately sized and structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity as a mutation operation with no annotations and no output schema, the description is incomplete. It fails to explain what optimization does, what the return values are, or behavioral risks, leaving the agent with insufficient context for safe and effective use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents both parameters ('itineraryId' and 'optimizationCriteria'). The description adds no additional meaning beyond what the schema provides, such as examples of criteria or format details, meeting the baseline for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('optimizes') and resource ('an existing itinerary'), specifying it works on existing itineraries rather than creating new ones. However, it doesn't differentiate from sibling tools like 'create_itinerary' or 'search_attractions' beyond the core function.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'create_itinerary' or 'search_attractions', nor does it mention prerequisites such as needing an existing itinerary ID. It lacks explicit when/when-not instructions or named alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_attractionsC
Searches for attractions and points of interest in a specified location
| Name | Required | Description | Default |
|---|---|---|---|
| categories | No | Categories of attractions | |
| location | Yes | Location to search attractions | |
| radius | No | Search radius in meters |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the action ('Searches for') but doesn't describe what the search returns (e.g., list format, pagination), potential limitations (e.g., rate limits, data sources), or error conditions. For a search tool with zero annotation coverage, this lack of behavioral details is inadequate.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's purpose without any fluff. It is front-loaded with the core action and resource, making it easy to parse. Every word earns its place, achieving optimal conciseness for this level of detail.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (search function with 3 parameters) and lack of annotations and output schema, the description is incomplete. It doesn't explain what the output looks like (e.g., list of attractions with details), behavioral aspects, or integration with sibling tools. This leaves significant gaps for an agent to understand how to use the tool effectively.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, with clear parameter descriptions (e.g., 'Location to search attractions', 'Search radius in meters'). The description adds no additional parameter semantics beyond what the schema provides, such as examples or constraints. With high schema coverage, the baseline score of 3 is appropriate, as the description doesn't compensate but also doesn't detract.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with a specific verb ('Searches for') and resource ('attractions and points of interest'), and specifies the scope ('in a specified location'). It distinguishes itself from siblings like 'get_accommodations' or 'get_transport_options' by focusing on attractions. However, it doesn't explicitly differentiate from potential overlapping tools (none present), keeping it at 4 rather than 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, exclusions, or how it relates to sibling tools like 'create_itinerary' or 'optimize_itinerary', which might be used in conjunction. Without any usage context, this is a significant gap in helping the agent select the right tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
5 tool updates
v1.0.0- First observed
create_itinerary - First observed
get_accommodations - First observed
get_transport_options - First observed
optimize_itinerary - First observed
search_attractions
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose: itinerary creation, accommodation search, transport options retrieval, itinerary optimization, and attraction search. There is no overlap in functionality, making it easy for an agent to select the right tool.
All tool names follow a consistent verb_noun pattern (e.g., create_itinerary, get_accommodations, optimize_itinerary). This uniformity enhances readability and predictability for agents.
With 5 tools, the server is well-scoped for travel planning, covering key aspects like itinerary management, accommodations, transport, and attractions. Each tool serves a distinct and necessary function.
The toolset covers core travel planning operations, but minor gaps exist, such as updating or deleting itineraries and booking accommodations or transport. However, agents can likely work around these with the provided tools.
Maintenance
Related MCP Connectors
Travel tools for AI agents: plan and edit real trips, search stays and tours, import travel videos.
Give AI assistants access to real-time data. Search the web, compare flights, find hotels, and more.
Mobility, geocoding and nearby urban services for AI agents.
- geoOAuthco.thinair
Geocoding, routing, isochrones, traffic, weather, and place search for AI agents. 19 MCP tools.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables location-aware AI agents to search for nearby places, get detailed place information including hours and ratings, and calculate routes with turn-by-turn directions using Google Maps APIs.22-
- AlicenseAqualityBmaintenanceEnables AI assistants to access Google Maps services including places search, details, directions, geocoding, and nearby search through natural language.62MIT
- AlicenseAqualityDmaintenanceEnables Claude to plan trips by performing live searches against Google Flights, hotels, vacation rentals, activities, and events, plus weather and currency conversion.115MIT
- FlicenseNot gradedqualityDmaintenanceEnables travel planning through natural language, providing weather forecasts, attraction search, itinerary generation, and distance calculations using free APIs.-
Appeared in Searches
- A server for planning travel itineraries and trips
- A service or tool for viewing maps and street layouts
- A planner for grouping travel activities by location and creating daily itineraries
- A service for finding locations and navigation directions
- A server for finding travel-related information or services