# 27dream/mcp-eastmoney [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/27dream/mcp-eastmoney  
**GitHub Stars:** 9  
**Views:** 14  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/27dream-mcp-eastmoney

## Description
China A-share stock market MCP server — real-time quotes, main capital flow ranking, sector fund flow, and historical K-lines via Eastmoney's free APIs. Zero config, no API keys required. 5 tools: getstockquote, searchstock, mainfundrank, sectorfundflow, getkline. Install: uvx mcp-eastmoney or pip install mcp-eastmoney.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "mcp-eastmoney": {
    "command": "uvx",
    "args": ["mcp-eastmoney"]
  }
}
```

## Documentation

## What 27dream/mcp-eastmoney MCP server does

The 27dream/mcp-eastmoney MCP server connects MCP-compatible AI clients to public Eastmoney endpoints for China’s A-share market. Its coverage includes the Shanghai, Shenzhen, and Beijing exchanges, with structured Chinese-language market fields.

Five tools cover the repository’s stated use cases:

- `get_stock_quote` returns a stock’s price, change, volume, price-to-earnings ratio, turnover rate, and related quote fields.
- `search_stock` finds securities by Chinese keyword, pinyin, or stock code.
- `main_fund_rank` ranks stocks by main capital net inflow and separates super-large, large, medium, and small orders.
- `sector_fund_flow` reports capital movement for industry or concept sectors and includes leading stocks.
- `get_kline` retrieves forward-adjusted historical OHLCV data for daily, weekly, or monthly periods.

These tools suit prompts that combine a company lookup with capital-flow analysis or compare sectors by fund movement. The repository describes the data as intended for research reference, not investment advice.

## How it works

The package communicates with Eastmoney’s free public delayed-quote interface, identified in the README as `push2delay.eastmoney.com`. It runs as a local MCP process and exposes the five functions to a connected client. Requests can use stock codes such as `300750` or `600519`, while search can resolve a name or other supported identifier before a quote or K-line request.

The market data is delayed by about 15 minutes rather than being a live exchange feed. Returned values can include numeric quote fields and formatted amounts, and the tools provide Chinese market terminology for A-share workflows. Request frequency should be controlled because the upstream interface is publicly provided.

## Setup and configuration

The 27dream/mcp-eastmoney MCP server requires no API key and is described as zero-configuration. Python 3.10 or newer is indicated by the project metadata. The recommended launch command is:

```bash
uvx mcp-eastmoney
```

An alternative is to install the package with pip and then start its executable:

```bash
pip install mcp-eastmoney
mcp-eastmoney
```

For Claude Desktop, add a server entry whose command is `uvx` and whose argument is `mcp-eastmoney`. The README also provides the same MCP configuration pattern for Cursor. After restarting the client, the five tools should be available. The project states compatibility with Claude Desktop, Cursor, Cline, Continue, and MCP clients generally.

## Tools and capabilities

Use `get_stock_quote` for individual quote fields such as open, high, low, previous close, turnover, and PE. Use `search_stock` when the user supplies a Chinese name, pinyin, or code rather than a confirmed ticker. `main_fund_rank` supports market-wide or specified-market ranking with a result limit, while `sector_fund_flow` accepts industry or concept grouping and a limit. `get_kline` accepts a stock code, a daily/weekly/monthly period, and a requested count.

## Limitations and notes

The upstream data is delayed and should not be treated as real-time trading data. The README explicitly states that the output is not financial advice. Planned items such as financial statements, Northbound or overseas markets, and technical indicators are not listed as current tools, so they should not be assumed to be supported. The repository is licensed under MIT.

_Full upstream README: https://allmcps.com/mcp/27dream-mcp-eastmoney/readme_

