MetricHub Quant MCP Server

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

Local serverstdioGo

What is the MetricHub Quant MCP server?

MetricHub Quant MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. China A-Share quantitative data: 5000+ stocks, 13 factors, daily market & limit-up analysis.

What you get

MCP Server for China A-Share quantitative market data, powered by MetricHub Quant.

  • 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

What the assistant can call

Once MetricHub Quant is connected, these are the calls the assistant has available:

  • 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.)

Configuration and credentials

You will need one environment variable: MH_FIN_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Setting it up

Installation goes through your MCP client rather than a global install: point it at mh-fin-mcp on PyPI and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Choosing this one

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. MetricHub Quant's toolset — get_trade_dates, get_market_overview, get_industry_ranking and 6 more — is a fair guide to whether it matches your workflow. It is maintained by clk1st; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against MetricHub Quant's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 9 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch MetricHub Quant.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the metrichub quant mcp server does with a few real requests.

Available tools

ToolWhat it does
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.)

How to install the MetricHub Quant MCP server

{
  "mcpServers": {
    "mh-fin": {
      "url": "https://api.quant.metrichub.app/mcp/sse",
      "headers": {
        "X-API-Key": "mhfk_your_key_here"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
MH_FIN_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use MetricHub Quant to get trade dates.
  • Use MetricHub Quant to get market overview.
  • Use MetricHub Quant to get industry ranking.

Frequently asked questions

It connects MetricHub Quant to MCP-compatible AI assistants such as Claude and Cursor, exposing 9 tools (get_trade_dates, get_market_overview, get_industry_ranking, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MetricHub Quant directly.