About Metrichub Quant A股量化数据
Metrichub Quant is an MCP server for China A-share market and quantitative data, intended for users researching stocks and market activity. It includes daily stock data for more than 5,000 shares, market and sector views, risk alerts, and 13-factor limit-up analysis.
Key features
- 01Market indices and breadth overview
- 02Industry rankings and sector hotspots
- 03Daily data for 5,000+ A-shares
- 04Search stocks by name or code
- 0513-factor limit-up analysis
- 06Factor effectiveness and risk alerts
Use cases
- 01Review overall A-share market activity
- 02Find stocks and inspect daily trading data
- 03Compare industry rankings and concept hotspots
- 04Check limit-up factors and risk alerts
MCP support
Exposes China A-share market, stock, sector, factor, and risk data through MCP tools. It can be connected as a remote server or installed locally, and requires an API key.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://api.quant.metrichub.app/mcp/sseclaude mcp add --transport sse clk1st-mh-fin https://api.quant.metrichub.app/mcp/sse{"mcpServers":{"clk1st-mh-fin":{"type":"sse","url":"https://api.quant.metrichub.app/mcp/sse"}}}Open in Cursor{"servers":{"clk1st-mh-fin":{"type":"sse","url":"https://api.quant.metrichub.app/mcp/sse"}}}Open in VS Code{"mcpServers":{"clk1st-mh-fin":{"type":"sse","url":"https://api.quant.metrichub.app/mcp/sse"}}}{"mcpServers":{"clk1st-mh-fin":{"serverUrl":"https://api.quant.metrichub.app/mcp/sse"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
https://api.quant.metrichub.app/mcp/sseAuth requiredTools
Details
From the project READMEmh-fin-mcp
MCP Server for China A-Share quantitative market data, powered by MetricHub Quant.
Features
- Market Overview: Major indices, limit-up/down stats, breadth, northbound flow, sentiment
- Industry Rotation: Shenwan industry ranking with up/down ratio and limit-up counts
- Sector Hotspots: Concept sector analysis with leading stocks
- Stock Data: Full daily data for 5000+ A-shares (OHLCV, PE, PB, market cap, money flow)
- Stock Search: Search by name or code
- Limit-Up Analysis: 13-factor quantitative scoring for limit-up stocks
- Factor IC: Factor effectiveness history
- Risk Alerts: Shareholder reduction, performance warnings
Quick Start
1. Get API Key
Register at quant.metrichub.app, then go to API Key management to create a key.
2. Choose your integration method
Option A: Remote Server (Recommended, zero install)
No installation needed. Just add the URL to your config:
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"mh-fin": {
"url": "https://api.quant.metrichub.app/mcp/sse",
"headers": {
"X-API-Key": "mhfk_your_key_here"
}
}
}
}
Claude Code (.claude/settings.json):
{
"mcpServers": {
"mh-fin": {
"url": "https://api.quant.metrichub.app/mcp/sse",
"headers": {
"X-API-Key": "mhfk_your_key_here"
}
}
}
}
Option B: Local Install (via PyPI)
pip install mh-fin-mcp
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"mh-fin": {
"command": "uvx",
"args": ["mh-fin-mcp"],
"env": {
"MH_FIN_API_KEY": "mhfk_your_key_here"
}
}
}
}
Claude Code (.claude/settings.json):
{
"mcpServers": {
"mh-fin": {
"command": "uvx",
"args": ["mh-fin-mcp"],
"env": {
"MH_FIN_API_KEY": "mhfk_your_key_here"
}
}
}
}
3. Restart Claude to activate
Available Tools
| Tool | Description |
|---|---|
get_trade_dates | List available trade dates |
get_market_overview | Market overview: indices, breadth, sentiment, northbound flow |
get_industry_ranking | Industry rotation ranking (Shenwan industries) |
get_sector_hotspots | Concept sector hotspots with leading stocks |
get_stock_list | Paginated stock data for 5000+ A-shares |
search_stock | Search stocks by name or code |
get_limitup_analysis | Limit-up analysis with 13 quantitative factors |
get_factor_ic | Factor IC effectiveness history |
get_risk_alerts | Risk alerts (shareholder reduction, etc.) |
Data
- Covers all 5000+ A-shares
- Updated daily after 17:30 CST (Mon-Fri)
- 13 quantitative factors for limit-up scoring
- Data only, no investment advice
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.