Logo: Travel Realtime Mcp

Travel Realtime Mcp

Communautéit
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.

Iwwersiicht

EditeurKkkirito-123
RepositoryZLAgent
Skill-Nummtravel-realtime-mcp
Stären
33
Forks
5
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Kkkirito-123 huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Travel Realtime Mcp an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/Kkkirito-123/ZLAgent/tree/main/workspace/skills/travel/travel-realtime-mcp
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Travel Realtime Mcp an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Travel Realtime Mcp automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Travel Realtime Mcp net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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.

Firwat Travel Realtime Mcp op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Travel Realtime Mcp besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Travel Realtime Mcp an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Kkkirito-123/ZLAgent/tree/main/workspace/skills/travel/travel-realtime-mcp an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Travel Realtime Mcp benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Travel Realtime Mcp benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Travel Realtime Mcp domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Travel Realtime Mcp gratis?

Jo. Kkkirito-123 huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇