AI Clients

Use the Claude Code skill for the fastest setup. Use MCP when you want typed tools or shared client config.

Fastest
Claude Code skill
Structured
MCP
Separate topic
Wallet automation

Two good setups: the Claude Code skill if you want the quickest result, and MCP if you want typed tools or shared client config.

OpenClaw is an installer for the skill. Wallet automation lives elsewhere because key lifecycle and billing are separate jobs.

Pick a client setup

Choose by client shape and maintenance cost.

Fastest setup

Claude Code skill

Fastest way to get 0xArchive into Claude Code.

Best for
Claude Code is the only client and you want the shortest setup.
Do not use if
You need the same typed tools across Claude Desktop, Cursor, or another MCP-capable client.
Time to first result
2–5 minutes
First command
openclaw install 0xarchive
Jump to Claude Code

Shared tools

MCP

Typed tools and shared client config.

Best for
Typed tools, repeated use, or one local server shared across clients.
Do not use if
Claude Code is the only target and you do not want to build or manage a local server process.
Time to first result
5–10 minutes
First command
npm run build
Jump to MCP

Get to the first answer

Install, expose the key, run one live query, and keep the simpler setup unless it stops fitting.

Claude Code skill

Fastest route from API key to answer inside Claude Code.

  1. 1
    You

    Install the skill

    OpenClaw is the quick install. Plugin and standalone options are there when you want repo-backed or raw-file control.

    openclaw install 0xarchive

  2. 2
    You

    Expose the API key locally

    Set the same API key Claude Code will use so the skill can call live routes directly.

    export OXARCHIVE_API_KEY=0xa_your_api_key

  3. 3
    Claude Code

    Run one live query

    Start with one narrow market question so auth and transport are obvious.

    /0xarchive:query BTC funding rate

  4. 4
    0xArchive

    Check the first result

    You want real venue data or a direct auth/config error. If the answer is vague, fix setup first.

    Expect current or recent market data, or a direct configuration error you can act on.

  5. 5
    You

    Keep the simpler setup unless it stops fitting

    Stay on the skill unless typed tools or shared client config genuinely help. Use wallet automation when code has to mint or rotate keys itself.

MCP

Best when you want typed tools or one config shared across clients.

  1. 1
    You

    Clone and build the MCP server

    Build the server locally once so the client can call the typed 0xArchive tools.

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

  2. 2
    MCP Server

    Register the server with your client

    Register it in user or local scope first. Project-wide installs can wait until the setup is boring.

    claude mcp add 0xarchive -s user -t stdio ...

  3. 3
    You

    Ask one narrow tool-backed question

    Start with a current query so auth, tool invocation, and output shape are easy to inspect.

    "What's the current funding rate for BTC?"

  4. 4
    0xArchive

    Check the tool output and schemas

    MCP should return a concrete tool result, not a prompt workaround. If it does not, fix scope or env vars.

    Expect a typed tool response with live venue data or a direct permission/configuration failure.

  5. 5
    You

    Set the install scope

    Keep experiments local. Move to project scope when the repo should carry the config, and share user-wide installs only after the team trusts the server.

Scope and security

Keep install scope and trust decisions explicit. These clients get real tool access.

Scope

Start local

Do not turn an untested install into a team-wide default. Get one clean result first, then decide where the config belongs.

Trust

Treat tools like privileged code

Third-party MCP servers and skills can read, write, and act. Prompt injection and over-broad tool access are real risks.

Setup choice

Skill for speed, MCP for structure

The Claude Code skill wins on setup time. MCP wins when typed tools or shared config matter.

Separate job

Wallet automation lives elsewhere

If the code has to self-provision or rotate keys from a wallet, use Wallet Automation instead of burying key lifecycle inside prompts.

Claude Code install options

OpenClaw is the quick install. The plugin repo and standalone SKILL.md options give you more control.

OpenClaw install

Bash
openclaw install 0xarchive

Plugin install

Bash
git clone https://github.com/0xArchiveIO/0xarchive-skill.git
claude --plugin-dir ./0xarchive-skill

Standalone install

Bash
mkdir -p .claude/skills/0xarchive
curl -o .claude/skills/0xarchive/SKILL.md \
https://raw.githubusercontent.com/0xArchiveIO/0xarchive-skill/main/skills/query/SKILL.md

MCP install and registration

Build the server locally, then register it with the client that will hold the API key.

Build the local server

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

Claude Code registration

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

Claude Desktop registration

JSON
{
"mcpServers": {
"0xarchive": {
"command": "node",
"args": ["/absolute/path/to/0xarchive-mcp/build/index.js"],
"env": {
"OXARCHIVE_API_KEY": "0xa_your_api_key"
}
}
}
}

Reference comparison

Use this after you already know whether speed or typed tools matters more.

DecisionMCPClaude Code skill
DependenciesNode.js + npmcurl + jq
Compatible withClaude Desktop, Claude Code, Cursor, any MCP clientClaude Code only
Tools73 typed tools with output schemasNatural language → curl commands
UseStructured queries and multi-client setupsFast setup when curl and jq are already available

What 0xArchive exposes through AI clients

Client choice changes ergonomics, not product coverage.

SurfaceCoverage
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

Where to go next