Claude-specific MCP setup needs a tighter path than the generic MCP overview: where to connect, what tools appear, and how to keep API keys out of chat. The 0xArchive MCP Server is theDocumentation Index
Fetch the complete documentation index at: https://docs.0xarchive.io/llms.txt
Use this file to discover all available pages before exploring further.
@0xarchive/mcp-server package. It runs locally over stdio, uses OXARCHIVE_API_KEY, and exposes typed 0xArchive market-data tools to MCP-capable hosts. Claude Code is a host that can consume MCP servers when configured.
Claude Code Recipe
Store the API key
Keep the key in the shell, host secret store, or local environment used by Claude Code.
What Claude Should Know
| Rule | Why |
|---|---|
| MCP is a tool surface, not the agent | Prevents setup language from treating the server as the host |
| OpenAPI remains route map | Prevents invented endpoint names |
| Venue family comes first | Prevents core, Spot, HIP-3, HIP-4, and Lighter mixups |
| Data-quality checks gate downstream jobs | Prevents stale data from entering backtests, alerts, exports, or models |
| Request IDs should be preserved | Makes failures supportable and auditable |
Claude MCP Task Packet
After the server is configured, give Claude a narrow tool-calling packet.| Field | Example |
|---|---|
| Venue family | Hyperliquid core, Spot, HIP-3, HIP-4, or Lighter |
| Symbol and window | BTC for the last hour, km:US500 for one bounded HIP-3 request, or HYPE-USDC Spot |
| Tool goal | Summary, candles, funding, freshness, coverage, incidents, or route validation |
| Quality rule | Include request ID, freshness state, coverage, or incident context when available |
| Stop rule | Ask before account/key/payment tools, exports, broad loops, or unsupported venues |
Use Another Surface When
Use CLI if the job is a shell command or CI task. Use Skill if the Claude environment is using localSKILL.md workflows instead of MCP tools. Use OpenAPI and SDKs if the goal is generated application code. Use REST API when you need raw HTTP behavior.