# ApocData MCP server

> Provides 46 A-share market data tools including quotes, financials, money flow, and macro indicators for AI clients.

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

## Install

### Claude Code

```sh
claude mcp add mcp-server -- npx -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"
      ]
    }
  }
}
```

### VS Code CLI

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

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

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

### Codex

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

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

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

### Gemini CLI

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

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

```json
{
  "mcpServers": {
    "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

### Do I need to register to use the data?

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

### What are the rate limits for the API?

The server is limited to 60 requests per minute per IP, and remaining quota is passed through the X-Tdc-RateLimit-Remaining header.
