Connect TWSE (Taiwan Stock Exchange) to Codex

Query TWSE (Taiwan Stock Exchange) directly from Codex. Arlet links the two through one MCP connection and takes care of API keys.

This server connects your AI client to the Taiwan Stock Exchange's OpenAPI. Taiwan sits at the center of the global semiconductor supply chain, and its listed companies file a disclosure that exists almost nowhere else: monthly revenue, published around the 10th of the following month. TSMC's monthly number is watched worldwide as a real-time read on AI and chip demand.

Key features:

  • list_companies: search TWSE-listed companies by Chinese/English name, 4-digit stock code (2330 = TSMC) or unified business number. The unified business number joins directly with Taiwan's GCIS company registry server.
  • get_monthly_revenue: the latest monthly revenue with month-over-month, year-over-year and year-to-date changes, filterable by company or by industry (e.g. 半導體業, sorted by revenue) - so 'how did Taiwan's semiconductor sector do last month' is one call.
  • get_quarterly_financials: the latest quarterly income statement (revenue, gross profit, operating income, net income, basic EPS) for general-industry companies.

Dates and fiscal years arrive in the ROC (Minguo) calendar; this server converts them to the Gregorian calendar so 11506 comes back as 2026-06. Amounts are in thousand New Taiwan Dollars.

No API key is needed. Pair with the OpenDART server (Korea) and SEC EDGAR (US) to cover the semiconductor disclosure triangle.

How to connect TWSE (Taiwan Stock Exchange) to Codex

  1. 1

    In the Arlet dashboard, open Data tools, find TWSE (Taiwan Stock Exchange) and switch it on. No API key setup is needed.

  2. 2

    In your terminal, run codex mcp add arlet --url https://mcp.arlet.dev/mcp/ to add Arlet as an MCP server.

  3. 3

    Codex detects OAuth support and opens your browser. Sign in with Google and click Allow on the consent screen.

  4. 4

    Once connected, both the CLI and the IDE extension can call Arlet tools (the configuration is shared).

If the browser does not open, run codex mcp login arlet to redo the authentication.

Use TWSE (Taiwan Stock Exchange) with other AI clients