# hanjialeGit

> hanjialeGit is an open-source MCP server for financial data. MCP server giving AI clients access to 46 A-share market data tools from ApocData. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Linux, macOS, Windows
- **Repository:** https://github.com/apocdata/apocdata-mcp-server
- **MCP Registry name:** io.github.hanjialeGit/mcp-server
- **Categories:** [financial data](https://ai-powered.com/categories/financial-data)
- **Listing updated:** 2026-11-21

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `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.

## 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.

## Alternatives

- [洋葱财报OnionData-MCP](https://ai-powered.com/mcp/oniondata-mcp): 洋葱财报OnionData-MCP is a freemium MCP server for financial data.
- [Finance: Stock, ETF & Crypto Data](https://ai-powered.com/mcp/finance-stock-etf-and-crypto-data): Finance: Stock, ETF & Crypto Data is a paid MCP server for finance and payments.
- [Alpha Vantage MCP](https://ai-powered.com/mcp/alpha-vantage-mcp): Alpha Vantage MCP is a freemium MCP server for finance and payments.
- [FinanceQuery](https://ai-powered.com/mcp/financequery): FinanceQuery is an open-source MCP server for finance and payments.
- [Market Pi-Rates](https://ai-powered.com/mcp/market-pi-rates): Market Pi-Rates is a freemium MCP server for finance and payments.
- [Finance MCP](https://ai-powered.com/mcp/finance-mcp-3): Finance MCP is an open-source MCP server for finance and payments.
- [axionquant](https://ai-powered.com/mcp/axionquant-2): axionquant is a freemium MCP server for finance and payments.
- [Akshare One MCP](https://ai-powered.com/mcp/akshare-one-mcp): Akshare One MCP is an open-source MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/hanjialegit
