Skip to main content
Glama

mh-fin-mcp

中文文档

中国A株の定量市場データのためのMCPサーバー。MetricHub Quant を搭載。

特徴

  • 市場概要: 主要指数、ストップ高/安統計、騰落、北向資金フロー、センチメント

  • 業種ローテーション: 申万業種ランキング(騰落比率とストップ高数付き)

  • セクターホットスポット: リーディング銘柄を含むコンセプトセクター分析

  • 銘柄データ: 5000以上のA株の完全な日次データ(OHLCV、PE、PB、時価総額、資金フロー)

  • 銘柄検索: 名前またはコードで検索

  • ストップ高分析: ストップ高銘柄の13因子定量スコアリング

  • ファクターIC: ファクター有効性の履歴

  • リスクアラート: 株主減持、業績警告

Related MCP server: a-share-mcp

クイックスタート

1. APIキーを取得

quant.metrichub.app に登録し、APIキー管理 に移動してキーを作成します。

2. 統合方法を選択

オプションA: リモートサーバー(推奨、インストール不要)

インストールは不要です。設定にURLを追加するだけです:

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

オプションB: ローカルインストール(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. 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 CST以降に更新(月〜金)

  • ストップ高スコアリングのための13の定量ファクター

  • データのみで、投資アドバイスは提供しません

ライセンス

MIT

Related MCP Connectors

Related MCP Servers

  • 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
    Enables users to query Chinese A-share stock data, including stock basics, historical prices, financial reports, and macroeconomic indicators.
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables querying Chinese A-share and index financial data, including real-time quotes, historical bars, and index snapshots, with built-in fallback for unstable endpoints.
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    Provides A-share (Chinese stock market) quantitative analysis through tools for stock screening, northbound capital flow tracking, dragon-tiger list analysis, margin trading, sector analysis, technical indicators, IPO info, and limit-up/down statistics using akshare data.
    11
    2
    MIT