Taiwan transport via TDX: YouBike, buses, rail, flights, ferries, road traffic, parking, EV
Connect Runs on your machine
claude mcp add tdx-taiwan-mcp -e TDX_CLIENT_ID=<TDX_CLIENT_ID> -e TDX_CLIENT_SECRET=<TDX_CLIENT_SECRET> -e TDX_REQUESTS_PER_SECOND=<TDX_REQUESTS_PER_SECOND> -e TDX_MAX_ITEMS=<TDX_MAX_ITEMS> -e TDX_TOOLS=<TDX_TOOLS> -e TDX_CACHE_DIR=<TDX_CACHE_DIR> -- npx -y [email protected]
{
"mcpServers": {
"tdx-taiwan-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"TDX_CLIENT_ID": "<TDX_CLIENT_ID>",
"TDX_CLIENT_SECRET": "<TDX_CLIENT_SECRET>",
"TDX_REQUESTS_PER_SECOND": "<TDX_REQUESTS_PER_SECOND>",
"TDX_MAX_ITEMS": "<TDX_MAX_ITEMS>",
"TDX_TOOLS": "<TDX_TOOLS>",
"TDX_CACHE_DIR": "<TDX_CACHE_DIR>"
}
}
}
}
{
"mcpServers": {
"tdx-taiwan-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"TDX_CLIENT_ID": "<TDX_CLIENT_ID>",
"TDX_CLIENT_SECRET": "<TDX_CLIENT_SECRET>",
"TDX_REQUESTS_PER_SECOND": "<TDX_REQUESTS_PER_SECOND>",
"TDX_MAX_ITEMS": "<TDX_MAX_ITEMS>",
"TDX_TOOLS": "<TDX_TOOLS>",
"TDX_CACHE_DIR": "<TDX_CACHE_DIR>"
}
}
}
}
{
"servers": {
"tdx-taiwan-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"TDX_CLIENT_ID": "<TDX_CLIENT_ID>",
"TDX_CLIENT_SECRET": "<TDX_CLIENT_SECRET>",
"TDX_REQUESTS_PER_SECOND": "<TDX_REQUESTS_PER_SECOND>",
"TDX_MAX_ITEMS": "<TDX_MAX_ITEMS>",
"TDX_TOOLS": "<TDX_TOOLS>",
"TDX_CACHE_DIR": "<TDX_CACHE_DIR>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
TDX_CLIENT_IDRequired | TDX API key Client Id (tdx.transportdata.tw → 會員中心 → 資料服務 → API金鑰). |
TDX_CLIENT_SECRETRequired, secret | TDX API key Client Secret. |
TDX_REQUESTS_PER_SECONDOptional | Client-side rate limit; match it to your TDX plan (0 turns it off). |
TDX_MAX_ITEMSOptional | Most items any tool returns. |
TDX_TOOLSOptional | Tool groups to load: bike, bus, rail, flight, ferry, road, parking, ev, raw; e.g. bus,rail or -road,-raw. |
TDX_CACHE_DIROptional | Folder where static data is kept for a day between runs (default ~/.cache/tdx-taiwan-mcp); off turns it off. |
Details
| Package | [email protected] (NPM, stdio) |
| First published | 2 Nov 2026 |
| Last updated | 2 Nov 2026 |
| Registry name | io.github.amangeldievkuu/tdx-taiwan-mcp |
More other servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
