Skip to main content
Glama

mh-fin-mcp

中文文档

基于 MetricHub Quant 的中国 A 股量化市场数据 MCP 服务器。

功能特性

  • 市场概览:主要指数、涨停/跌停统计、市场广度、北向资金、情绪

  • 行业轮动:申万行业排名,含上涨/下跌比例和涨停数量

  • 板块热点:概念板块分析,含领涨股票

  • 股票数据:5000+ 只 A 股的完整每日数据(OHLCV、PE、PB、市值、资金流向)

  • 股票搜索:按名称或代码搜索

  • 涨停分析:涨停股票的 13 因子量化评分

  • 因子 IC:因子有效性历史

  • 风险预警:股东减持、业绩预警

Related MCP server: QMT MCP Server

快速开始

1. 获取 API Key

quant.metrichub.app 注册,然后前往 API Key 管理 创建密钥。

2. 选择集成方式

方式 A:远程服务器(推荐,零安装)

无需安装。只需将 URL 添加到配置中:

Claude Desktopclaude_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"
      }
    }
  }
}

方式 B:本地安装(通过 PyPI)

pip install mh-fin-mcp

Claude Desktopclaude_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. 重启 Claude 以激活

可用工具

工具

描述

get_trade_dates

列出可用交易日

get_market_overview

市场概览:指数、广度、情绪、北向资金

get_industry_ranking

行业轮动排名(申万行业)

get_sector_hotspots

概念板块热点,含领涨股票

get_stock_list

5000+ 只 A 股的分页股票数据

search_stock

按名称或代码搜索股票

get_limitup_analysis

涨停分析,含 13 个量化因子

get_factor_ic

因子 IC 有效性历史

get_risk_alerts

风险预警(股东减持等)

数据

  • 覆盖全部 5000+ 只 A 股

  • 每个工作日(周一至周五)17:30(北京时间)后更新

  • 涨停评分包含 13 个量化因子

  • 仅提供数据,不构成投资建议

许可证

MIT

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    C
    maintenance
    Provides comprehensive access to Chinese stock market data including real-time quotes, historical prices, financial statements, technical indicators, news, and macroeconomic data for A/B/H shares through multiple data sources.
    30
    46
    MIT
  • A
    license
    Not graded
    quality
    F
    maintenance
    Provides access to Chinese stock market data through the QMT platform, enabling users to query stock details, download historical market data, and analyze stock performance for A-share securities.
    21
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides real-time A-share (Chinese stock market) data through AKShare integration, enabling access to market overviews, company information, real-time quotes, and historical price data for Shanghai and Shenzhen stock exchanges.
    1
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables users to query Chinese A-share stock data, including stock basics, historical prices, financial reports, and macroeconomic indicators.
    1
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/clk1st/mh-fin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server