MCP Server

Connect Arkham to Claude, Claude Code, Codex, Cursor, VS Code, Gemini CLI or Kiro, then ask questions about on-chain activity in plain English. The assistant looks up the answer in Arkham for you.

Server URL: https://mcp.arkm.com/mcp

What You'll Need

  • Arkham API access: an API plan or trial (see Getting Access). Your assistant signs you in to Arkham and creates a key for you. To use a key you already have instead, create one on the API Dashboard.
  • An AI assistant: the Claude app (desktop, web, or mobile), Claude Code, Codex, Cursor, VS Code, Gemini CLI, Kiro, Grok, or any other assistant that supports remote MCP servers with OAuth.

Nothing to install. Arkham hosts the server.

Set Up in Claude

  1. In Claude, go to Customize → Connectors and click Add custom connector.
  2. Name it Arkham and paste the server URL: https://mcp.arkm.com/mcp
  3. Authentication and OAuth client are detected for you. Click Add, then Connect.
  4. Claude opens Arkham. Create a new API key for Claude and click Create key and connect.

That's it. The connector is saved to your Claude account, not your computer, so Arkham is available in every Claude chat on every device you sign in to: desktop, web, and mobile. Claude keeps the key working by extending it as you use it; a key set to Never works until you delete it. The key appears on your API Dashboard labelled via Claude; delete it there to disconnect Claude.

Tip
On a Team or Enterprise plan, each person connects with their own Arkham account, so each uses their own key and credits.

Set Up in Claude Code

Install the Arkham plugin from inside Claude Code:

/plugin marketplace add arkhamintelligence/arkham-mcp
/plugin install arkham@arkham

Or add the server yourself. Run this once in your terminal:

bash
claude mcp add --transport http arkham https://mcp.arkm.com/mcp --client-id claude-code --callback-port 8765 --scope user

Then run /mcp in Claude Code, pick arkham and choose Authenticate. Your browser opens Arkham, where you create a key for Claude Code or pick the one you made last time. Any free port works for --callback-port.

This is saved on the computer you run it on, for all your projects there. Repeat it on each computer where you use Claude Code.

To use a key you already have instead, pass it as a header:

bash
claude mcp add --transport http arkham https://mcp.arkm.com/mcp --header "Authorization: Bearer YOUR_API_KEY" --scope user

Set Up in Codex

Run these once in your terminal:

bash
codex mcp add arkham --url https://mcp.arkm.com/mcp
codex mcp login arkham

Your browser opens Arkham, where you create a key for Codex or pick the one you made last time. Like Claude Code, this is saved on the computer you run it on.

To use a key you already have instead, save it as an environment variable and pass its name:

bash
export ARKHAM_API_KEY="YOUR_API_KEY"
codex mcp add arkham --url https://mcp.arkm.com/mcp --bearer-token-env-var ARKHAM_API_KEY

Add the export line to your shell profile (for example ~/.zshrc) so the key is there next time.

Set Up in Cursor

Add Arkham to Cursor opens Cursor and adds the server for you. Or add Arkham to ~/.cursor/mcp.json (or a project's .cursor/mcp.json) yourself:

json
{
  "mcpServers": {
    "arkham": {
      "url": "https://mcp.arkm.com/mcp",
      "auth": { "CLIENT_ID": "cursor" }
    }
  }
}

Either way, open Cursor Settings → MCP and click Connect (or Needs login) next to arkham. Your browser opens Arkham, where you create a key for Cursor or pick the one you made last time. Without the auth block, Cursor registers itself and Arkham shows it as an unverified app; both work.

Set Up in VS Code

Open the Extensions view, search for @mcp arkham and click Install on Arkham, or click Install in VS Code on Arkham's GitHub MCP Registry page. The first time Copilot uses an Arkham tool, VS Code opens Arkham, where you create a key for it or pick the one you made last time. VS Code registers itself, so Arkham's sign-in page shows it marked Unverified app.

Set Up in Gemini CLI

Run this once in your terminal:

bash
gemini extensions install https://github.com/arkhamintelligence/arkham-mcp

Then run /mcp auth arkham in Gemini CLI. Your browser opens Arkham, where you create a key for Gemini CLI or pick the one you made last time. Gemini CLI registers itself, so Arkham's sign-in page shows it marked Unverified app.

Set Up in Kiro

In Kiro, open Powers, find Arkham Blockchain Intelligence and choose Add to Kiro. Kiro opens Arkham to sign in the first time it uses a tool.

Find Arkham in MCP Directories

Assistants that browse MCP directories can install Arkham from there instead of by URL. It's listed in the official MCP Registry as com.arkm/mcp, in the GitHub MCP Registry, and on Glama, MCP Market and mcpservers.org. The install manifests for every assistant on this page are in arkhamintelligence/arkham-mcp.

Set Up in Grok and Other Assistants

Any assistant that connects to remote MCP servers with OAuth works the same way: add a custom MCP server or connector with the URL https://mcp.arkm.com/mcp, then sign in when it opens Arkham. The assistant registers itself, so Arkham's sign-in page shows its name marked Unverified app, with where it sends the key. Only approve it if you started the connection from that assistant.

Try It

Open a new chat and ask:

"Which chains does Arkham support?"

"Who are the top 10 counterparties of Binance on Ethereum over the last 7 days?"

The assistant picks the right Arkham lookup and shows you the result.

Credits
Most lookups use API credits, the same as calling the API directly. A few, such as the list of supported chains, are free. On a paid plan, credits beyond your monthly allowance are billed as overage. See Credit Pricing and Using with AI Agents.

MCP or the API?

Both use the same data, API key, and credits. Pick by the size of the job.

Use MCP forUse the API for
Questions and quick lookups in a chatLarge exports and backfills
Exploring an address, entity, or tokenPaging through thousands of rows
Small result sets, such as a top 10 or the last dayLive streams (WebSocket)
No codeScripts, apps, and scheduled jobs

MCP answers are capped at about 4 MB each. A request that returns more fails, and still uses its credits, so keep MCP requests small and use the API for anything big.

If Something's Not Working

ProblemFix
The Arkham sign-in page says the link is not validThe client ID is wrong. Use claude in the Claude app, claude-code in Claude Code and cursor in Cursor, or leave it out and let the assistant register itself.
Signing in says an active subscription is requiredYour account has no API access yet. See Getting Access.
Arkham doesn't show up, won't connect, or Claude says "Couldn't reach Arkham" (Claude Code with a key header)The key header is missing or malformed. It must be Bearer, one space, then your key. Claude's header field removes a trailing space when you click out of it, so paste Bearer YOUR_API_KEY as one value rather than in two steps. Check the URL is https://mcp.arkm.com/mcp, then restart the app. In Claude Code, run claude mcp list to check the connection.
Arkham won't connect (Codex)ARKHAM_API_KEY must hold the key alone, without Bearer , and be set in the terminal you start Codex from.
An "Attention Required" page appearsThe request reached Arkham without a valid key header. Fix the header as above.
Your assistant asks you to sign in to Arkham again, or every question fails with 401Arkham no longer accepts the key: it was deleted, it expired, or (if you pasted it) it has a typo. If you signed in through your assistant, sign in again when it asks. If you pasted a key, check it for typos and extra spaces, or create a new one.
"API response exceeds 4 MiB; narrow the query or reduce its limit"The answer is too large. Ask for less at once, for example a shorter time range or fewer results.
A question times out with 504Most lookups have 60 seconds to finish. Ask a narrower question: a shorter time range, one chain, or fewer results.
Keep your key private
Don't share your API key or paste it into a chat. Anyone with it can use your credits.