Taiwan Stocks logo

Taiwan Stocks

Queries TWSE and TPEx data for prices, valuations, disclosures, revenue, ownership, margin, and dividend dates.

Install Taiwan Stocks

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "taiwan-stocks": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-taiwan-stocks"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio taiwan-stocks -- npx -y @pipeworx/mcp-taiwan-stocks

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 11 tools correctly ().

Overview

Taiwan Stocks MCP server connects AI agents to open data from the Taiwan Stock Exchange (TWSE) and Taipei Exchange (TPEx). It exposes tools for quotes, security lookup, company details, valuations, market activity, revenue, disclosures, ownership, margin balances, and dividend dates. The service requires no credentials and can run through the Pipeworx gateway or locally over stdio. Reach for it when an agent needs current or recent Taiwan equities data, while noting that some datasets are limited to TWSE main-board files and TPEx access may be unavailable from certain gateway deployments.

Use cases

  • Look up daily prices for TWSE and TPEx securities
  • Compare valuation ratios and dividend yields
  • Track monthly revenue growth by company or industry
  • Review mandatory disclosures and ownership limits
  • Check margin balances and upcoming ex-dividend dates

Key features

  • TWSE and TPEx market data
  • Security lookup by code or name
  • Daily quotes and valuation metrics
  • Monthly revenue and disclosure data
  • Foreign holdings and margin balances
  • Ex-dividend and ex-rights calendar

Tools11

What Taiwan Stocks lets your agent do. Expand a tool for its parameters.

Verified live~1.8k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 68d

What it can do

From the 11 tools this server returned when we ran it; 11 declare their own safety hints.

Makes network requests · 11Read-only tools · 11
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age40 days
Maintainers1

Observed 2026-11-03 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · @pipeworx/mcp-taiwan-stocks (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads567Package downloads in the last 30 days.
Last commit26d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed11Callable tools this server registers over MCP.

How Taiwan Stocks works

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:

config.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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Taiwan Stocks

Taiwan Stocks is an MCP server that connects AI agents to TWSE and TPEx open data. Its main tools provide stock quotes, security search, company profiles, valuations, market summaries, monthly revenue, disclosures, foreign holdings, margin balances, and ex-dividend dates. It requires no API key and runs through a gateway or local stdio.

Run it locally with `npx -y @pipeworx/mcp-taiwan-stocks` and configure the command and arguments in your MCP client. You can also connect to the hosted URL `https://gateway.pipeworx.io/taiwan-stocks/mcp` without installing the package.

Configure either the hosted MCP URL or the local `npx` stdio command in Cursor's MCP settings.

No, authentication is not required.

Yes, quotes, valuations, and margin balances cover both TWSE and TPEx. Other datasets are limited to TWSE main-board files, and TPEx calls can fail when the gateway cannot reach the TPEx source.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTaiwan Stocks AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/taiwan-stocks?style=directory)](https://allmcps.com/mcp/taiwan-stocks)
HTML Embed
<a href="https://allmcps.com/mcp/taiwan-stocks"><img src="https://allmcps.com/api/badge/taiwan-stocks?style=directory" alt="Taiwan Stocks on AllMCPs" /></a>