Skip to content
MCP server

hanjialeGit

MCP server giving AI clients access to 46 A-share market data tools from ApocData

Runs locally
Install

hanjialeGit is an open-source MCP server for financial data. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, API, Linux
Runs
Locally
Version
0.1.3
Listing updated

Similar MCP servers

Install

Run in a terminal

claude mcp add mcp-server -- npx -y @apocdata-info/mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@apocdata-info/mcp-server"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@apocdata-info/mcp-server"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@apocdata-info/mcp-server"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@apocdata-info/mcp-server"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@apocdata-info/mcp-server"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

About hanjialeGit

The README says this MCP server wraps 46 China A-share data endpoints as tools that any stdio-based MCP client can call. Coverage spans quotes and valuation, financial statements, shareholder records, capital flows, limit-up and limit-down lists, sector and concept boards, announcements, convertible bonds, factors, macro indicators and a trading calendar.

Setup is done by adding an npx command to the client configuration, or by installing the npm package globally and running the apocdata-mcp command. The README gives examples for Claude Desktop, Cursor, Cline and Continue. Debug logging, a custom base URL for private deployments, and configurable timeouts and retries are documented as environment settings.

The README notes that calls work without registration, while signing up raises the quota and unlocks more data. It also describes rate limits of 60 requests per minute per IP, response headers for remaining quota and truncation, and a limit cap of 50 that truncates silently when exceeded. It is aimed at developers and analysts who want an AI assistant to query Chinese equity data directly.

Tools this server provides (6)

Taken from the project documentation; the running server may differ.

quote
Real-time quote for a single symbol.
daily
Daily price history for a symbol.
ranking
Ranking list such as gainers, with an enum type parameter.
financial
Financial statement data for a company.
macro-latest
Latest reading for a macro indicator such as CPI.
profile-full
Comprehensive company profile.

What it does

46 A-share data tools
Exposes quotes, financials, capital flows, limit lists, boards and macro data as individual MCP tools.
Stdio transport setup
Runs over stdio and can be launched with npx without a separate install step.
Compact columnar output
An optional compact format returns columnar data to reduce token use on large results.
Field trimming and limits
Some endpoints accept a fields parameter to trim output, and limit values are capped at 50.
Built-in resource guides
Ships three markdown resources covering usage guidance, scenario mappings and parameter limits.
Retry and timeout controls
Retries 5xx and network errors with exponential backoff and supports a configurable request timeout.

Good for

  • Asking an AI assistant for recent daily price history of a specific A-share stock
  • Pulling the top gainers or losers list for a trading day
  • Compiling a combined company profile with valuation and financial data
  • Retrieving the latest China CPI or other macro indicator readings
  • Tracking northbound capital flows and dragon-tiger list activity

Pricing

Open source

Apache-2.0 licensed MCP server; the underlying data service offers a free trial quota and optional registration.

hanjialeGit FAQ

Does hanjialeGit require an API key to start?

The README says calls can be made without registration, and registering unlocks higher quotas and more data capabilities.

How is hanjialeGit installed?

The README recommends adding an npx command to the MCP client configuration; a global npm install with the apocdata-mcp command is also described.

Which clients are mentioned as supported?

The README gives configuration examples for Claude Desktop, Cursor, Cline and Continue, and says any stdio MCP client can be used.

What is the rate limit?

The README states a limit of 60 requests per minute per IP address.

Is hanjialeGit free?

Yes. hanjialeGit is open source, so you can use and self-host it for free.

How do I add hanjialeGit to Claude Code?

Run this command in your terminal: claude mcp add mcp-server -- npx -y @apocdata-info/mcp-server

What are the best alternatives to hanjialeGit?

The closest alternatives to hanjialeGit are 洋葱财报OnionData-MCP, Finance: Stock, ETF & Crypto Data, Alpha Vantage MCP, FinanceQuery and Market Pi-Rates.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers