Skip to content
Dustin's AI Lab
Go back

Two MCP servers for Taiwan public data—what mcp-taiwan-legal-db and Twinkle Hub are each good for

Two MCP servers wrapping Taiwan's public data sources—one focused on court judgments and statutes, the other aggregating 52,960 government open datasets plus 37 local utility tools. They turn out to be complementary; I now run both.


Spent the last two weeks evaluating two MCP servers that wrap Taiwan’s public data. The trigger was needing “official source” demo material for the L2 course, plus checking whether either is good enough to hand to L3 consulting clients in legal, compliance, or government settings.

GitHub: lawchat-oss/mcp-taiwan-legal-db. 101 stars, still under active maintenance as of 2026-05-12.

Eight MCP tools wrapping three official Taiwan sources:

A few technical details worth knowing:

In last week’s L2 class I plugged the legal MCP into a “search patent infringement judgments” demo. Within five minutes we went from keyword search to full-text reading. The students with legal or consulting backgrounds reacted much more strongly than they did to the news RSS demo.

Risks: the Judicial Yuan API is accessed via scraping (no official key), so the WAF workaround could in theory get blocked. Playwright also requires playwright install chromium, which is an extra setup step for classroom environments.

Twinkle Hub

From Twinkle AI. Positioned as “all 52,960 datasets from data.gov.tw aggregated into a single MCP endpoint.” Free during the Alpha period.

Three layers:

  1. OpenData (53k government datasets across 19 domains: real estate, transport, health, environment, agriculture, procurement, education, law, finance, foreign affairs, indigenous affairs, labor, culture, industry, weather, energy, public safety, demographics, other)
  2. TW Utility Tools (37 locally-relevant tools)
  3. BYO connectors (Notion / Sentry / n8n hosted locally)

The 37 utility tools in layer 2 are extremely high-leverage. The ones I reach for most:

Use caseTool
Look up a company by tax IDtwtools-lookup_company_by_tax_id
Validate a tax ID checksumtwtools-validate_tax_id_number
Validate a Taiwan ID numbertwtools-validate_taiwan_id_number
Normalize a Chinese addresstwtools-normalize_taiwan_address
Translate a Chinese address to Englishtwtools-address_zh_to_en
ROC year ↔ Western yeartwtools-roc_year_to_western
Is it a Taiwan business day?twtools-is_taiwan_business_day
Look up Taiwan national holidaystwtools-lookup_holidays
Solar ↔ lunar calendartwtools-solar_to_lunar / lunar_to_solar
Simplified ↔ Traditional Chinesetwtools-simplified_to_traditional

One-line install (free during Alpha, no top-up required):

claude mcp add --transport http twinkle-hub https://api.twinkleai.tw/mcp/ \
  --header "Authorization: Bearer sk-..."

Sign in at https://hub.twinkleai.tw/login with Google or GitHub to get your API key.

Gotcha: when I tested four datasets, the FSC sanctions list, labor violations record, and company lookup by tax ID all worked. But the IPC patent classification dataset returned garbled text—looks like an upstream data.gov.tw encoding issue, not Twinkle Hub’s fault.

How I run both together

The split I’ve landed on:

No conflict running both. Claude Code can distinguish from tool names and descriptions which one to call.

If you only install one, I’d suggest Twinkle Hub. The 37 utility tools have such broad coverage that even “is the 12th of next month a business day?” type questions go straight through. The legal MCP is great in specific scenarios, but Twinkle Hub is the one you’ll reach for daily.


Share this post on:

Previous Post
Covey's time management matrix, now with Claude Code—how each quadrant shifts
Next Post
What I only learned after taking on enterprise AI training—prep time, the client liaison, instructor flexibility, and how to pick a consultant