Travel Realtime Mcp logo

Travel Realtime Mcp

Community
Kkkirito-123
travel-realtime-mcp

Handle time-sensitive travel requests by using built-in realtime travel lookup or attaching MCP servers for railway tickets, flights, maps, local places, weather, hotels, and route planning. Prefer a quick answer path: call the built-in travel_realtime tool first for 12306/Open-Meteo; use existing mcp__* tools next; otherwise propose one safe candidate and install only after confirmation.

Overview

PublisherKkkirito-123
RepositoryZLAgent
Skill nametravel-realtime-mcp
Stars
33
Forks
5
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Kkkirito-123 on GitHub. Read the source before you install it.

Installation

Install the Travel Realtime Mcp AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Kkkirito-123/ZLAgent/tree/main/workspace/skills/travel/travel-realtime-mcp
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Kkkirito-123/ZLAgent.git /tmp/ZLAgent
mkdir -p .claude/skills
cp -r /tmp/ZLAgent/workspace/skills/travel/travel-realtime-mcp .claude/skills/travel-realtime-mcp
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Travel Realtime Mcp in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Travel Realtime Mcp on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Travel Realtime Mcp is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

travel-realtime-mcp

Overview

Use this skill when the user wants fresh travel data rather than a generic itinerary: current train tickets, flight prices, hotel availability, local weather, map routes, nearby places, or airport/route status.

This skill is the tool-driven complement to travel-guide: travel-guide is optimized for fast streaming, knowledge-based chunks; this skill is for tool/MCP-backed live lookups and should not invent realtime numbers.

When to Use

Use this skill for:

  • Chinese railway / 12306 ticket availability, train times, or station-to-station options.
  • Flight search, flight prices, transfer routes, flight number status, airport weather.
  • Google Maps / Places / route planning / nearby food / route duration / timezone / air quality.
  • Hotel price or availability lookups.
  • User explicitly asks to install, find, or use a travel MCP.

Do not use this skill for a generic "三日游攻略" / "去哪玩" request with no realtime requirement. Let travel-guide answer those quickly with streaming sections.

Candidate MCP Servers

1. 12306-mcp

Best for China railway ticket search.

  • Source: Joooook/12306-mcp
  • Install shape:
json
{
  "name": "rail_12306",
  "transport": "stdio",
  "command": "npx",
  "args": ["-y", "12306-mcp"],
  "description": "China railway 12306 ticket search"
}
  • API key: none shown in README.
  • Default permission: keep tools confirm until inspected.

2. Google Maps MCP via @cablate/mcp-google-map

Best for places, nearby search, directions, distance matrix, route planning, weather, air quality, timezone, and local route reasoning.

  • Source: cablate/mcp-google-map
  • Install shape:
json
{
  "name": "google_maps_travel",
  "transport": "stdio",
  "command": "npx",
  "args": ["-y", "@cablate/mcp-google-map", "--stdio"],
  "env": {
    "GOOGLE_MAPS_API_KEY": "<user-provided-key>",
    "GOOGLE_MAPS_ENABLED_TOOLS": "maps_geocode,maps_search_places,maps_place_details,maps_directions,maps_distance_matrix,maps_weather,maps_search_nearby,maps_plan_route"
  },
  "description": "Google Maps places routes weather"
}
  • API key: requires GOOGLE_MAPS_API_KEY; Places API and Routes API should be enabled.
  • Default permission: keep confirm unless the user explicitly authorizes read-only maps calls as safe.

3. Travel Planner MCP via @gongrzhe/server-travelplanner-mcp

Best for a smaller Google Maps travel-planning surface: places, place details, routes, timezone.

  • Source: GongRzhe/TRAVEL-PLANNER-MCP-Server
  • Install shape:
json
{
  "name": "travel_planner_maps",
  "transport": "stdio",
  "command": "npx",
  "args": ["-y", "@gongrzhe/server-travelplanner-mcp"],
  "env": {
    "GOOGLE_MAPS_API_KEY": "<user-provided-key>"
  },
  "description": "Travel planner maps places routes"
}
  • Tools advertised by README: searchPlaces, getPlaceDetails, calculateRoute, getTimeZone.
  • Prefer this over the larger Google Maps MCP when the user only needs place search and routing.

4. Variflight MCP

Best for China/international flight data, flight number lookup, transfer search, realtime aircraft location, airport weather, and flight prices.

  • Source: variflight/variflight-mcp
  • Install shape:
json
{
  "name": "variflight",
  "transport": "stdio",
  "command": "npx",
  "args": ["-y", "@variflight-ai/variflight-mcp"],
  "env": {
    "VARIFLIGHT_API_KEY": "<user-provided-key>"
  },
  "description": "Variflight flight search status prices"
}
  • API key: requires VARIFLIGHT_API_KEY.
  • Default permission: keep confirm; flight/location queries can reveal travel intent.

5. Flight/hotel search pack

Use only if the user explicitly wants flight + hotel search and can provide third-party API keys.

  • Source: RikGmee/searchAPI-mcp
  • Capabilities seen in README: search-flights, search-hotels, today.
  • Requires Booking.com/RapidAPI key and often Google Maps API key.
  • Treat as a second-stage option, not the default quick path.

6. Full travel assistant MCP ecosystem

Use only when the user wants a larger travel-agent stack with flights, hotels, events, weather, geocoding, currency, and budget orchestration.

  • Source: skarlekar/mcp_travelassistant
  • Capabilities: search_flights, search_hotels, search_events, get_weather_forecast, geocode_location, calculate_distance, convert_currency.
  • Requires multiple local server directories plus keys such as SerpAPI. This is powerful but heavier than ZLAgent's quick-reply goal.

Steps

  1. Classify the request:

    • Generic plan: answer with travel-guide instead.
    • Realtime data: continue here.
  2. For China rail / weather, call travel_realtime first:

    • action="bundle" when the user asks a mixed request such as "上海到北京 4 天,火车票和天气".
    • action="rail_12306" for train availability / 12306 / 高铁余票.
    • action="weather_forecast" for local weather / temperature / rain / wind parameters.
  3. Check for existing matching MCP tools in the visible tool list:

    • mcp__rail_12306__* for trains.
    • mcp__google_maps_travel__* or mcp__travel_planner_maps__* for maps/routes/places/weather.
    • mcp__variflight__* for flights.
    • If present, call the existing tool and answer in a short IM format.
  4. If no matching tool exists, do not fabricate realtime data. Propose at most two candidates:

    • One fastest/smallest candidate.
    • One fuller candidate if clearly useful.
  5. If a key is required, ask for the env var name only; never ask the user to paste a secret into a public group chat. Tell them it will be passed as the MCP subprocess environment.

  6. After the user chooses and provides/authorizes credentials, call mcp_manage(action="add", ...) using the JSON shape above. The tool itself will trigger IM confirmation.

  7. After install, call mcp_manage(action="inspect", name="...") and verify tools are listed. If connection failed, remove the server and explain the failure.

  8. Once connected, answer the original travel question using the newly available MCP tool.

Quick Reply Formats

No MCP installed yet

text
这个问题需要实时数据,我不能编。
可接:
1. 12306-mcp:查高铁/火车余票,无需 API key。
2. Google Maps MCP:查路线/附近/天气,需要 GOOGLE_MAPS_API_KEY。
你选哪个?我会走确认安装。

Tool lookup succeeded

text
🚄 实时结果
- 最推荐:<车次/航班/路线> — <时间> — <价格/耗时>
- 备选:<...>

✅ 我的建议:<一句话>

Tool lookup failed

text
实时查询失败:<短原因>
我可以改用离线攻略先给路线骨架,或帮你换一个 MCP 数据源。

Pitfalls

  • Do not mix streaming travel-guide with MCP calls. Streaming sections are optimized for speed and may not call tools.
  • Do not install every candidate. Install the smallest server that answers the current request.
  • Do not mark tools safe by default. External APIs can cost money and reveal travel intent.
  • Do not invent hotel prices, flight prices, train availability, weather, or live route times.
  • Do not pass API keys unless the user explicitly supplied and authorized them.

Frequently asked questions

What does the Travel Realtime Mcp AI skill do?

Handle time-sensitive travel requests by using built-in realtime travel lookup or attaching MCP servers for railway tickets, flights, maps, local places, weather, hotels, and route planning. Prefer a quick answer path: call the built-in travel_realtime tool first for 12306/Open-Meteo; use existing mcp__* tools next; otherwise propose one safe candidate and install only after confirmation.

Why use Travel Realtime Mcp on TypingMind?

Because you install it once and use it with any model. Travel Realtime Mcp is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Travel Realtime Mcp in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Kkkirito-123/ZLAgent/tree/main/workspace/skills/travel/travel-realtime-mcp. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Travel Realtime Mcp?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Travel Realtime Mcp?

As many as you like. As long as a model supports skills, you can use Travel Realtime Mcp with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Travel Realtime Mcp AI skill free?

Yes. It is published on GitHub by Kkkirito-123 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇