Back to Browse

Asia Market MCP Server

Developer ToolsModerate5.8MCP RegistryRemote
Free

Server data from the Official MCP Registry

A-share/HK/US data: unofficial, may be delayed, for information only — not financial advice.

About

A-share/HK/US data: unofficial, may be delayed, for information only — not financial advice.

Remote endpoints: streamable-http: https://mcp.quantkit.co/mcp

Security Report

5.8
Moderate5.8Moderate Risk

The server reads public market data from Tencent, yfinance, and an optional local Longbridge CLI without requiring credentials, and it has no exfiltration, shell-injection, or hardcoded-secret patterns. The main concerns are that the optional Longbridge brokerage session is used by default on shared or hosted deployments unless MCP_DISABLE_LONGBRIDGE is set, and that the hosted endpoint logs every caller's symbol queries to disk. Remaining issues are minor quality and input-validation items. Supply chain analysis found 4 known vulnerabilities in dependencies.

9 files analyzed · 10 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

How to Connect

Remote Plugin

No local installation needed. Your AI client connects to the remote endpoint directly.

Add this to your MCP configuration to connect:

{
  "mcpServers": {
    "co-quantkit-asia-market-mcp": {
      "url": "https://mcp.quantkit.co/mcp"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

Asia Market Data MCP Server

Glama MCP server score

Market data for A-share (China), Hong Kong, and US markets via the Model Context Protocol (MCP).

Unofficial, may be delayed, for information only — not financial advice.

It uses free data sources that need no accounts or API keys. Use the hosted endpoint, or run the server yourself.

Features

  • Stock quotes — latest available for A-share, HK, and US markets; may be delayed
  • K-line / candlestick data — daily OHLCV for the last 1, 3, 6 or 12 months
  • Market status — US, HK, and CN session state from a built-in unofficial schedule, with exchange holidays
  • Market summary — major global indices (S&P 500, NASDAQ, Dow, Hang Seng, SSE, CSI 300)
  • Batch quotes — multiple stocks in a single call (up to 20)

Quick Start

Use the hosted endpoint (nothing to install)

Add a remote MCP server with the Streamable HTTP transport:

{
  "mcpServers": {
    "asia-market-data": {
      "type": "http",
      "url": "https://mcp.quantkit.co/mcp"
    }
  }
}

Claude Code: claude mcp add --transport http asia-market-data https://mcp.quantkit.co/mcp. Menus and config keys differ between clients; check your client's documentation.

Run with uvx (no clone needed)

uvx --from git+https://github.com/quantkit-co/asia-market-mcp asia-market-mcp

Run from a clone

git clone https://github.com/quantkit-co/asia-market-mcp
cd asia-market-mcp
pip install .
asia-market-mcp                      # stdio transport (default)
asia-market-mcp --http --port 9100   # streamable-HTTP transport

Connect your MCP client

Claude Desktop / Claude Code / any stdio client:

{
  "mcpServers": {
    "asia-market-data": {
      "command": "asia-market-mcp"
    }
  }
}

HTTP client (your own local server):

{
  "mcpServers": {
    "asia-market-data": {
      "url": "http://127.0.0.1:9100/mcp",
      "transport": "streamable-http"
    }
  }
}

Data Sources & Fallbacks

The server picks an available source per market and falls back automatically. All of them are unofficial for this purpose and their data may be delayed, incomplete, or unavailable:

MarketPrimaryFallback
A-share (SH/SZ)Tencent public quote feedyfinance
Hong KongTencent public quote feedyfinance
USyfinance—

Optional enhancement: if you have the Longbridge CLI installed and configured, it is detected automatically and preferred for US quotes (secondary for HK). Everything works without it — no setup, no keys, no account.

Running a server that other people use? Set MCP_DISABLE_LONGBRIDGE=1. The server then never looks for or calls the Longbridge CLI, so your brokerage login and data entitlement are not used to answer them.

Symbol Format

CODE.MARKET — e.g. 600519.SH, 0700.HK, NVDA.US

MarketCodeExchange
SHShanghai Stock ExchangeA-shares
SZShenzhen Stock ExchangeA-shares
HKHong Kong Stock ExchangeHK stocks
USUS marketsNYSE, NASDAQ

Tools

ToolDescription
stock_quoteLatest available quote for a single stock (may be delayed)
stock_quote_batchBatch quotes (up to 20 symbols; extra symbols are reported, not silently dropped)
klineHistorical daily OHLCV candlestick data (period: 1mo/3mo/6mo/1y, default 3mo)
market_statusUS, HK and CN open/close status from an unofficial schedule
market_summaryMajor global indices summary

Market status schedule

US counts as open 09:30–16:00 New York time (daylight saving included), with pre-market from 04:00 and after-hours to 20:00. HK and CN count as open from 09:30 local time (01:30 UTC) to 16:00 and 15:00. Markets show closed on the exchange holidays built into market_calendar.py (US and HK 2026–2027, CN 2026); US early closes end at 13:00 and HK half days at 12:00. For a year without a calendar the response includes a warning. Lunch breaks and unscheduled closures are not modelled. Check the exchange before relying on it.

Example Usage

> Get the current price of Tencent
→ stock_quote(symbol="0700.HK")

> Show me the last 3 months of K-line data for Moutai
→ kline(symbol="600519.SH", period="3mo")

> What markets are open right now?
→ market_status()

Development

git clone https://github.com/quantkit-co/asia-market-mcp
cd asia-market-mcp
pip install -e ".[dev]"
pytest                 # offline unit tests (no network, no Longbridge needed)
python test_matrix.py  # live checks against a running server (optional)

CI runs the offline test suite on Python 3.10 and 3.12 for every push and PR.

Disclaimer

Market data returned by this server is unofficial, may be delayed, and is for information only. Nothing here is financial advice. Check the terms of each data source before relying on or redistributing its data.

License

MIT — see LICENSE. Maintained by QuantKit. The licence covers the server code, not the market data.

Reviews

No reviews yet

Be the first to review this server!