Asia Market Data MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Asia Market Data MCP Server
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.
Hosted endpoint (Streamable HTTP):
https://mcp.quantkit.co/mcpDocs: quantkit.co/mcp
Directory listing: Glama
Contact: contact@quantkit.co
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)
Related MCP server: Ashare MCP Server
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-mcpRun 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 transportConnect 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:
Market | Primary | Fallback |
A-share (SH/SZ) | Tencent public quote feed | yfinance |
Hong Kong | Tencent public quote feed | yfinance |
US | yfinance | — |
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
Market | Code | Exchange |
SH | Shanghai Stock Exchange | A-shares |
SZ | Shenzhen Stock Exchange | A-shares |
HK | Hong Kong Stock Exchange | HK stocks |
US | US markets | NYSE, NASDAQ |
Tools
Tool | Description |
| Latest available quote for a single stock (may be delayed) |
| Batch quotes (up to 20 symbols; extra symbols are reported, not silently dropped) |
| Historical daily OHLCV candlestick data ( |
| US, HK and CN open/close status from an unofficial schedule |
| Major 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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
China A-share market data over MCP: 22 tools for quotes, K-line, financials, money flow, top-trader boards, sectors, macro, convertible bonds and factor screening. Five tools need no API key, so you can connect and try it immediately.
China A-share market data for research, backtesting and AI agents via MCP.
Six-market financial data (A/US/HK stocks, crypto, indices, ETFs): symbols, klines, macro.
Access real-time and historical market data for China A-shares and Hong Kong stocks, along with ne…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables querying real-time stock data for A-shares, Hong Kong, and US markets, including search, price details, and market indices via natural language.115 npm6MIT
- FlicenseNot gradedqualityDmaintenanceProvides stock market data (search, quotes, real-time, charts) for A-share, Hong Kong, and US stocks via MCP tools.-
- AlicenseAqualityBmaintenanceReal-time stock quotes, batch quotes, and K-line (candlestick) data for A-share (Shanghai/Shenzhen), Hong Kong, and US markets. Covers 5 tools: stock_quote, stock_quote_batch, kline, market_status, and market_summary.5MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to access real-time quotes, K-line data, technical indicators, sector/futures/options data, and composite stock analysis across A-share, Hong Kong, US, and fund markets through MCP tools, prompts, and resources.140 npmISC