L'Agora
MCPResponds

Formosa MCP — Taiwan data

io.github.ycsmiley/formosa-mcp

What it is for

Gives access to Taiwan data: high-speed rail timetables with `thsr_timetable` and conventional rail with `tra_timetable`, stock quotes with `stock_quote`, invoice lottery, garbage collection and planned outages.

Summary written by L’Atlas on Nov 29, 2026, only from the author’s description and the tools seen by the test.

Taiwan data for AI agents: THSR/TRA timetables, TWSE/TPEx stocks, invoice lottery, garbage, outages

No review yet · 0 questions Write a reviewAsk the authorFollow this entry

Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.

All projects by ycsmiley

Repository
github.com/ycsmiley/formosa-mcp
Website
github.com/ycsmiley/formosa-mcp
Server address
https://formosa-mcp.ycsmiley.workers.dev/mcp (streamable-http)
Version
0.2.0
Author
ycsmiley (namespace verified by the registry)
Source
Official MCP registry (updated Nov 4, 2026)

Reviews

No review yet.

Sign in to leave a review. Your email is all you need.

Questions for the author

No question yet.

Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.

Continue with GoogleGet a link by email

How to install it

The server optionally accepts a header: X-TDX-Client-Id, X-TDX-Client-Secret. Replace YOUR_KEY with your key.

Variables to fill in: TDX_CLIENT_ID, TDX_CLIENT_SECRET.

Remote server (nothing to install)

Claude Code

In a terminal:

claude mcp add --transport http formosa-mcp https://formosa-mcp.ycsmiley.workers.dev/mcp \
  --header "X-TDX-Client-Id: YOUR_KEY" \
  --header "X-TDX-Client-Secret: YOUR_KEY"
Claude (app and claude.ai)

Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.

https://formosa-mcp.ycsmiley.workers.dev/mcp
ChatGPT

In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.

https://formosa-mcp.ycsmiley.workers.dev/mcp
Cursor ~/.cursor/mcp.json

Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):

{
  "mcpServers": {
    "formosa-mcp": {
      "url": "https://formosa-mcp.ycsmiley.workers.dev/mcp",
      "headers": {
        "X-TDX-Client-Id": "YOUR_KEY",
        "X-TDX-Client-Secret": "YOUR_KEY"
      }
    }
  }
}
VS Code .vscode/mcp.json

Add this to your project’s .vscode/mcp.json:

{
  "servers": {
    "formosa-mcp": {
      "type": "http",
      "url": "https://formosa-mcp.ycsmiley.workers.dev/mcp",
      "headers": {
        "X-TDX-Client-Id": "YOUR_KEY",
        "X-TDX-Client-Secret": "YOUR_KEY"
      }
    }
  }
}

On your machine

Claude Code

The server runs on your machine (npm package). In a terminal:

claude mcp add formosa-mcp -e TDX_CLIENT_ID=YOUR_TDX_CLIENT_ID -e TDX_CLIENT_SECRET=YOUR_TDX_CLIENT_SECRET -- npx -y [email protected]
Claude Desktop claude_desktop_config.json

Settings, Developer, Edit config, then add:

{
  "mcpServers": {
    "formosa-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "TDX_CLIENT_ID": "YOUR_TDX_CLIENT_ID",
        "TDX_CLIENT_SECRET": "YOUR_TDX_CLIENT_SECRET"
      }
    }
  }
}
Cursor ~/.cursor/mcp.json

In ~/.cursor/mcp.json:

{
  "mcpServers": {
    "formosa-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "TDX_CLIENT_ID": "YOUR_TDX_CLIENT_ID",
        "TDX_CLIENT_SECRET": "YOUR_TDX_CLIENT_SECRET"
      }
    }
  }
}
VS Code .vscode/mcp.json

In .vscode/mcp.json:

{
  "servers": {
    "formosa-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "TDX_CLIENT_ID": "YOUR_TDX_CLIENT_ID",
        "TDX_CLIENT_SECRET": "YOUR_TDX_CLIENT_SECRET"
      }
    }
  }
}
ChatGPT

ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.

These configurations are built from the information published by the author. Check the repository before installing a local server.

Our test

Responds The server speaks MCP and lists its tools.

Date
Nov 28, 2026, 10:50 (test run by L’Atlas)
Response time
1,503 ms (whole test)
Tools found
10
Announced name
formosa-mcp 0.2.0
Protocol
MCP 2025-11-25
Next test
Dec 5, 2026
See the tools (10)
  • invoice_get_winning_numbers
    查詢統一發票中獎號碼與領獎期間。Get Taiwan invoice winning numbers; omit period for the latest draw.
  • invoice_check
    統一發票對獎;未指定期別時檢查最新一期與仍可領獎的前一期。Check a Taiwan invoice number; 3–7 digits only check sixth prizes.
  • stock_quote
    以股票代號或名稱查詢上市/上櫃盤後行情、本益比與殖利率,非即時。Taiwan TWSE/TPEx end-of-day quote by code or name, not real-time.
  • stock_market_summary
    查詢上市加權指數、上櫃指數收盤漲跌、成交金額與融資券餘額(張)。兩市場各有資料日期,盤後資料,非即時;無需參數。Taiwan market closing summary, separately dated TWSE and TPEx; not real-time.
  • stock_dividends
    查詢上市/上櫃近期除權息日程,可指定股票代號或名稱。Upcoming Taiwan TWSE/TPEx ex-dividend and ex-right dates; optional code or name.
  • garbage_schedule
    查詢新北市、臺北市、臺中市垃圾車定點收運時刻。
  • outage_schedule
    查詢計畫性停水、停電公告;緊急搶修、事故、颱風造成的停水停電不會事先公告。Planned water/power outages only.
  • thsr_timetable
    查高鐵某日起迄站時刻;站名或代碼,日期預設臺北今天,時間 HH:mm;24:00–29:59 表示營運日隔日凌晨。THSR OD timetable; optional date and departure time.
  • tra_timetable
    查臺鐵某日起迄站時刻與車種;站名或代碼,日期預設臺北今天,時間 HH:mm;24:00–29:59 表示營運日隔日凌晨。TRA OD timetable with train types.
  • tra_live
    查臺鐵車次目前位置與誤點,或車站即時看板;train_no、station 恰填一項。TRA live train position/delay or station board; provide exactly one argument.

What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more

Cite this entry

For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.

Formosa MCP — Taiwan data · L’Agora · Tested on

[Formosa MCP — Taiwan data — L’Agora](https://lagora.dev/en/entry/io.github.ycsmiley/formosa-mcp)

Sources, methodology and limitations

Comments

No comment yet. A question, a tip? Start the discussion.

Sign in to comment.

Is this your project? Sign in to claim this entry.

Badge for your README

io.github.ycsmiley/formosa-mcp on L’Agora

Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.

Markdown (GitHub)

[![io.github.ycsmiley/formosa-mcp on L’Agora](https://lagora.dev/badge/io.github.ycsmiley/formosa-mcp.svg?lang=en)](https://lagora.dev/en/entry/io.github.ycsmiley/formosa-mcp)

HTML

<a href="https://lagora.dev/en/entry/io.github.ycsmiley/formosa-mcp"><img src="https://lagora.dev/badge/io.github.ycsmiley/formosa-mcp.svg?lang=en" alt="io.github.ycsmiley/formosa-mcp on L’Agora" height="20"></a>

Promote

For the entry’s author only: sign in to continue.

Report this entry