DragonMCP

DragonMCP

dragonmcp•byarthurpanhku

An MCP server that gives AI agents real, verifiable public data for Hong Kong and the Mainland China border region.

License: MIT•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Plans MTR journeys with transfers and provides real-time arrivals across all 10 lines and 98 stations, with station names in English or Chinese.
  • •Reports current Hong Kong Observatory conditions, active warnings, and structured typhoon, rainstorm and other warning status.
  • •Offers Amap POI search and walking, driving, transit and bicycling directions in Mainland China using a user-supplied API key.
  • •Includes a self-test tool that performs a live reachability check of every upstream data source.

BEST FOR

  • •Answering questions about the next MTR train between two Hong Kong stations, including transfers.
  • •Checking Hong Kong weather conditions, UV index and active warnings such as thunderstorm alerts.
  • •Looking up points of interest and planning walking, driving, transit or cycling routes in Mainland China.

ABOUT DRAGONMCP

DragonMCP is cataloged as an MCP server attributed to arthurpanhku. An MCP server that gives AI agents real, verifiable public data for Hong Kong and the Mainland China border region. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for DragonMCP are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Do all DragonMCP tools return live data rather than mocks?

Yes; every tool calls a live API, and if an upstream source is down the tool says so rather than inventing an answer, which can be checked with the self-test tool.

Which tools require an API key?

The Hong Kong tools need no key, while the Amap tools require the user's own key and cover Mainland China only.

Are real-time arrivals available for every MTR station?

No; the upstream API serves no arrivals for Tin Hau or Prince Edward, and those are reported as unavailable rather than faked.

Upstream README

View this exact version on GitHub

README.md · c01578223799 · Fetched 2026-11-13 12:17:53 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

DragonMCP Logo

DragonMCP

Hong Kong & cross-border open data for AI Agents

English | 简体中文

Live MTR arrivals, HK Observatory weather, and Mainland China routing — over the Model Context Protocol.

Quickstart • Tools • Limitations • Roadmap

License: MIT TypeScript MCP Node.js


🌟 What is DragonMCP?

An MCP server that gives AI agents real, verifiable public data for Hong Kong and the Mainland China border region.

Every tool in this server calls a live API. There are no mocks. If an upstream source is down, the tool says so — it never invents a plausible-looking answer. You can verify this yourself at any time with the built-in system_run_selftest tool, which pings every upstream and reports what is actually reachable.

Why this niche: Hong Kong's public data is genuinely open (data.gov.hk, no keys, no rate-limit paperwork) but scattered across agencies with inconsistent formats. And cross-border trips — where a single journey spans MTR, the Mainland rail network, and two different weather authorities — are exactly the case no single agency has any incentive to serve.


🔥 Live example

MTR real-time arrivals — no API key required:

> When is the next train from Admiralty to Central?

Next Island Line train from Admiralty to Central (towards Kennedy Town):
- Arriving in: 0 min(s) (14:02:27)
Subsequent trains:
- 4 min(s) (14:06:27)
- 7 min(s) (14:09:27)

Hong Kong Observatory — no API key required, includes active warnings:

> What's the weather in Hong Kong?

Current Weather in Hong Kong (Updated: 2026-08-04T13:02:00+08:00):
- Temperature: 30°C
- Humidity: 75%
- UV Index: 8 (very high)

Warnings:
The Thunderstorm Warning has been issued. It will remain effective until
3:00 p.m. today. Isolated thunderstorms are expected to occur over New
Territories West.

🛠️ Tools

ToolSourceAPI keyWhat it does
search_mtr_scheduleMTR via data.gov.hk—Journey planning with transfers + real-time arrivals; all 10 lines, all 98 stations
hk_weather_currentHK Observatory—Current conditions + active warnings
hk_typhoon_signalHK Observatory—Structured typhoon, rainstorm, and other active warning status
search_transit_routeMTR / AmapCN onlyUnified HK/CN routing; picks the right provider
system_run_selftestall of the above—Live reachability check of every upstream
amap_search_poiAmap (Gaode)✅POI search in Mainland China
amap_walking_directionAmap (Gaode)✅Walking route
amap_driving_directionAmap (Gaode)✅Driving route
amap_transit_directionAmap (Gaode)✅Public transit route
amap_bicycling_directionAmap (Gaode)✅Cycling route

MTR coverage — all 10 lines, station names accepted in English or Chinese:

Island (港岛线) · Tsuen Wan (荃湾线) · Kwun Tong (观塘线) · Tseung Kwan O (将军澳线) · East Rail (东铁线, runs to Lo Wu 罗湖 and Lok Ma Chau 落马洲) · Tuen Ma (屯马线) · South Island (南港岛线) · Tung Chung (东涌线) · Airport Express (机场快线) · Disneyland Resort (迪士尼线)


⚠️ Limitations

Stated up front, because a tool that hides its limits is a tool that lies to your agent:

  • Routes minimise transfers, not travel time. No inter-station running times are published, so we optimise for the thing we can actually measure. Occasionally a two-transfer route is faster than the one-transfer route returned.
  • Real-time arrivals cover the boarding leg only. Without running times we cannot say when you will reach a transfer station, so quoting arrivals for later legs would be invention.
  • Two stations have no real-time feed. The upstream API serves no arrivals for Tin Hau or Prince Edward. Routing through them works; arrivals at them are reported as unavailable rather than faked.
  • Amap tools need your own key and cover Mainland China only.
  • Cross-border journey planning is not built yet. East Rail reaches the border stations, but stitching a full HK→Shenzhen itinerary is Stage 2 on the roadmap.

🚀 Quickstart

Prerequisites: Node.js >= 18

git clone https://github.com/arthurpanhku/DragonMCP.git
cd DragonMCP
npm install
npm run build

No .env is needed for the Hong Kong tools. For the Amap tools, copy the template and add your key:

cp .env.example .env

Connect to Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "DragonMCP": {
      "command": "node",
      "args": ["/absolute/path/to/DragonMCP/dist/stdio.js"]
    }
  }
}

Add "env": { "AMAP_API_KEY": "your_key" } only if you want the Mainland China tools.

Other ways to run

npm run dev:stdio   # stdio transport, for local MCP clients
npm run dev         # HTTP server: Streamable HTTP at /mcp, legacy SSE at /mcp/sse
docker-compose up -d --build

In stdio mode, stdin/stdout carry MCP JSON-RPC; diagnostics go to stderr so the protocol stream stays clean.


🏗️ Architecture

graph TD
    A[AI Agent Client] -->|MCP: stdio or HTTP| B[DragonMCP Server]
    B --> C[Tool Registry]

    C --> D["Hong Kong (no key)"]
    C --> E["Mainland China (Amap key)"]
    C --> F["Cross-border aggregator"]

    D -.-> G[data.gov.hk: MTR real-time]
    D -.-> H[HK Observatory]
    E -.-> I[Amap Web Service API]
    F -.-> D
    F -.-> E

🗺️ Roadmap

Stage 1 — Provenance & zero-config

  • Every tool response carries source, fetched_at, freshness
  • Publish to npm so npx dragon-mcp works with no clone and no key
  • Daily CI self-test with a status badge, so "the data sources are alive today" is publicly verifiable

Stage 2 — Cross-border

  • MTR transfer planning
  • Border checkpoints, Guangzhou–Shenzhen–Hong Kong Express Rail, Airport Express integration
  • plan_cross_border_trip: one call spanning both sides of the boundary

Stage 3 — Coverage

  • More data.gov.hk sources (bus/ferry ETAs, typhoon signals, air quality)
  • Macau

🧪 Testing

npm test          # unit + integration; hermetic, no network required
npm run check     # typecheck
npm run lint

To verify live upstreams instead, call the system_run_selftest tool from any MCP client.


🤝 Contributing

See CONTRIBUTING.md.

One hard rule: no mock tools. A tool that returns fabricated data is worse than a missing tool, because the agent cannot tell the difference. If an upstream API isn't available, the right move is not to register the tool.

Good places to start: MTR transfer planning, additional data.gov.hk sources, branch handling for East Rail and Tseung Kwan O.


🙏 Acknowledgments

  • Anthropic — for the Model Context Protocol
  • MTR Corporation and data.gov.hk — for the open real-time transit API
  • Hong Kong Observatory — for the open weather API
  • Amap (Gaode) — for maps and routing

📄 License

MIT — see LICENSE.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for DragonMCP from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/dragonmcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research