https://mcp.0xarchive.io/mcp. There is nothing to install and nothing to run locally.
MCP is a protocol/tool surface, not a coding agent. Claude Code, Codex, Cursor, Windsurf, and similar clients connect to it when their setup supports MCP.
Connect
The server speaks streamable HTTP. Authenticate with your 0xArchive API key as a bearer token. Store the key asOXARCHIVE_API_KEY and pass it in the Authorization header.
initialize returns serverInfo of { "name": "0xarchive" } and a tools capability. A 401 means the bearer token is missing or wrong; fix the key before asking for data.
Hermes Agent
Hermes Agent can connect to the hosted server without editing YAML. Run the exact command below in the Hermes CLI:Enable all N tools? [Y/n/select], enter select, review the checklist, and enable only the tools you intend to use. All discovered tools begin selected, so deselect any tool you do not want exposed to the agent. Enter the API key only in the CLI’s masked prompt. Then verify the connection:
401 for an invalid or rotated key, update MCP_0XARCHIVE_API_KEY in the file returned by hermes config env-path, then rerun the test without printing the key. Never put credentials in chat, logs, or command arguments. A host should never ask the user to paste a key into chat or a command argument.
OAuth
Clients that manage their own consent can use OAuth instead of a static key. Discovery starts athttps://mcp.0xarchive.io/.well-known/oauth-protected-resource, which points at the authorization server https://auth.0xarchive.io. OAuth discovery currently advertises only mcp:market.read:
A bearer API key is the fastest path. OAuth is there when the client handles token refresh and consent itself.
What the tools do
Read tools cover the same route families as the REST reference: Hyperliquid core, Hyperliquid Spot, HIP-3, HIP-4, Lighter, and data quality. They are read-only and safe to call without approval.
The current hosted server does not advertise account creation, key management, billing, or subscription tools. Use the 0xArchive website and documented account surfaces for those workflows.
When to use the MCP server
For live streaming, use WebSocket. The MCP server covers REST-shaped and historical workflows.
Security
Keep API keys out of prompts and checked-in config. Pass the bearer token through the host’s secret store or an environment variable, never in shared chat text or a browser URL. Review the discovered read-only tool list before enabling it in an agent host.Moving off the self-hosted package
Earlier versions ran a local stdio package,@0xarchive/mcp-server, launched with npx. That package is retired as of August 6, 2026 and is no longer developed. Its repository is archived and read-only, and the package stays published, so existing self-hosted setups keep working. It will not receive new tools or data sources.
The hosted endpoint replaces it. There is nothing to install, and auth is a bearer token rather than a local environment variable. If you still run the local stdio server, point your client at https://mcp.0xarchive.io/mcp and drop the npx command. Run tool discovery after connecting and use the tool names returned by the hosted server.