# ApocData MCP server

> Provides 46 A-share market data tools including quotes, financial reports, fund flows, and macro indicators for AI clients.

- Repository: https://github.com/ApocData/ApocData-mcp-server
- Page: https://hostedmcp.org/servers/apocdata/apocdata-mcp-server
- Transport: stdio
- Stars: 2
- License: Apache-2.0
- Latest version: 0.1.5

## Install

### Claude Code

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

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

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

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

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

### VS Code CLI

```sh
code --add-mcp '{"name":"apocdata-mcp-server","type":"stdio","command":"npx","args":["-y","@apocdata-info/mcp-server"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

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

### Codex

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

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.apocdata-mcp-server]
command = "npx"
args = ["-y", "@apocdata-info/mcp-server"]
```

### Gemini CLI

```sh
gemini mcp add -s user apocdata-mcp-server npx -- -y @apocdata-info/mcp-server
```

### Gemini settings.json (`~/.gemini/settings.json`)

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

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `APOCDATA_BASE_URL` | no | no |  |
| `APOCDATA_DEBUG` | no | no |  |

## FAQ

### Does this server require registration to use?

No, you can use the 46 free endpoints without registration, though registering unlocks higher quotas and more data capabilities.

### What kind of data does it cover?

The server covers 46 tools including market quotes, valuation, financials, shareholders, fund flows, sectors, announcements, and macro data.

### Is there a rate limit for the API?

Yes, there is a single IP rate limit of 60 requests per minute.
