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.

Interface
Model Context Protocol
Clients
Claude Desktop and Claude Code
For
Research and trading queries

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.

Bash
git clone https://github.com/0xArchiveIO/0xarchive-mcp.git
cd 0xarchive-mcp
npm install
npm run build

Claude Code

Register the MCP server with your API key. Replace the path with your actual install location.

Bash
claude mcp add 0xarchive -s user -t stdio \
-e OXARCHIVE_API_KEY=0xa_your_api_key \
-- node /absolute/path/to/0xarchive-mcp/build/index.js

Then start a new Claude Code session and verify with claude mcp list.

Claude Desktop

Add the server to claude_desktop_config.json, then restart Claude Desktop.

JSON
{
"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.

VenueTools
HyperliquidInstruments, L2/L4 order books, trades, candles, funding, open interest, liquidations, prices, summaries, freshness, order history, order flow, and TP/SL routes
HIP-3Instruments, order books, trades, candles, funding, open interest, liquidations, prices, summaries, freshness, order history, order flow, and TP/SL routes
Lighter.xyzInstruments, L2/L3 order books, trades, candles, funding, open interest, prices, summaries, and freshness routes
Data QualityGET /health, status, coverage, incidents, latency, and SLA monitoring utilities
Wallet / Web3SIWE challenge, wallet signup, key listing, key revoke, and x402 subscribe

GitHub

Source code, full tool reference, and contribution guide.

Get an API key

Create an account and add the API key the server will use.