# QuantSonar MCP server

China A-share market data for research, backtesting and AI agents via MCP.

## Facts

- Endpoint: https://quantsonar.com/mcp (MCP, Streamable HTTP)
- Sign-in: none (open)
- Security grade: A (97/100, scanned 2026-09-06) · report https://gateturbo.com/report/5b32c0cd-ac6e-45aa-9240-070322572adc
- Tools: 45
- Category: Dev tools · source: registry
- Last probed: 2026-09-03 · first listed: 2026-08-08
- Directory page: https://gateturbo.com/mcp/quantsonar · this document: https://gateturbo.com/mcp/quantsonar.md · JSON: https://gateturbo.com/api/directory/servers/quantsonar

## Tools (45)

- `daily`: 日线行情（OHLC）（行情数据） Args: symbol: 证券代码（带后缀），如 000001.SZ start_date: 起始日期 YYYYMMDD end_date: 结束日期 YYYYMMDD trade_date: 单个交易日 YY
- `fundamentals`: 每日指标（PE/PB/换手率/市值）（行情数据） 需要 PRO 及以上套餐（低档位调用返回 403）。 Args: symbol: 证券代码（带后缀），如 000001.SZ start_date: 起始日期 YYYYMMDD end_date: 结束日
- `adj_factor`: 复权因子（行情数据） 需要 PRO 及以上套餐（低档位调用返回 403）。 Args: symbol: 证券代码（带后缀），如 000001.SZ start_date: 起始日期 YYYYMMDD end_date: 结束日期 YYYYMMDD 
- `technical_factors`: 技术面因子（行情数据） 需要 PRO 及以上套餐（低档位调用返回 403）。 Args: symbol: 证券代码（带后缀），如 000001.SZ start_date: 起始日期 YYYYMMDD end_date: 结束日期 YYYYMMDD 
- `technical_factors_pro`: 技术面因子（专业版，含复权价+技术指标）（行情数据） 需要 Expert 及以上套餐（低档位调用返回 403）。 Args: symbol: 证券代码（带后缀），如 000001.SZ start_date: 起始日期 YYYYMMDD end_date
- `margin`: 融资融券明细（行情数据） 需要 PRO 及以上套餐（低档位调用返回 403）。 Args: symbol: 证券代码（带后缀），如 000001.SZ start_date: 起始日期 YYYYMMDD end_date: 结束日期 YYYYMMDD 
- `block_trade`: 大宗交易（行情数据） 需要 PRO 及以上套餐（低档位调用返回 403）。 Args: symbol: 证券代码（带后缀），如 000001.SZ start_date: 起始日期 YYYYMMDD end_date: 结束日期 YYYYMMDD 
- `top_list`: 龙虎榜（个股）（行情数据） 需要 PRO 及以上套餐（低档位调用返回 403）。 Args: symbol: 证券代码（带后缀），如 000001.SZ start_date: 起始日期 YYYYMMDD end_date: 结束日期 YYYYMMDD 
- `top_inst`: 龙虎榜（机构席位）（行情数据） 需要 PRO 及以上套餐（低档位调用返回 403）。 Args: symbol: 证券代码（带后缀），如 000001.SZ start_date: 起始日期 YYYYMMDD end_date: 结束日期 YYYYMMD
- `shareholders`: 股东户数（行情数据） 需要 PRO 及以上套餐（低档位调用返回 403）。 Args: symbol: 证券代码（带后缀），如 000001.SZ start_date: 起始日期 YYYYMMDD end_date: 结束日期 YYYYMMDD 
- `holder_trade`: 重要股东增减持（行情数据） 需要 PRO 及以上套餐（低档位调用返回 403）。 Args: symbol: 证券代码（带后缀），如 000001.SZ start_date: 起始日期 YYYYMMDD end_date: 结束日期 YYYYMMDD 
- `limit_list`: 涨跌停榜单（行情数据） 需要 PRO 及以上套餐（低档位调用返回 403）。 Args: symbol: 证券代码（带后缀），如 000001.SZ start_date: 起始日期 YYYYMMDD end_date: 结束日期 YYYYMMDD 
- `concepts`: 概念/题材板块指数（行情数据） 需要 PRO 及以上套餐（低档位调用返回 403）。 Args: symbol: 代码原样匹配（ETF/板块/外汇/港股等） start_date: 起始日期 YYYYMMDD end_date: 结束日期 YYYYMMD
- `concept_members`: 概念/题材板块成分股（行情数据） 需要 PRO 及以上套餐（低档位调用返回 403）。 Args: symbol: 代码原样匹配（ETF/板块/外汇/港股等） con_symbol: 成分证券代码（带后缀），如 000001.SZ start_date:
- `basic`: ETF 基础信息（ETF） Args: symbol: 代码原样匹配（ETF/板块/外汇/港股等） exchange: 交易所：SSE 上交所 / SZSE 深交所 list_status: 上市状态：L 上市 / D 退市 / P 暂停上市 e
- `etf_daily`: ETF 日线行情（ETF） Args: symbol: 代码原样匹配（ETF/板块/外汇/港股等） start_date: 起始日期 YYYYMMDD end_date: 结束日期 YYYYMMDD trade_date: 单个交易日 YYYYM
- `etf_adj_factor`: ETF 复权因子（ETF） Args: symbol: 代码原样匹配（ETF/板块/外汇/港股等） start_date: 起始日期 YYYYMMDD end_date: 结束日期 YYYYMMDD trade_date: 单个交易日 YYYYM
- `nav`: ETF 净值（ETF） 需要 PRO 及以上套餐（低档位调用返回 403）。 Args: symbol: 代码原样匹配（ETF/板块/外汇/港股等） start_date: 起始日期 YYYYMMDD end_date: 结束日期 YYYYMMDD 
- `portfolio`: ETF 持仓明细（ETF） 需要 PRO 及以上套餐（低档位调用返回 403）。 Args: symbol: 代码原样匹配（ETF/板块/外汇/港股等） con_symbol: 成分证券代码（带后缀），如 000001.SZ start_date: 起始
- `share_size`: ETF 份额与规模（ETF） 需要 PRO 及以上套餐（低档位调用返回 403）。 Args: symbol: 代码原样匹配（ETF/板块/外汇/港股等） start_date: 起始日期 YYYYMMDD end_date: 结束日期 YYYYMMDD
- … 25 more after connecting

## Connect

Two routes. Through gate you get one gateway URL for every server you pick, a sign-in screen that asks which agent you are, allow / ask-me-first / block per action, argument rules, a log of every call, and an off-switch. Direct puts this server's URL straight into the agent's config.

### Through gate (Claude Code shown; any MCP client works the same way)

One gateway URL carries every server you pick.

1. Connect QuantSonar to your gate (https://gateturbo.com/login?next=/discovery?connect=quantsonar).
2. Add gate once to the agent; the sign-in screen asks which agent it is, and its rules follow it everywhere.
3. Every call is logged; allow, ask-me-first or block any action; pause the agent with one click.

```bash
claude mcp add --transport http gate https://gateturbo.com/api/mcp
```

Other agents through gate: Claude → https://gateturbo.com/mcp/quantsonar/claude · Claude Desktop → https://gateturbo.com/mcp/quantsonar/claude-desktop · ChatGPT → https://gateturbo.com/mcp/quantsonar/chatgpt · Codex → https://gateturbo.com/mcp/quantsonar/codex · Cursor → https://gateturbo.com/mcp/quantsonar/cursor · Windsurf → https://gateturbo.com/mcp/quantsonar/windsurf · VS Code → https://gateturbo.com/mcp/quantsonar/vscode · Gemini CLI → https://gateturbo.com/mcp/quantsonar/gemini-cli · OpenClaw → https://gateturbo.com/mcp/quantsonar/openclaw · n8n → https://gateturbo.com/mcp/quantsonar/n8n · A script or server → https://gateturbo.com/mcp/quantsonar/script

### Direct: Claude Code

Add QuantSonar to Claude Code with one command.

1. Run the command in your terminal.
2. Restart Claude Code; the tools appear in every session.
3. No sign-in needed.

```bash
claude mcp add --transport http quantsonar https://quantsonar.com/mcp
```

### Direct: Cursor

Add QuantSonar to Cursor's MCP config.

1. Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
2. Cursor picks it up without a restart.
3. No sign-in needed.

```json
{
  "mcpServers": {
    "quantsonar": {
      "url": "https://quantsonar.com/mcp"
    }
  }
}
```

### Direct: VS Code

Add QuantSonar to VS Code for Copilot agent mode.

1. Add this to .vscode/mcp.json in your workspace (or your user mcp.json).
2. Open the Copilot chat in agent mode; the server starts on demand.
3. No sign-in needed.

```json
{
  "servers": {
    "quantsonar": {
      "type": "http",
      "url": "https://quantsonar.com/mcp"
    }
  }
}
```

### Direct: Codex

Add QuantSonar to Codex.

1. Add this to ~/.codex/config.toml.
2. Start a new Codex session.
3. No sign-in needed.

```toml
[mcp_servers.quantsonar]
url = "https://quantsonar.com/mcp"
```

### Direct: Claude

Add QuantSonar as a custom connector in Claude.

1. Open claude.ai → Settings → Connectors → Add custom connector.
2. Name it "QuantSonar" and paste the URL below.
3. Save; the tools appear in new chats.

```
https://quantsonar.com/mcp
```

### Direct: ChatGPT

Add QuantSonar as a connector in ChatGPT.

1. Open ChatGPT → Settings → Connectors → enable Developer mode under Advanced.
2. Create a connector named "QuantSonar" with the URL below.
3. Set authentication to none.

```
https://quantsonar.com/mcp
```

## For agents reading this

- Search the directory from inside a conversation: add the directory MCP server https://gateturbo.com/api/directory/mcp (no sign-in) and call `search_servers`, `get_server`, `how_to_connect`.
- JSON: https://gateturbo.com/api/directory/search?q=<terms> · https://gateturbo.com/api/directory/servers/<slug>
- How to get access to a human's gateway on your own: https://gateturbo.com/agents.md
- Always keep a human in the loop: gate's sign-in, approvals and off-switch exist so the person stays in control.
