MetricHub Quant - A股量化数据

io.github.clk1stPublished by GitHub account clk1stv0.1.1Updated Oct 24, 2026

China A-Share quantitative data: 5000+ stocks, 13 factors, daily market & limit-up analysis.

VerifiedSSEWeb executableFinanceData & Analytics

Overview

AI-generated overview

MetricHub Quant gives an assistant China A-share quantitative market data: indices, industry rotation, 5000+ stock daily data, limit-up factor scoring and…

What you can do
  • List available trade dates and pull daily market overview: indices, breadth, sentiment, northbound flow
  • Rank Shenwan industries by rotation and surface concept sector hotspots with leading stocks
  • Search stocks by name or code and page through daily data for 5000+ A-shares (OHLCV, PE, PB, market cap, money flow)
  • Score limit-up stocks with 13 quantitative factors and review factor IC effectiveness history
  • Retrieve risk alerts such as shareholder reductions and performance warnings
When to use it
Useful when you want an assistant to answer questions about China A-share markets, screen or look up individual stocks, follow industry and concept-sector rotation, or examine limit-up and factor data without building your own data pipeline.
Requirements
A MetricHub Quant API key, created after registering at the provider's site. Remote option: connect to the hosted SSE endpoint with the X-API-Key header. Local option: install the mh-fin-mcp package from PyPI (Python, e.g. via uvx) and set MH_FIN_API_KEY. Network access to the provider's API.
Before you install
Requires a secret API key sent either as the X-API-Key header or the MH_FIN_API_KEY environment variable; keep it out of shared configs. Queries and stock lookups go to the third-party MetricHub Quant service. Data is informational only and the provider states it is not investment advice; verify figures before acting on them.

Installation

In SourceWeft

  1. Open MetricHub Quant - A股量化数据 in the dashboard and add it to a workspace.
  2. Connect the required credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via SSE. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.clk1st%2Fmh-fin-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.

{
  "mcpServers": {
    "metrichub-quant-a": {
      "type": "sse",
      "url": "https://api.quant.metrichub.app/mcp/sse"
    }
  }
}

README

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):

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):

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)
bash
pip install mh-fin-mcp

Claude Desktop (claude_desktop_config.json):

json
{  "mcpServers": {    "mh-fin": {      "command": "uvx",      "args": ["mh-fin-mcp"],      "env": {        "MH_FIN_API_KEY": "mhfk_your_key_here"      }    }  }}

Claude Code (.claude/settings.json):

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

ToolDescription
get_trade_datesList available trade dates
get_market_overviewMarket overview: indices, breadth, sentiment, northbound flow
get_industry_rankingIndustry rotation ranking (Shenwan industries)
get_sector_hotspotsConcept sector hotspots with leading stocks
get_stock_listPaginated stock data for 5000+ A-shares
search_stockSearch stocks by name or code
get_limitup_analysisLimit-up analysis with 13 quantitative factors
get_factor_icFactor IC effectiveness history
get_risk_alertsRisk 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

Source: README.md at commit d55affb

Tools

0
This server asks you to sign in, so SourceWeft could not read its tools without an account and has not indexed them. What a connected account sees can depend on that account and its permissions.

Version history

1
  1. v0.1.1LatestSep 16, 2026

Score

75% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.