Taiwan TDX transport runs on your own machine — the client starts it, so there is no endpoint to ping. 822 installs a week from npm. Last commit 2 Nov 2026.
Taiwan transport via TDX: YouBike, buses, rail, flights, ferries, road traffic, parking, EV
We read the source, 5 d ago · rules 995398eba69f
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
const [, code, digits = ''] = FLIGHT.exec(args.flight) ?? [];
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add tdx-taiwan-mcp -e 'TDX_CLIENT_ID=<TDX_CLIENT_ID>' -e 'TDX_CLIENT_SECRET=<TDX_CLIENT_SECRET>' -- npx -y tdx-taiwan-mcp
{
"mcpServers": {
"tdx-taiwan-mcp": {
"command": "npx",
"args": [
"-y",
"tdx-taiwan-mcp"
],
"env": {
"TDX_CLIENT_ID": "<TDX_CLIENT_ID>",
"TDX_CLIENT_SECRET": "<TDX_CLIENT_SECRET>"
}
}
}
}
[mcp_servers.tdx-taiwan-mcp]
command = "npx"
args = ["-y", "tdx-taiwan-mcp"]
env = { TDX_CLIENT_ID = "<TDX_CLIENT_ID>", TDX_CLIENT_SECRET = "<TDX_CLIENT_SECRET>" }
{
"mcpServers": {
"tdx-taiwan-mcp": {
"command": "npx",
"args": [
"-y",
"tdx-taiwan-mcp"
],
"env": {
"TDX_CLIENT_ID": "<TDX_CLIENT_ID>",
"TDX_CLIENT_SECRET": "<TDX_CLIENT_SECRET>"
}
}
}
}
{
"servers": {
"tdx-taiwan-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"tdx-taiwan-mcp"
],
"env": {
"TDX_CLIENT_ID": "<TDX_CLIENT_ID>",
"TDX_CLIENT_SECRET": "<TDX_CLIENT_SECRET>"
}
}
}
}
Put your own values in place of
<TDX_CLIENT_ID> (TDX API key Client Id (tdx.transportdata.tw → 會員中心 → 資料服務 → API金鑰)), <TDX_CLIENT_SECRET> (TDX API key Client Secret).
The author’s registry entry marks them as required.
Optional settings from the registry entry, left out of the block above:
TDX_REQUESTS_PER_SECOND (Client-side rate limit; match it to your TDX plan (0 turns it off)), TDX_MAX_ITEMS (Most items any tool returns), TDX_TOOLS (Tool groups to load: bike, bus, rail, flight, ferry, road, parking, ev, raw; e.g. bus,rail or -road,-raw), TDX_CACHE_DIR (Folder where static data is kept for a day between runs (default ~/.cache/tdx-taiwan-mcp); off turns it off).
Read-only Alibaba (alibaba.ir) Iran travel: trains, buses, flights, hotels, villas and tours.
GBFS shared mobility, EV charging, DATEX II traffic, Park & Rail
Unofficial read-only MrBilit: Iranian flights, trains, buses, taxis and hotels, seats and prices.
UK and Ireland transport: live buses and trains, journey planning, rail fares, disruptions.
Unofficial read-only Flytoday: Iranian and international flights, hotels, villas, trains, buses.
Plan door-to-door trips across French trains, buses, transit and flights.
Live prices and booking links for Boracay airport transfers, flights and activities.
Unofficial DC, Maryland and Virginia transit: trips, Metro, buses, rail, fares and alerts.
Answers built from our own checks of this server.