What it solves
AI assistants make up Taiwan market numbers. Their training data has a cutoff and they are not wired to any exchange. Ask "where did 0050 close yesterday" and you may get a plausible-looking price that was invented, and nothing to tell the two apart. Taiwan Market Open Data makes the assistant fetch the exchange's own published open data, so the answer has a source.
The data is split across two APIs and named unsearchably. TWSE and TAIFEX each publish their own OpenAPI; together that is 275 reports whose names defeat keyword search: the ETF master table is called 「基金基本資料彙總表」 (fund master data), so searching "ETF" never finds it. Taiwan Market Open Data merges both into one searchable catalogue so the assistant can locate the right table itself.
No code, no paperwork. There is no API key, no registration and no SDK. Paste a URL and ask in plain language, Chinese or English.
What you can ask
- "What's TSMC trading at right now?" intraday quotes, several tickers at once.
- "Where did 0050 close yesterday, and on what volume?" the previous session's open, high, low, close and volume.
- "How fast is TSMC's revenue growing? What are its P/E and yield?" a one-page company snapshot, including monthly revenue growth and whether the stock is under disposition.
- "Which stocks yield over 6% with a P/E under 10?" filter and sort by the exchange's published figures, server-side.
- "What was TSMC's gross margin this half, and is its debt ratio high?" the latest quarter's financials, from the right industry table, noting that income figures are year-to-date.
- "Have this company's directors pledged a lot of their shares?" governance, including director share pledges, chair/CEO duality, regulatory penalties.
- "How did the market do yesterday? Are foreign investors long or short on futures?" TAIEX, advancers and decliners, most-traded stocks, institutional futures open interest and the put/call ratio.
- "Which stocks gained the most last session? How many hit the limit?" top gainers and losers among listed stocks by percentage change rather than points, plus limit-up and limit-down counts (derived; no ETFs or OTC).
- "What's the ticker for 隴華?" looks up the code when you only know a company or ETF name.
- "What exactly is the ETF 0056?" which index it tracks, how popular it is for regular savings, plus which figures not to take at face value.
- "Where did the TAIEX futures settle yesterday?" daily futures and options quotes, institutional flows, open interest.
- "Does the exchange publish data on …?" finds the right one among 275 public reports.
Set up in a minute
Reading this on a phone? Set it up once in Claude on the web from a computer; the mobile app then uses the same connector.
Claude (web or desktop)
- In Claude on the web or desktop, click your name in the bottom-left corner, choose Settings, then Connectors in the left-hand menu.
- Click "+ Add custom connector". Name it anything you like, set the URL to https://twse-mcp.taux.io/mcp, leave Authentication on the default No sign-in (no API key needed), then click Add.
https://twse-mcp.taux.io/mcp - Go back to the chat, start a new conversation, click the "+" next to the message box, choose Connectors, and switch on the one you just added.
The free plan is enough. Once it is on, ask "Use Taiwan Market Open Data to get 0050's closing price on the latest trading day." It worked if the reply shows a tool call (you can expand it to see the query) and states the data date. A bare number with no tool call means the connector is off and the AI guessed the price.
Did not work?
- The AI answers without using it: check that it is switched on under "+" → Connectors in the chat, or start your question with "Use Taiwan Market Open Data to…".
- Adding it fails: the URL must be complete, end in
/mcpand have no spaces around it; choose No sign-in for authentication. - No place to add it in ChatGPT: the free plan cannot add custom connectors; you need a paid plan with Developer mode turned on.
- Still stuck: email dev@taux.io or report it on GitHub.
It cannot touch your money. This connector only reads the exchanges' public data: it cannot place orders and cannot reach your brokerage account. Your AI sends it only the query (a ticker or a keyword, for example), never the whole conversation. To stop using it, remove it from the same Connectors page.
This is a personal project by taux.io, not affiliated with the Taiwan Stock Exchange or the Taiwan Futures Exchange.
ChatGPT
ChatGPT can add it too, on a paid plan: first turn on Developer mode in the web app's settings, then add a connector with the same URL and choose No authentication. OpenAI has changed which plans qualify and where the menus live several times, so follow its official guide. This service has only been fully tested with Claude.
Ask your AI to install it in one sentence
Not using Claude on the web? Copy this sentence and paste it to the AI assistant you already use (Claude, ChatGPT, Cursor and so on). It will work out the install method for your tool.
Please install a remote MCP server named twse at https://twse-mcp.taux.io/mcp (Streamable HTTP, stateless, no token or headers needed). Find the right way to install it for the tool I am using, and before you run anything or change any settings, tell me what you plan to do and wait for my approval.Install in other AI tools
Claude Code
Run this in a terminal:
claude mcp add twse --transport http https://twse-mcp.taux.io/mcpClaude on the web and desktop
These are the same steps as "Set up in a minute" above: add a custom connector.
- In Claude on the web or desktop, click your name in the bottom-left corner, choose Settings, then Connectors in the left-hand menu.
- Click "+ Add custom connector". Name it anything you like, set the URL to https://twse-mcp.taux.io/mcp, leave Authentication on the default No sign-in (no API key needed), then click Add.
- Go back to the chat, start a new conversation, click the "+" next to the message box, choose Connectors, and switch on the one you just added.
Cursor
Add this to .cursor/mcp.json (this project) or ~/.cursor/mcp.json (all projects), then reload Cursor:
{
"mcpServers": {
"twse": {
"url": "https://twse-mcp.taux.io/mcp"
}
}
}VS Code (GitHub Copilot)
Put the first block in the project's .vscode/mcp.json, or run the second line to add it to your user settings:
{
"servers": {
"twse": {
"type": "http",
"url": "https://twse-mcp.taux.io/mcp"
}
}
}code --add-mcp '{"name":"twse","type":"http","url":"https://twse-mcp.taux.io/mcp"}'Codex CLI
Run this in a terminal:
codex mcp add twse --url https://twse-mcp.taux.io/mcpGemini CLI
Run this in a terminal:
gemini mcp add --transport http twse https://twse-mcp.taux.io/mcpClients that only support stdio
Some tools can only launch a local program, not connect to a remote URL. Bridge with mcp-remote (needs Node.js): use the command on the first line, or put the second block in that tool's MCP config:
npx -y mcp-remote https://twse-mcp.taux.io/mcp{
"mcpServers": {
"twse": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://twse-mcp.taux.io/mcp"
]
}
}
}For any other tool, choose Streamable HTTP (remote MCP) rather than the older SSE transport. No authentication is needed.
Three ready-made shortcuts
They appear automatically with the connector; nothing extra to install. In Claude Desktop they are in the "+" menu; in Claude Code, type / to list them.
| Command | What it does | What to pass |
|---|---|---|
find_dataset | Finds the right dataset when you do not know which one to use | A keyword, e.g. "institutional investors" |
etf_overview | Profile, previous trading day's prices and regular-savings popularity for one listed ETF | An ETF code, e.g. 0056 |
futures_quote | Daily futures or options quotes | A contract code, e.g. TX |
You do not have to use them; they only pre-write common phrasings. Asking in plain language works just as well.
What it covers, and what it does not
OTC (TPEx) stocks currently have intraday quotes only. Historical and statistical reports are unavailable because the Taipei Exchange open-data host refuses cloud-originated connections. Stated here so you do not assume you phrased the query wrong.
- Listed stocks and ETFs: intraday quotes, previous-day prices and volume, profiles, regular-savings popularity, financial statements and governance disclosures.
- Futures and options: daily quotes, institutional investor flows, large-trader open interest, margins, contract specifications.
- Not provided: technical indicators, stock picks, investment advice, or any forecast this service computes on its own. Filtering and sorting by the exchange's published figures (P/E, yield) is supported; choosing what to buy is up to you.
Before you rely on it
- This is a free personal project. It is kept running as much as possible, but expect occasional rate limits, brief maintenance, or a future change of address.
- "Real-time" quotes are best-effort. They come from the exchange's web interface and may lag by seconds to minutes, or differ slightly from your broker's screen.
- Everything else can be up to an hour stale (cached) and is current only to the previous trading day.
- Reference only, not investment advice. Verify with the exchange or your broker before trading; you carry the risk.
Frequently asked questions
Is it free? Do I need an account or an API key?
None of those. The service is public and free, no account is required, and Claude's free plan can add it. The data comes from Taiwan's government open-data platform; this service only reshapes it into something an AI can query.
Can it look up over-the-counter (TPEx) stocks?
Intraday quotes only: pass the market as "otc". Historical and statistical reports for OTC listings are not available: the Taipei Exchange open-data host refuses connections originating from cloud providers. That is a known limitation, not an oversight. Emerging-market (興櫃) stocks are not covered.
Is the data real-time?
Intraday quotes refresh roughly every 5 seconds and come from the exchange's market-information site with no timing guarantee. Everything else is current to the previous trading day and is cached for an hour so the exchange is not hammered.
Does it cover futures and options?
Yes. All 132 TAIFEX datasets are included: daily quotes, institutional investor flows, large-trader open interest, margin requirements and contract specifications.
Is this investment advice?
No. Figures may be wrong, delayed, or changed upstream. Verify with the exchange or your broker before trading; you carry the risk.
Are my questions logged?
What you ask and the query arguments are not recorded. The service only fetches public data on your behalf; Cloudflare keeps connection logs for each request (IP, User-Agent and so on) for 3 days for troubleshooting. See the privacy policy at /privacy.
Data source and licence
臺灣證券交易所 2026 臺灣證券交易所 OpenAPI
金融監督管理委員會證券期貨局 2026 臺灣期貨交易所 OAS
此開放資料依政府資料開放授權條款 (Open Government Data License) 進行公眾釋出,使用者於遵守本條款各項規定之前提下,得利用之。
Open Government Data License:https://data.gov.tw/license
The attribution above is reproduced in its original Chinese wording. The Open Government Data License requires that exact form of notice, so translating it would not satisfy the obligation.
One exception: intraday quotes come from the exchange's market-information site (mis.twse.com.tw), which is not registered on the government open-data platform and therefore falls outside the licence above.
Unofficial: built and run by taux.io; not affiliated with, or endorsed by, the Taiwan Stock Exchange or the Taiwan Futures Exchange. This service only proxies and reshapes the data; it makes no warranty as to accuracy, and nothing here is investment advice. Please carry the attribution above when you cite it.