Alpaca Trading API integration for Model Context Protocol (MCP)
TWSE Open Data (Taiwan Stock Exchange) is installed from its publisher's own source and answers where it runs, so this marketplace is not in the path of a single call. There is no address here to send one to, and a panel that pretended otherwise would be showing you an answer we made up. Install it and call it from your own client — the Installation tab has the entry for each one.
What it does
Unofficial. TWSE & TAIFEX open data for AI: stock, ETF & futures snapshots, quotes, 270+ datasets.
Quickstart
# 1 — add it to Claude Code
claude mcp add --scope user --transport http twse-open-data-taiwan-stock-exchange-mcp https://twse-mcp.taux.io/mcp
# 2 — ask your agent for something these tools do
# dataset.search, dataset.describe, dataset.get and 7 more
TWSE Open Data (Taiwan Stock Exchange) costs nothing on mcprush: there is no plan to choose here, no cap to set and nothing mcprush can bill you for.
Collected from a public index. Nobody has claimed this account, so nothing here was written by its author — claim it if it is yours.
Where are you running it?
Every route below installs the same thing and ends at the same approval screen. Nothing here runs on your machine and nothing runs on ours: this server answers at its publisher’s own address, and what you install is the connection straight to it.
This is a public server: it answers at its publisher’s own address and this marketplace is not in the path. Claude Code registers it in one command; --scope user makes it available in every project. The transport below is http, as the publisher's own manifest declares it.
claude mcp add --scope user --transport http twse-open-data-taiwan-stock-exchange-mcp https://twse-mcp.taux.io/mcpReconnect, or start a new session, and the tools appear in the model’s tool list.
One config entry pointing straight at the publisher’s own address — this marketplace is not in the path, and nothing from this listing executes on your machine.
10 tools, with what each one reads, writes and reaches shown before you agree — the same list on every route above. Read the tool surface.
Tool surface
What the model actually sees. Descriptions are diffed on every release — see version history.
Search the catalog of Taiwan Stock Exchange (TWSE) OpenAPI and Taiwan Futures Exchange (TAIFEX) OAS datasets and get the dataset_id to fetch. Reads a local catalog (no upstream call). Keywords may be Chinese or English, separated by spaces; every keyword must match. 搜尋臺灣證交所與期交所 OpenAPI 有哪些資料集可用。取資料前先用這個找 dataset_id。範圍比股票廣:還有公司治理、ESG、財報、權證、券商、期貨與選擇權,以及期交所的每日外幣參考匯率——覺得「交易所大概沒有這種資料」時,先搜再下結論。會比對資料集代號、
| Parameter | Type | Required | Notes |
|---|---|---|---|
| query | string | no | 關鍵字,例如 "ETF"、"融資"、"三大法人 期貨"。留空列出全部。 |
| tag | string | no | 依分類過濾,例如 "證券交易"、"公司治理"、"財務報表"。 |
| limit | integer | no | 最多回傳幾筆(預設 25)。 |
Show one dataset's definition: id, source (TWSE or TAIFEX), summary, tags, and every field key with its Chinese description. The where, sort_by, fields and match parameters of dataset.get take these field keys. Reads the local catalog only, so it has no row counts or dates. 查看某個資料集的定義:代號、來源(證交所或期交所)、中文說明、分類標籤,以及每個欄位的鍵名與中文說明。dataset.get 的 where、sort_by、fields、match 都要用這裡的鍵名(例如 PEratio),不是中文說明。只讀本機目
| Parameter | Type | Required | Notes |
|---|---|---|---|
| dataset_id | string | yes | 來自 dataset.search 的資料集代號,例如 "exchangeReport/STOCK_DAY_ALL"。 |
Fetch rows from a TWSE OpenAPI or TAIFEX OAS dataset. Find the dataset_id with dataset.search first; do not guess it, since each metric lives in its own table. Supports server-side filtering (code is an exact match; match and where), sorting, field selection and paging: 30 rows by default, 200 at most. For rankings and screens (top 10 by dividend yield, P/E below 10) use where and sort_by instead
| Parameter | Type | Required | Notes |
|---|---|---|---|
| dataset_id | string | yes | 資料集代號,例如 "exchangeReport/STOCK_DAY_ALL"。 |
| code | string | no | 證券/基金/契約代號,例如 "0050"、"TX"。一律精確比對(不分大小寫),實際用了哪個欄位會回在 code_field_used。找不到完全相符的代號時回 0 筆,並在 code_candidates 給出拼法相近的代號——那些是候選不是答案,可能是不同商品(MXF 與 MXFFX 是不同契約),請確認後改用該代號重查,不要直接引用它們的數字。 |
| match | object | no | 其他欄位的子字串過濾,例如 {"基金類型": "ETF"}。最多 20 個欄位。 |
| where | array | no | 數值條件,全部都要成立。例如本益比低於 10、殖利率至少 5%:[{"field":"PEratio","op":"lt","value":10},{"field":"DividendYield","op":"gte","value":5}]。欄位值會去逗號轉數字;空值或非數字(例如虧損公司的本益比)無法比較,會被排除並回報筆數。 |
| sort_by | string | no | 依這個欄位排序,在分頁之前做——要「前 N 名」就用它配 limit。多數值是數字就依數值排,否則依字串排;空值與非數字一律排最後。 |
| order | string | no | "desc"(大到小,預設)或 "asc"。 |
| fields | array | no | 只回傳這些欄位。 |
| limit | integer | no | 回傳筆數上限(硬上限 200)。 |
| offset | integer | no | 分頁位移。 |
One TWSE-listed ETF in a single call: fund profile, the previous trading day's price and volume, and regular-savings (定期定額) popularity. Source: TWSE OpenAPI, updated after each trading day; not live. A section that cannot be fetched comes back null with a caveat. 一次取得單一上市 ETF 的完整概況:基本資料 + 前一交易日價量 + 定期定額熱度。價量為前一交易日,不是盤中即時;要當下價格請用 quote.realtime。合併三個證交所資料集並行查詢。任何一段查不到都會標成 null 並記在 caveats,不會整個失敗。
| Parameter | Type | Required | Notes |
|---|---|---|---|
| code | string | yes | ETF 代號,例如 "0056"、"0050"、"00878"。 |
| include_realtime | boolean | no | 是否附上盤中即時報價。預設 false,需要當下價格時才帶 true(多一次外呼)。 |
Find the code of a TWSE-listed company or fund (including ETFs) from its name or code, e.g. 台積電 → 2330. Use it first when the user gives only a name. English matching covers the exchange's English short names (TSMC, UMC, MediaTek) and fund English names, not full company names; if an English name finds nothing, try its short form or the Chinese name. Listed (TWSE) securities only. Source: TWSE Ope
| Parameter | Type | Required | Notes |
|---|---|---|---|
| query | string | yes | 名稱或代號,例如 "台積電"、"TSMC"、"高股息"、"2330"。 |
| limit | integer | no | 最多回傳幾筆(預設 10,上限 50)。 |
One TWSE-listed company in a single call: profile, the previous trading day's price and volume, P/E, dividend yield, P/B, latest monthly revenue, dividends and upcoming ex-dividend dates, attention/disposition status, and market cap. Optional sections: financial statements (include_financials; year-to-date cumulative figures), corporate governance (include_governance), margin trading and securitie
| Parameter | Type | Required | Notes |
|---|---|---|---|
| code | string | no | 上市公司股票代號,例如 "2330"、"2317"。只知道名稱時先用 quote.lookup。與 codes 擇一。 |
| codes | array | no | 要並排比較的 2–5 檔代號,例如 ["2330", "2303", "2454"]。回傳 compared:每檔的價量、本益比、殖利率、股價淨值比與市值。與 code 擇一;比較模式不支援 include_financials、include_governance、include_margin、esg_topics。 |
| include_financials | boolean | no | 附上最新一季財報摘要:營收、毛利率、營業利益率、淨利率、每股盈餘、每股參考淨值、資產負債與負債比率(多一到兩次外呼)。預設 false。 |
| include_governance | boolean | no | 附上公司治理摘要(多五次外呼)。預設 false。 |
| include_margin | boolean | no | 附上融資融券(買賣、餘額、增減、使用率、券資比、停止或分配註記)與當日可借券賣出股數(多兩次外呼)。預設 false。 |
| esg_topics | array | no | 附上這些 ESG 主題的最新年度申報資料(每個主題多一次外呼)。不帶就不查。例如資訊安全含資訊外洩事件數與受影響顧客數,職業安全衛生含職災人數,董事會含女性董事比率。約一半的主題只有特定產業須揭露;公司不在某主題的表中會標明,不代表數值為 0。氣候相關議題管理是長篇文字,只在問到氣候風險時才帶。 |
| history_days | integer | no | 附上最近 N 個交易日的收盤價量與整段期間的漲跌幅(本服務自己存的日成交資訊,存檔自 2026-09-29 開始;不足 N 日會說明)。問「最近走勢」「這個月漲多少」時才帶。不支援比較模式(codes)。 |
Whole-market overview for the previous trading day: TAIEX and its change, turnover, advancers and decliners, top 10 by volume, plus futures positioning (institutional net open interest, TAIEX futures positions, put/call ratio, large traders). scope="events" lists ex-dividend dates and shareholder meetings in the next two weeks and attention/disposition stocks. Every scope also includes a trading c
| Parameter | Type | Required | Notes |
|---|---|---|---|
| scope | string | no | "all"(預設,證券市場加期貨籌碼)、"stock"、"futures",或 "events"(近期事件行事曆)。 |
Top gainers and losers by percentage change among TWSE-listed stocks for the previous trading day, plus how many closed limit-up and limit-down. Each row has the code, name, close, change, percentage change and volume. Use it for "top gainers / top losers / which stocks hit the daily limit" instead of sorting dataset.get by price change, which ranks by absolute points and puts high-priced stocks f
| Parameter | Type | Required | Notes |
|---|---|---|---|
| limit | integer | no | 漲幅與跌幅各取前幾名,預設 10,最多 30。漲停與跌停家數不受這個數字影響,數的是全部個股。 |
One TAIFEX futures contract for the latest trading day: open, high, low, close, change, volume, settlement and open interest for each contract month (regular and after-hours sessions), a near-month summary, institutional and large-trader positions, and final settlement prices. Accepts codes ("TX", "MTX") or Chinese names; an ambiguous name returns candidates only. Source: TAIFEX OAS; futures only;
| Parameter | Type | Required | Notes |
|---|---|---|---|
| contract | string | yes | 期貨契約代號或名稱,例如 "TX"、"小台"、"台積電期貨"。 |
Intraday quotes, refreshed about every 5 seconds, for up to 50 TWSE-listed (market="tse") or OTC (market="otc") codes; each quote carries the trading date it belongs to. Source: the TWSE Market Information System (mis.twse.com.tw), which is not covered by the Open Government Data License. 取得盤中即時報價(約 5 秒更新一次),每筆帶 date(報價所屬交易日)。OpenAPI 只有前一交易日資料,要當下的價格得走基本市況報導站。ETF 與上市股票用 market="tse",上櫃用 "otc"。
| Parameter | Type | Required | Notes |
|---|---|---|---|
| codes | array | yes | 代號清單,例如 ["0050", "0056", "2330"]。 |
| market | string | no | "tse"(上市)或 "otc"(上櫃)。 |
- Every tool — any call limit is its publisher’s, not ours
- No card, and mcprush charges nothing for it
- Runs at its publisher’s own address — this marketplace is not in the path
- Nothing to cap, because mcprush bills nothing
What counts against your monthly calls
| Tool | Unit | Calls used | Out of the allowance |
|---|
Nothing here is billable: mcprush charges nothing to install TWSE Open Data (Taiwan Stock Exchange) or to call it, at any volume.
Two independent axes, because powerful and malicious are different questions. The grade is threat only. The capability level is blast radius, and it is never a penalty on the grade — it is priced as one subtract-only term in the score, where you can see it.
| Term | Level | What it prices | Points |
|---|---|---|---|
| capability-exposure | minimal | capability blast radius (minimal) — client exposure if the model is manipulated | −0 |
| coverage-honesty | manifest | inspection depth (manifest) — how much of the target the scan could see | −4 |
What the scan could actually read
A grade is only as meaningful as its coverage, so the scanner publishes its own depth before it publishes its result.
The scan read each tool’s name, description, input schema and annotations exactly as the server listed them the last time it answered us; no code was reviewed. We ask the server again about once a month, and a list that changed is graded again.
The implementation source was not read — this reflects the declared tool metadata only.
Capability — what it could do if the model were manipulated
Tags derived from each tool’s schema and the implementation, not from what the tool calls itself. minimal is the level these add up to.
| Tool | Capability tags | Why the tag was assigned |
|---|---|---|
| dataset.search | untrusted-input | untrusted-input: keyword "fetch" |
| dataset.describe | no tags | |
| dataset.get | untrusted-input | untrusted-input: keyword "fetch", declares openWorldHint: true (interacts with entities outside the server) |
| snapshot.etf | untrusted-input | untrusted-input: declares openWorldHint: true (interacts with entities outside the server) |
| quote.lookup | untrusted-input | untrusted-input: declares openWorldHint: true (interacts with entities outside the server) |
| snapshot.stock | untrusted-input | untrusted-input: declares openWorldHint: true (interacts with entities outside the server) |
| snapshot.market | untrusted-input | untrusted-input: declares openWorldHint: true (interacts with entities outside the server) |
| snapshot.movers | untrusted-input | untrusted-input: declares openWorldHint: true (interacts with entities outside the server) |
| snapshot.futures | untrusted-input | untrusted-input: declares openWorldHint: true (interacts with entities outside the server) |
| quote.realtime | untrusted-input | untrusted-input: declares openWorldHint: true (interacts with entities outside the server) |
Toxic-flow graph
The lethal trifecta, checked as a graph rather than as a checklist: untrusted input, a sensitive source and an external sink have to meet before there is a path worth worrying about.
The public result for this release does not print the flow graph, so there is nothing to show here. That is not the same as "no paths were found": what the scan did read is above, under coverage.
Supply chain and provenance
This is the first scan of this surface here, so there is nothing yet to compare it against.
Every result on this tab comes from one deterministic pass over the published package — offline, rule by rule, and auditable line by line above. Same methodology version, same bytes, same score.
Release history
This is an address its publisher runs: which release it serves is theirs to choose, so there is nothing here to pin. The history below is for reading; the current release on file is 0.15.0.
No release note was published with this version.
One review per account, from a signed-in account that does not publish this listing. Nothing else is asked — you can say what you think before you install it. Publishers can reply once per review, and a review can be edited or deleted by whoever wrote it.
Any signed-in account that does not publish TWSE Open Data (Taiwan Stock Exchange) can review it, once — before installing it or after. A review from an account that has installed it is marked as one.
Nobody has reviewed this listing. The rating on the card is the mean of the reviews written here and nothing else, so there is no rating until somebody writes the first — which takes a signed-in account that does not publish it, and nothing else.