MCP Server
Ask Claude through a local MCP server with 73 typed tools across market data, order-level routes, data quality, and wallet/web3 flows.
Connect Claude to 0xArchive through a local MCP server for tool-based queries instead of copy-pasted requests.
The published server currently exposes 73 typed tools across market data, Pro order-level routes, data-quality monitoring, and wallet/web3 flows.
Install and build
Build the local server once, then register it with the client you use most.
git clone https://github.com/0xArchiveIO/0xarchive-mcp.gitcd 0xarchive-mcpnpm installnpm run buildClaude Code
Register the MCP server with your API key. Replace the path with your actual install location.
claude mcp add 0xarchive -s user -t stdio \ -e OXARCHIVE_API_KEY=0xa_your_api_key \ -- node /absolute/path/to/0xarchive-mcp/build/index.jsClaude Desktop
Add the server to claude_desktop_config.json, then restart Claude Desktop.
{ "mcpServers": { "0xarchive": { "command": "node", "args": ["/absolute/path/to/0xarchive-mcp/build/index.js"], "env": { "OXARCHIVE_API_KEY": "0xa_your_api_key" } } }}Example prompts
Once the server is registered, ask Claude market-data questions like these.
- "What instruments are available on Hyperliquid?"
- "Show me BTC's current orderbook"
- "Show me BTC order flow for the last hour on Hyperliquid"
- "Replay the latest HIP-3 liquidations for km:US500"
- "Get ETH trades from the last hour"
- "Get SOL 4h candles for the past week"
- "What's the current funding rate for BTC?"
- "Are there any data quality issues right now?"
- "Show me the SLA report for January 2026"
- "Is GET /health up right now?"
- "Create a wallet-based API key for 0xabc123... without opening the dashboard"
Available tools
The published build exposes 73 tools across Hyperliquid core, Hyperliquid HIP-3, Lighter.xyz, data quality, and wallet/web3 utilities.
| Venue | Tools |
|---|---|
| Hyperliquid | Instruments, L2/L4 order books, trades, candles, funding, open interest, liquidations, prices, summaries, freshness, order history, order flow, and TP/SL routes |
| HIP-3 | Instruments, order books, trades, candles, funding, open interest, liquidations, prices, summaries, freshness, order history, order flow, and TP/SL routes |
| Lighter.xyz | Instruments, L2/L3 order books, trades, candles, funding, open interest, prices, summaries, and freshness routes |
| Data Quality | GET /health, status, coverage, incidents, latency, and SLA monitoring utilities |
| Wallet / Web3 | SIWE challenge, wallet signup, key listing, key revoke, and x402 subscribe |