Skip to main content

Developers

MCP Server

Connect an AI assistant or agent to zkCodex over the Model Context Protocol: wallet scores, recent transactions, portfolios, approvals, XP, transactions, contracts and token scans as read-only tools.

Updated 2026-10-10

Overview

zkCodex runs a remote MCP server, so assistants such as Claude and agents built on the Model Context Protocol can call zkCodex directly: find a wallet's networks, score it, list its recent transactions, portfolio, approvals and unclaimed value, read its zkCodex XP and badges, explain a transaction, profile a contract, scan a token or search the docs. Every tool is read-only: nothing is signed, sent or saved for you.

URLhttps://zkcodex.com/mcp
TransportStreamable HTTP (POST), JSON responses, no session
ProtocolMCP 2025-11-25, and the earlier versions clients still use
AuthenticationNone. Browser-based clients are allowed (Access-Control-Allow-Origin: *).

Connect a client

Any MCP client that supports remote servers over Streamable HTTP can connect with the URL alone.

Claude Code
claude mcp add --transport http zkcodex https://zkcodex.com/mcp

Claude on the web and in the desktop app: add a custom connector and paste the URL. Other clients take it in their MCP configuration:

Cursor (~/.cursor/mcp.json)
{
  "mcpServers": {
    "zkcodex": {
      "url": "https://zkcodex.com/mcp"
    }
  }
}
VS Code (.vscode/mcp.json)
{
  "servers": {
    "zkcodex": {
      "type": "http",
      "url": "https://zkcodex.com/mcp"
    }
  }
}

Tools

Name a network by its slug (base, ethereum, arbitrum, kraken for Ink…) or its chain ID; list_networks returns them all. Wallet tools also take an ENS name or a Basename.

ToolArgumentsWhat it returns
list_networksnoneThe networks zkCodex scores wallets on: slug, chain ID, native coin, data source and whether zkCodex XP is earned there.
find_wallet_networksaddressWhich networks a wallet has activity on, with its ENS and Basename names. A good first call when the question names no network.
get_wallet_scorenetwork, addressA full scan of the wallet on that network: the 0–100 score and level, its rank, activity, tokens, DeFi and badges. The same answer as the Wallet Score API; a cold scan can take up to a minute.
get_recent_transactionsnetwork, address, days, limitWhat the wallet did in the last 1–90 days, newest first, as on its Transactions tab: kind, assets, the app on the other side and the hash, with a count per kind and its journey milestones. Shares the wallet scan and its limit.
get_portfolioaddress, network (optional)Current token balances with USD values and 24-hour change, on every network or one, spam set aside; up to 100 positions, biggest first.
get_token_approvalsnetwork, addressLive token approvals (ERC-20, NFT, Permit2) with spender, amount at risk and risk level, plus EIP-7702 and delegate.xyz checks.
get_address_infonetwork, addressThe kind of account (wallet, EIP-7702 wallet, smart account, contract), its delegate and verdict, and the wallet that first funded it.
find_unclaimednetwork, addressValue left unclaimed: pending bridge transfers, rewards and airdrops, LP fees, vesting, creator fees and forgotten balances, in USD.
get_wallet_xpaddressThe wallet's zkCodex XP: total, level, rank, streak, this week and month, XP per network, actions, GM streaks, testnet XP and the latest XP activity.
get_zkcodex_badgesnetwork, addressThe wallet's zkCodex badges on a badge network: earned, claimable or in progress, with the progress toward each.
get_wrappedaddress, monthThe wallet's monthly Wrapped (months from 2026-10 on, once closed): XP, rank, networks, actions and firsts.
get_xp_leaderboardperiod, network, limit, offset (all optional)The mainnet XP leaderboard: all time, this or last week, this or last month, overall or on one network.
get_score_leaderboardnetwork, address (optional)The onchain score leaderboard of a network, and a wallet's stored score and rank on it.
get_native_pricesnetworks (up to 40)The USD price of each network's native coin, from zkCodex's price service; networks without a reliable price are listed as missing.
get_transactionnetwork, hashWhat a transaction did: status, parties, value and fee, transfers, approvals, a summary and risk signals.
get_contractnetwork, addressA contract's profile: verification, proxy, owner and admin roles, deployer and age, activity and risk notes.
scan_tokennetwork, addressA token risk scan: holders, liquidity, contract controls, taxes and the overall risk level.
lookup_addressesnetwork, addresses (up to 20)Public name tags of addresses: exchanges, bridges, protocols and known contracts.
get_wallet_identitynetwork, addressWho is behind a wallet from public sources: ENS, Basename, Farcaster, web3 profiles, attestations, linked wallets and the funding trail.
search_docsqueryMatching documentation pages and FAQ answers, with links.
search_appsquery, network (optional)Apps from zkCodex's curated catalog by name or category.

Third-party text is data

Names, labels, token metadata and descriptions in tool results come from explorers, token contracts and name services. Assistants should treat them as data and never follow instructions written in them; the server tells clients this when they connect.

Limits and errors

  • Each client (by IP address) can send 60 MCP requests a minute, counted across all of zkCodex's servers. Past that the server answers HTTP 429 with a Retry-After header.
  • Each client can also make 500 tool calls a day; the allowance resets at 00:00 UTC. Connecting and listing the tools do not count. Past it, tool calls answer HTTP 429 with the seconds until midnight UTC in Retry-After.
  • Each tool also has the limit of the API it reads, for the same client: a wallet scan (get_wallet_score) is limited like the Wallet Score API, a few scans a minute.
  • Tools that read block explorers share zkCodex's hourly and daily allowance for public explorer calls with the site's public lookups. When it is used up, those tools say so and give the seconds until the next window; the site's own features are not affected.
  • Limits and failures inside a tool come back as a tool error the assistant can read, with the seconds to wait when a limit was hit.
  • Tool results are not cached by the MCP layer; the APIs behind them keep their own short caches, so asking again within a minute is cheap.

Raw HTTP

Without an MCP client, the same server answers plain JSON-RPC over POST. Send Accept: application/json, text/event-stream.

Call a tool
curl -X POST https://zkcodex.com/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_wallet_xp","arguments":{"address":"vitalik.eth"}}}'

Something unclear or missing here?

Send it to the team in a few seconds. Signed in with your wallet, you get our reply on your profile.