MetricHub Quant - A股量化数据
China A-Share quantitative data: 5000+ stocks, 13 factors, daily market & limit-up analysis.
What can you do with MetricHub Quant - A股量化数据?
- 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
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
claude mcp add --transport sse metrichub-quant-a 'https://api.quant.metrichub.app/mcp/sse' --header 'X-API-Key: <API key from https://quant.metrichub.app/api-keys>'
{
"mcpServers": {
"metrichub-quant-a": {
"type": "sse",
"url": "https://api.quant.metrichub.app/mcp/sse",
"headers": {
"X-API-Key": "<API key from https://quant.metrichub.app/api-keys>"
}
}
}
}
mh-fin-mcpclaude mcp add metrichub-quant-a -e 'MH_FIN_API_KEY=<your mh_fin_api_key>' -- uvx mh-fin-mcp==0.1.1
{
"mcpServers": {
"metrichub-quant-a": {
"command": "uvx",
"args": [
"mh-fin-mcp==0.1.1"
],
"env": {
"MH_FIN_API_KEY": "<your mh_fin_api_key>"
}
}
}
}
Environment variables
MH_FIN_API_KEYrequired secret API key from https://quant.metrichub.app/api-keys
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
mh-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
Frequently asked questions
What is MetricHub Quant - A股量化数据?
China A-Share quantitative data: 5000+ stocks, 13 factors, daily market & limit-up analysis.
How do I install MetricHub Quant - A股量化数据?
It runs as a remote server. In Claude Code: claude mcp add --transport sse metrichub-quant-a 'https://api.quant.metrichub.app/mcp/sse' --header 'X-API-Key: <API key from https://quant.metrichub.app/api-keys>'. For other clients, paste the JSON configuration from this page into their MCP settings.
Does MetricHub Quant - A股量化数据 need an API key?
Yes. It expects MH_FIN_API_KEY, X-API-Key, which you set in its configuration.
Is MetricHub Quant - A股量化数据 open source?
Its code is public on GitHub, but the repository does not declare a standard license.
Who maintains MetricHub Quant - A股量化数据?
It is published by clk1st. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.