ApocData
MCP server giving AI clients access to 46 A-share China stock market data tools
ApocData is a freemium MCP server for stock market data. It runs locally on your machine and is started by your AI client.
- Pricing
- Freemium
- Platforms
- CLI, API, Linux
- Runs
- Locally
- Version
- 0.1.5
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add mcp-server -- npx -y @apocdata-info/mcp-serverAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@apocdata-info/mcp-server"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@apocdata-info/mcp-server"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@apocdata-info/mcp-server"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@apocdata-info/mcp-server"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add mcp-server -- npx -y @apocdata-info/mcp-serverOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.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"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@apocdata-info/mcp-server" ] } } }Or run: gemini mcp add -s user mcp-server npx -- -y @apocdata-info/mcp-server
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@apocdata-info/mcp-server" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@apocdata-info/mcp-server" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@apocdata-info/mcp-server" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mcp-server": { "command": "npx", "args": [ "-y", "@apocdata-info/mcp-server" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@apocdata-info/mcp-server" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@apocdata-info/mcp-server" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@apocdata-info/mcp-server" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About ApocData
This server wraps the ApocData market data platform for Chinese A-shares as a set of 46 Model Context Protocol tools. Once connected, an assistant can pull quotes, daily bars, valuation and financial statements, shareholder records, money flow, limit-up and limit-down lists, sector and concept boards, announcements, convertible bonds, factor scores, macro indicators and an economic calendar.
It runs locally over stdio and is launched with npx or a global npm install, then added to clients such as Claude Desktop, Cursor, Cline or Continue. Requests go to the vendor's hosted API, and the server passes through rate-limit, truncation and error headers so the assistant can see quota and cache behaviour. Base URL, timeout and retry settings can be changed through environment variables, and a private deployment address is supported.
The server suits analysts, quant researchers and developers who want an assistant to answer questions about A-share data without writing their own API integration. Basic access requires no registration, while the README notes that signing up unlocks higher quotas and more data.
Tools this server provides (10)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 10 tools reads data; 9 names don't say.
From the server's own tool labels and tool names; not verified by us.
- quote
- Real-time quote for a symbol
- daily
- Daily price bars for a symbol
- ranking
- Gainers, losers and other rankings
- financial
- Financial statement data
- holders
- Shareholder records
- moneyflow
- Money flow data
- limit-listName suggests: reads
- Limit-up and limit-down stock lists
- macro-latest
- Latest macroeconomic indicator value
- profile-full
- Comprehensive stock profile
- calendar
- Economic calendar events
What it does
- 46 market data tools
- Covers quotes, rankings, financials, shareholders, money flow, sectors, bonds, factors and macro data in one server.
- Stdio transport setup
- Runs as a local process started through npx, so most MCP clients can connect with a short JSON config entry.
- Compact columnar output
- An optional compact format returns column-based results to reduce token use on large datasets.
- Field trimming and row limits
- Supports field selection on large endpoints and caps row limits at 50, reporting truncation in response headers.
- Built-in usage guides
- Exposes markdown resources with a usage guide, scenario mappings and a limits reference for assistants.
- Configurable timeouts and retries
- Request timeout and retry count for server errors are adjustable through environment variables.
Good for
- Ask an assistant for recent price history or rankings for specific A-share stocks
- Build a company profile combining valuation, financials and shareholder data
- Track northbound and margin money flows alongside limit-up and limit-down lists
- Pull macro indicators such as CPI and the latest economic calendar events
- Prototype quantitative research workflows that call China market data from an agent
Pricing
Freemium
Basic calls free without registration; registration unlocks higher quotas
ApocData FAQ
Do I need an account to use ApocData?
The README says basic calls work without registration, and that signing up unlocks higher quotas and more data capabilities.
How do I install ApocData?
Add an entry to your MCP client config that runs npx -y @apocdata-info/mcp-server, or install the package globally with npm and run apocdata-mcp.
What happens when I request too many rows?
Row limits are capped at 50, and anything above that is silently truncated; the X-Tdc-Truncated response header flags it.
Can I point ApocData at a private deployment?
Yes, the APOCDATA_BASE_URL environment variable can be set to an intranet or private API address.
Is ApocData free?
ApocData has a free plan, with paid plans for more usage or features.
How do I add ApocData 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 ApocData?
The closest alternatives to ApocData are hanjialeGit, China Market Intelligence MCP, AkTools Pro MCP Server, Tickerbot and laogu-mcp.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.
