# Taiwan Stocks [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/pipeworx-io/mcp-taiwan-stocks  
**GitHub Stars:** 0  
**npm Downloads (last month):** 567  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/taiwan-stocks

## Description
Taiwan equities MCP. Keyless.

## Tools
Capabilities this server exposes over MCP:

- **taiwan_stock_quote** — Daily close, open, high, low, change, share volume and TWD turnover for Taiwan-listed stocks and ETFs, from the Taiwan Stock Exchange (TWSE, 上市) and Taipei Exchange (TPEx, 上櫃) open data. Accepts the numeric code (2330), the exchange English abbreviation (TSMC) or the Chinese name (台積電). Answers "what did TSMC close at", "price of 2317", "how did Taiwanese stocks trade today".
- **taiwan_search_securities** — Find a Taiwan-listed security by company name, English abbreviation or numeric code across both the TWSE main board and the TPEx OTC board. Returns code, Chinese name, English abbreviation, market and sector — the lookup that turns "Foxconn" or "鴻海" into 2317 before pricing it.
- **taiwan_company_profile** — Corporate profile of a TWSE-listed Taiwanese company from the exchange company master: English abbreviation, sector, chairman and president, incorporation and listing dates, paid-in capital, shares outstanding, registered address, auditor and website. Answers "who runs Foxconn", "when did TSMC list", "how many shares does 2330 have outstanding".
- **taiwan_market_summary** — Daily level and change of the TAIEX (發行量加權股價指數, the Taiwan Stock Exchange benchmark) and the TPEx OTC index, with total market turnover, share volume and transaction count per session. Answers "where did the TAIEX close", "how is the Taiwan stock market doing", "Taiwan market turnover this week".
- **taiwan_stock_valuation** — Price-to-earnings ratio, dividend yield and price-to-book for Taiwan-listed shares, as published daily by TWSE and TPEx. Answers "what is TSMC trading at in P/E terms", "dividend yield on 2412", "is 2330 expensive".
- **taiwan_monthly_revenue** — Monthly sales (月營收) reported by TWSE-listed companies: the month's revenue with month-on-month and year-on-year change, plus year-to-date totals. Taiwan mandates this disclosure by the 10th of the following month, so it is the earliest read on semiconductor and electronics demand anywhere. Pass a company for its own filing, or a sector to rank companies by revenue growth.
- **taiwan_material_news** — Mandatory same-day corporate disclosures (重大訊息) filed by TWSE-listed companies: board resolutions, mergers and acquisitions, large asset transactions, litigation, capital raises, name changes. Returns the filing company, timestamp, subject line and full statement text. Answers "what did Taiwanese companies announce today", "any TSMC announcements".
- **taiwan_top_traded** — The twenty most heavily traded securities on the Taiwan Stock Exchange in the latest session, ranked by share volume, with each one's open, high, low, close and transaction count. Answers "what is being traded most in Taiwan", "most active Taiwanese stocks today".
- **taiwan_foreign_holdings** — How much of the Taiwan stock market foreign and mainland-China investors own, from the TWSE QFII register — either the securities with the highest overseas ownership and their remaining headroom under the statutory ceiling, or ownership share broken down by sector. Answers "how much of TSMC do foreigners own", "foreign ownership of Taiwanese banks".
- **taiwan_margin_balance** — Margin financing (融資) and short-sale (融券) balances for a Taiwan-listed stock, with the day's buys, sells, covering and the exchange quota. Rising margin balance means leveraged retail buying; rising short balance against a flat price is the classic squeeze setup. Answers "margin balance on 2330", "how heavily shorted is this Taiwanese stock".
- **taiwan_ex_dividend_calendar** — Announced ex-dividend and ex-rights dates for TWSE-listed securities, with the cash dividend per share, stock dividend ratio and any subscription terms. Answers "when does 2330 go ex-dividend", "which Taiwanese stocks go ex-dividend this month", "what is the dividend on 2412".

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "taiwan-stocks": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-taiwan-stocks"]
  }
}
```

## Documentation

## What the Taiwan Stocks MCP server does

The Taiwan Stocks MCP server gives AI agents structured access to public market data for securities listed on TWSE and TPEx. It can retrieve daily open, high, low, close, price change, volume, and TWD turnover; resolve a security from a code, English abbreviation, or Chinese company name; and return company information such as sector, executives, incorporation date, listing date, capital, shares, auditor, and website.

It also covers daily valuation measures, including price-to-earnings ratio, dividend yield, and price-to-book ratio. Market-level queries provide TAIEX and TPEx index levels together with turnover, volume, and transaction counts. Other tools expose monthly revenue and growth rates, mandatory disclosures, heavily traded TWSE securities, foreign and mainland-China ownership, margin financing and short-sale balances, and announced ex-dividend or ex-rights dates.

## How it works

The Taiwan Stocks MCP server reads open datasets published by TWSE and TPEx. It accepts numeric codes such as `2330`, `2330.TW`, and `6488`, as well as exchange abbreviations and Chinese names. Codes are accepted directly, which also supports instruments such as ETFs and warrants that may not appear in the company master.

The hosted endpoint is available at `https://gateway.pipeworx.io/taiwan-stocks/mcp`. A full Pipeworx gateway connection can also reach these tools through its broader catalog. The package additionally runs as a local stdio server with `npx -y @pipeworx/mcp-taiwan-stocks`, exposing only the Taiwan equities tools rather than the gateway's shared meta-tools. Direct HTTP tool calls are available through the gateway's `/v1/tools/` path.

Most exchange data is published after the 13:30 Taipei close, so queries made earlier may show the previous trading session. The implementation normalizes different date formats used by the two exchanges and trims whitespace from source JSON keys. Whole-market files are fetched and cached in-process for five minutes rather than queried through per-symbol exchange endpoints.

## Setup and configuration

No API key, account, or environment variable is required. For an MCP client, configure the hosted URL as a remote server or run the package locally with a command such as:

```json
{
  "mcpServers": {
    "taiwan-stocks": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-taiwan-stocks"]
    }
  }
}
```

The hosted configuration uses `https://gateway.pipeworx.io/taiwan-stocks/mcp` as its `url` instead. The README names Claude Desktop, Cursor, and Windsurf as client options. HTTP users can call a tool with a JSON POST request and do not need an MCP client.

## Tools and capabilities

Available pack tools include:

- `taiwan_stock_quote` for daily prices and trading activity across both boards.
- `taiwan_search_securities` for resolving names, abbreviations, and codes.
- `taiwan_company_profile` for TWSE main-board company metadata.
- `taiwan_market_summary` and `taiwan_top_traded` for index and market activity.
- `taiwan_stock_valuation` for daily P/E, yield, and price-to-book data.
- `taiwan_monthly_revenue` for company or industry revenue trends.
- `taiwan_material_news` for same-day mandatory disclosures.
- `taiwan_foreign_holdings` for ownership and statutory headroom.
- `taiwan_margin_balance` for margin financing and short-sale balances.
- `taiwan_ex_dividend_calendar` for cash and stock distribution dates.

## Limitations and notes

Quotes, valuations, and margin balances cover both exchanges. Company profiles, monthly revenue, disclosures, foreign holdings, and ex-dividend data come from TWSE main-board files; a TPEx security may therefore return `found: false` with an explanation for those queries.

TPEx access can fail from the deployed gateway because of an egress or Cloudflare response. When that happens, TWSE results can remain available with a `tpex_unavailable` indicator, while an OTC request can return a `tpex_unreachable` reason. This distinguishes an unreachable source from a security that does not exist.

Monthly revenue is expressed in thousands of TWD. Margin balances use lots of 1,000 shares. The gateway endpoint also lists shared Pipeworx meta-tools in addition to the pack's own tools; the local stdio package does not include those shared tools.

_Full upstream README: https://allmcps.com/mcp/taiwan-stocks/readme_

