npm plantrip-mcp-serverstdioMITupdated 1mo ago
An MCP (Model Context Protocol) server that connects AI assistants like Claude to Plantrip's travel planning tools. Create itineraries, generate packing lists, get weather insights, estimate trip costs, and more.
plantrip 能做什么?
Plantrip MCP Server
An MCP (Model Context Protocol) server that connects AI assistants like Claude to Plantrip's travel planning tools. Create itineraries, generate packing lists, get weather insights, estimate trip costs, and more.
Features
- Create Itineraries - Generate detailed day-by-day travel plans with activities, costs, and locations
- Packing Lists - AI-powered packing lists based on destination, weather, and activities
- Weather Insights - Detailed climate information and weather patterns
- Cost Estimates - Budget breakdowns for accommodations, food, transport, and activities
- Travel Expert - Ask any travel question and get expert answers
- Travel Guides - Search Plantrip's library of destination guides
- Tour Availability - Check tour dates and submit booking inquiries
Quick Start
1. Get an API Key
- Go to plantrip.io/developers
- Sign in (free — no subscription required)
- Create a new API key
2. Configure Claude Desktop
Add to your Claude Desktop config:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"plantrip": {
"command": "npx",
"args": ["-y", "plantrip-mcp-server"],
"env": {
"PLANTRIP_API_KEY": "pt_agent_your_key_here"
}
}
}
}
3. Restart Claude Desktop
Quit and reopen Claude Desktop to load the server.
Usage
Ask Claude things like:
- "Create a 5-day itinerary for Tokyo focused on food and culture"
- "What should I pack for a hiking trip to Patagonia in March?"
- "What's the weather like in Bali in August?"
- "How much would a week in Iceland cost for 2 people?"
- "What are the visa requirements for US citizens visiting Vietnam?"
Available Tools
| Tool | Description |
|---|---|
create_itinerary |
Create a new travel itinerary |
get_itinerary_status |
Poll generation status |
get_itinerary |
Retrieve complete itinerary |
modify_itinerary |
Modify with natural language |
list_user_trips |
List saved trips |
save_itinerary |
Save to user's trips |
delete_trip |
Remove from saved trips |
generate_packing_list |
AI packing list |
ask_travel_expert |
Travel Q&A |
get_weather_insights |
Weather/climate info |
estimate_trip_cost |
Budget breakdown |
search_guides |
Search travel guides |
get_tour_availability |
Check tour dates |
submit_tour_inquiry |
Tour booking inquiry |
Claude Code Setup
Add to .mcp.json in your project:
{
"mcpServers": {
"plantrip": {
"command": "npx",
"args": ["-y", "plantrip-mcp-server"],
"env": {
"PLANTRIP_API_KEY": "pt_agent_your_key_here"
}
}
}
}
Environment Variables
| Variable | Required | Description |
|---|---|---|
PLANTRIP_API_KEY |
Yes | Your API key from plantrip.io/developers |
PLANTRIP_API_URL |
No | API base URL (default: https://plantrip.io/api/agent) |
REST API
You can also use the Plantrip API directly:
curl -X POST https://plantrip.io/api/agent/execute \
-H "X-API-Key: pt_agent_your_key" \
-H "Content-Type: application/json" \
-d '{
"tool": "create_itinerary",
"arguments": {
"destination": "Tokyo, Japan",
"days": 5
}
}'
Full API docs at plantrip.io/developers.
Rate Limits
- 60 requests/minute
- 10,000 requests/day
Links
License
MIT
安装
把 plantrip 添加到你的客户端。选择你正在使用的那个。
claude mcp add plantrip-mcp-server -- npx -y plantrip-mcp-servercodex mcp add plantrip-mcp-server -- npx -y plantrip-mcp-serveramp mcp add plantrip-mcp-server -- npx -y plantrip-mcp-server{
"mcpServers": {
"plantrip-mcp-server": {
"command": "npx",
"args": [
"-y",
"plantrip-mcp-server"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"plantrip-mcp-server": {
"command": "npx",
"args": [
"-y",
"plantrip-mcp-server"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"plantrip-mcp-server","command":"npx","args":["-y","plantrip-mcp-server"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"plantrip-mcp-server": {
"command": "npx",
"args": [
"-y",
"plantrip-mcp-server"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"plantrip-mcp-server": {
"command": "npx",
"args": [
"-y",
"plantrip-mcp-server"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"plantrip-mcp-server": {
"command": "npx",
"args": [
"-y",
"plantrip-mcp-server"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"plantrip-mcp-server": {
"type": "local",
"command": "npx",
"args": [
"-y",
"plantrip-mcp-server"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"plantrip-mcp-server": {
"command": {
"path": "npx",
"args": [
"-y",
"plantrip-mcp-server"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y plantrip-mcp-serverRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
14 个工具
plantrip 向已连接的智能体提供 14 个工具。
- create_itinerary
- Create a new travel itinerary
- get_itinerary_status
- Poll generation status
- get_itinerary
- Retrieve complete itinerary
- modify_itinerary
- Modify with natural language
- list_user_trips
- List saved trips
- save_itinerary
- Save to user's trips
- delete_trip
- Remove from saved trips
- generate_packing_list
- AI packing list
- ask_travel_expert
- Travel Q&A
- get_weather_insights
- Weather/climate info
- estimate_trip_cost
- Budget breakdown
- search_guides
- Search travel guides
- get_tour_availability
- Check tour dates
- submit_tour_inquiry
- Tour booking inquiry
评分
74 / 100
良好
- 文档25/25
- 维护16/25
- 可信度13/20
- 能力8/15
- 安装体验12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 39 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 14 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
版本历史
| 版本 | 发布于 |
|---|---|
| 1.0.2最新 | 2026年8月7日 |
| 1.0.1 | 2026年7月16日 |