Skip to main content
Glama
cryptopunks-mcp-server

cryptopunks-mcp-server

cryptopunks-mcp-server

Ask your AI about any CryptoPunk — and get real answers from live data.

An MCP server that connects AI assistants like Claude directly to the NODE Foundation CryptoPunks API. Look up any punk, check the floor, analyze a wallet, scan collection bids, research rarity — all through conversation. 28 tools, zero wallet setup, no API keys.

Built by DECONSTRUCT LAB.


Why this exists

If you collect CryptoPunks, research the market, or track wallets — you already know the data is scattered across dashboards, block explorers, and manual lookups. This server puts all of it inside your AI assistant.

Once installed, you can ask Claude (or any MCP-compatible AI) questions about the CryptoPunks market in plain English and get answers drawn from live on-chain data. No more tab-switching between cryptopunks.app, Etherscan, and spreadsheets. Your AI becomes your research desk.

Under the hood, this wraps the NODE Foundation's public CryptoPunks API (launched March 2026) through the Model Context Protocol — the open standard that lets AI assistants use external tools. Everything is read-only. Nothing touches your wallet.


Related MCP server: GearTrade MCP Server

Quick start

Install & build

git clone https://github.com/Deconstruct2021/cryptopunks-mcp-server.git
cd cryptopunks-mcp-server
npm install
npm run build

Connect to Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "cryptopunks": {
      "command": "node",
      "args": ["/absolute/path/to/cryptopunks-mcp-server/dist/index.js"]
    }
  }
}

Config file location:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Restart Claude Desktop. You should see 28 tools available.

Connect to Claude Code

claude mcp add cryptopunks node /absolute/path/to/cryptopunks-mcp-server/dist/index.js

Requirements

  • Node.js ≥ 18

  • No API keys needed

  • No wallet needed


What you can ask

Once connected, just talk to your AI. Here are real examples organized by what you're trying to do:

For collectors

"What's the current floor price? Show me the cheapest punk for sale."

"Tell me everything about Punk #7804 — type, traits, owner, full history."

"What punks does vitalik.eth own? What have they bought and sold?"

"Are there any collection bids on my punk #3100 right now?"

For market researchers

"Show me the last 50 sales. What's the average price this week?"

"Who are the top 10 holders? How concentrated is ownership?"

"What are the rarest trait combinations? How many 0-attribute punks exist?"

"Compare the sale history of all 9 Alien punks."

For bid infrastructure & developers

"Generate a Merkle root for punks [100, 200, 300, 400, 500] and prove punk #300 is in the set."

"What are the highest active collection bids right now? Who's bidding and on what?"

"Get the Merkle proofs for bid d1b94d62-7217-4e48-b501-2dc8f4342627 — I need them for settlement."


Tools (28)

Punk Data (6)

Tool

What it returns

get_punk

Owner, type, attributes, price, bid status. Auto-corrects type for non-human punks.

get_punk_details

Full details + optional transaction history (uses reliable POST endpoint).

get_punk_metadata

Lightweight metadata — most accurate type classification (Alien/Ape/Zombie/Male/Female).

get_punk_image_url

1024×1024 PNG URL. Supports transparent bg, custom colors, and status overlays.

get_punk_traits

Trait list with accurate type data.

get_punk_history

Complete transaction history from initial 2017 claim through every transfer, sale, bid, and offer.

Market Intelligence (9)

Tool

What it returns

get_floor_price

Current floor price in ETH. Falls back to floor punk data if primary endpoint is stale.

get_floor_punk

The cheapest punk currently listed — full details.

get_recent_sales

Last N sales with buyer, seller, price in wei/USD, timestamps. Max 50.

get_top_sales

All-time highest sales ranked by value.

get_all_offers

All listed punks. ⚠️ Upstream API may 500 — server returns helpful error with alternatives.

get_all_native_bids

All punks with active on-chain bids (native contract bids, not collection bids).

get_market_stats

Full market overview: floor, listed count, recent sales, top sales, bid activity.

get_attribute_stats

Trait distribution across all 10,000 punks — enables rarity analysis.

get_leaderboard

Top holders ranked by number of punks owned.

Account Analytics (1)

Tool

What it returns

get_account

The power tool. Full portfolio for any wallet or ENS name: owned punks, for-sale listings, bids placed & received, complete buy/sell history, realized PnL, total volume. Works for your own wallet or anyone else's.

Batch Operations (1)

Tool

What it returns

get_batch_recent_history

Recent transaction history for up to 50 punks in a single call.

Collection Bids (6)

Tool

What it returns

get_collection_bids

List bids with optional bidder/status filters. Returns summarized metadata.

get_top_collection_bids

Highest active bids by amount. Defaults to pending status.

get_all_collection_bids

All bids chronologically, up to 1000.

get_collection_bid_by_id

Full details for a single bid by UUID.

get_collection_bids_for_punk

All collection bids that cover a specific punk.

get_bid_proofs

Merkle proofs for every punk in a bid — required for on-chain settlement.

Merkle Tree (5)

Tool

What it returns

generate_merkle_root

Compute a Merkle root for any set of punk indices. Pure math, no wallet.

generate_merkle_proof

Proof that a specific punk is in a set. For on-chain bid settlement.

verify_merkle_proof

Verify a single proof against a root.

generate_batch_proofs

Proofs for multiple punks in one call. More efficient than repeated single calls.

verify_batch_proofs

Batch-verify multiple proofs against a root.


Architecture

src/
├── api.ts       — Typed fetch wrappers for cryptopunks.app + bids.cryptopunks.app
├── tools.ts     — 28 Zod input schemas with agent-friendly descriptions
├── handlers.ts  — Tool dispatch, response formatting, workarounds for upstream quirks
└── index.ts     — MCP server bootstrap with Zod validation on every call

Design principles:

  • Passthrough over transformation — raw API data is preserved. The server adds corrections (type enrichment, floor price fallback) but never hides or filters data.

  • Summarize for safety — collection bid responses are automatically summarized to stay under the MCP 1MB tool result limit. Full data is always available via get_bid_proofs.

  • Fail transparently — when upstream endpoints break, the server returns structured errors with specific alternative tools to try.


Known issues

These are upstream API issues, not bugs in this server. Each one is handled gracefully.

Issue

Impact

Server behavior

get_all_offers returns HTTP 500

Can't list all offered punks

Returns clean error suggesting get_market_stats and get_floor_punk

get_punk returns wrong type for non-humans

Alien/Ape/Zombie punks misclassified as Male

Auto-enriches from get_punk_metadata; falls back with warning

get_floor_price primary endpoint returns "0"

Floor price appears null

Falls back to get_floor_punk and extracts offer value

Collection bid payloads exceed 1MB

MCP tool result limit hit

Auto-summarizes: strips punk index arrays, keeps metadata

get_top_collection_bids empty without filter

No bids returned

Defaults to status: "pending"


Roadmap

v1.1 (planned)

  • Response normalization for get_floor_punk (flat structure with friendly field names)

  • Bid count metadata on collection bid list endpoints

  • Enhanced get_punk enrichment (full trait overlay)

v2.0 (future)

Wallet and signing tools — deferred from v1.0 to keep the install story frictionless:

  • submit_collection_bid — Submit an EIP-712 signed collection bid

  • refresh_collection_bids — Sync on-chain nonce state for a bidder

  • generate_bid_struct — Generate the EIP-712 signing payload

These require a deployed stash contract on-chain and wallet configuration.


APIs wrapped

API

Base URL

Auth

Docs

CryptoPunks Data

https://cryptopunks.app/api

None

llms.txt

Collection Bids

https://bids.cryptopunks.app/api/v1

None

Swagger

Both APIs are operated by the NODE Foundation and are publicly accessible with no API key required.


Credits

API — NODE Foundation (CryptoPunks API, launched March 2026) Server — DECONSTRUCT LAB Protocol — Model Context Protocol by Anthropic


License

MIT

Available Tools

28 tools
generate_batch_proofsA

Generate Merkle proofs for multiple target punks within a set in a single request. Pure computation, no wallet required. More efficient than calling generate_merkle_proof repeatedly.

Inputs: punk_indices (required), target_punk_indices (required), expected_root.

generate_merkle_proofA

Generate a Merkle proof for a single punk within a set of punk indices. Pure computation, no wallet required. Used to prove a specific punk is included in a collection bid for on-chain settlement.

Inputs: punk_indices (required), target_punk_index (required), expected_root.

generate_merkle_rootA

Generate a Merkle root for a set of CryptoPunk indices. Pure computation, no wallet required. Used as the first step in constructing a collection bid.

Inputs: punk_indices (required), expected_root.

get_accountA

Get comprehensive portfolio data for any Ethereum wallet or ENS name: owned punks, punks for sale, active bids placed and received, full buy/sell history, realized PnL, and total trading volume. This is the most information-dense endpoint in the API.

Inputs: address (required), owned_only.

get_all_collection_bidsA

Get all collection bids ordered by creation date (most recent first). Returns summarized bid metadata. Higher limit than get_collection_bids — up to 1000.

Inputs: limit, status, chain_id.

get_all_native_bidsA

Get all CryptoPunks that currently have an active native bid placed directly on them via the CryptoPunks marketplace contract. Note: these are on-chain native bids, different from off-chain collection bids (use get_collection_bids for those).

Inputs: no named parameters.

get_all_offersA

Get all CryptoPunks currently listed for sale. KNOWN ISSUE: this endpoint may return HTTP 500 from the upstream API server. If it fails, use get_market_stats as an alternative for aggregate offer data, or get_floor_punk for the cheapest listing.

Inputs: no named parameters.

get_attribute_statsA

Get trait distribution statistics across the entire 10,000 CryptoPunks collection — how many punks have each attribute, enabling rarity analysis.

Inputs: no named parameters.

get_batch_recent_historyA

Get recent transaction history for multiple CryptoPunks in a single request. Useful for comparing activity across a set of punks. Maximum 50 punk indices per call.

Inputs: punk_ids (required).

get_bid_proofsA

Get the Merkle proofs for every punk index covered by a specific collection bid. Required for on-chain settlement when accepting a collection bid. Use the bid UUID from any of the collection bid listing tools.

Inputs: bid_id (required).

get_collection_bid_by_idA

Get a specific collection bid by its UUID, including full details, signature, status, and covered punk count. For Merkle proofs, use get_bid_proofs with the same UUID.

Inputs: bid_id (required).

get_collection_bidsA

Get collection bids from bids.cryptopunks.app — EIP-712 signed bids that cover sets of punks. Returns summarized bid metadata (UUID, bidder, amount, punk count, status) to avoid payload overflow. For full punk lists and proofs, use get_bid_proofs with a specific bid UUID.

Inputs: bidder, status, limit, chain_id.

get_collection_bids_for_punkA

Get all collection bids that cover a specific CryptoPunk. Returns summarized bid metadata. For Merkle proofs needed for on-chain settlement, use get_bid_proofs with the bid UUID.

Inputs: punk_index (required), status, limit, chain_id.

get_floor_priceA

Get the current floor price of CryptoPunks — the lowest active asking price across the entire collection. Returns value in ETH. For full details on the floor punk itself, use get_floor_punk instead.

Inputs: no named parameters.

get_floor_punkA

Get the specific CryptoPunk currently listed at the floor price — the cheapest punk for sale right now, with its full details including index, owner, price, and attributes.

Inputs: no named parameters.

get_leaderboardA

Get the top CryptoPunks holders leaderboard ranked by number of punks owned.

Inputs: no named parameters.

get_market_statsA

Get global CryptoPunks market statistics: current floor price, total supply, number listed for sale, number with bids, total volume, and other aggregate market data. This is the best endpoint for a market overview.

Inputs: no named parameters.

get_punkA

Get basic information about a specific CryptoPunk: owner address, type, attributes, current asking price, current bid, and whether it is for sale. NOTE: the type field from this endpoint may be unreliable for non-human punks (Aliens, Apes, Zombies). Use get_punk_metadata or get_punk_traits for accurate type data.

Inputs: punk_index (required).

get_punk_detailsA

Get full details for a specific CryptoPunk including owner, for-sale price, active bid, all attributes, and optionally the complete transaction history (transfers, sales, bids, offers). When include_history is true, history is fetched via the reliable POST endpoint.

Inputs: punk_index (required), include_history.

get_punk_historyA

Get the full transaction history for a specific CryptoPunk from initial claim through all transfers, offers, bids, and sales. Each event includes type, from/to addresses with ENS, amount in wei and USD, timestamp, and transaction hash. Uses the POST endpoint for reliable history retrieval.

Inputs: punk_index (required).

get_punk_image_urlA

Get the URL for a 1024×1024 PNG image of a specific CryptoPunk. Supports transparent background, custom hex background color, and optional overlays (for-sale, has-bid, transfer indicators). Returns a URL string — fetch it to retrieve the image binary.

Inputs: punk_index (required), transparent, bg, for_sale_overlay, +1 more.

get_punk_metadataA

Get lightweight metadata for a CryptoPunk: type, type name, attributes array, and attribute count. This is the most reliable endpoint for accurate type classification (Male/Female/Alien/Ape/Zombie).

Inputs: punk_index (required).

get_punk_traitsC

Get the traits (attributes) for a specific CryptoPunk: type, type name, attributes array, and count. Returns accurate type data for all punk types including Aliens, Apes, and Zombies.

Inputs: punk_index (required).

get_recent_salesA

Get the most recent sales across the CryptoPunks collection. Returns buyer, seller, sale price in wei and USD, timestamp, and transaction hash. Count is capped at 50.

Inputs: count.

get_top_collection_bidsB

Get the highest collection bids ordered by bid amount descending. Returns summarized bid metadata. Tip: try status 'pending' if default returns empty results.

Inputs: limit, status, chain_id.

get_top_salesA

Get the all-time highest sales in the CryptoPunks collection, ordered by sale value descending.

Inputs: no named parameters.

verify_batch_proofsA

Verify Merkle proofs for multiple punks against a single Merkle root. Pure computation, no wallet required. Returns a result per punk index.

Inputs: proofs (required), root (required).

verify_merkle_proofA

Verify that a Merkle proof is valid for a given punk index and Merkle root. Pure computation, no wallet required.

Inputs: punk_index (required), proof (required), root (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 28 tools

    Disambiguation3/5

    Many tools have overlapping purposes, such as get_punk, get_punk_details, get_punk_metadata, and get_punk_traits, which all retrieve information about a specific punk with subtle differences. Similarly, generate_merkle_proof and generate_batch_proofs serve similar functions but for single vs. multiple punks. However, the detailed descriptions help clarify distinctions, preventing complete confusion.

    Naming Consistency5/5

    Tool names follow a highly consistent verb_noun pattern throughout, such as get_punk, generate_merkle_root, and verify_batch_proofs. All tools use snake_case uniformly, with clear and predictable naming conventions that enhance readability and predictability.

    Tool Count2/5

    With 28 tools, the count feels excessive for the domain of CryptoPunks data and proof generation. Many tools could be consolidated, such as the multiple punk info retrieval tools, leading to redundancy and potential confusion rather than necessary granularity.

    Completeness5/5

    The tool set comprehensively covers the CryptoPunks domain, including data retrieval for punks, market stats, bids, sales, history, images, and proof generation/verification. There are no obvious gaps; it supports full lifecycle and operational needs for agents interacting with this NFT collection.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Provides real-time access to cryptocurrency and DEX data across multiple blockchains, enabling users to analyze tokens, pools, trading volumes, and perform technical analysis through DexPaprika's API. No API keys required for seamless integration with AI assistants.
      11
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to perform cryptocurrency trading analysis and execution with 38+ tools including real-time market data, technical indicators, risk management, and support for both paper trading and live execution on Hyperliquid.
      7
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to retrieve real-time data on wallet DeFi positions, token balances, and NFT holdings across multiple blockchains. It supports hundreds of protocols and provides specialized tools for chain-specific or protocol-specific portfolio analysis.
      8
      3
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to access real-time on-chain crypto analytics, whale tracking, and market metrics through natural language queries. It provides access to over 245 endpoints for comprehensive data analysis of assets like Bitcoin, Ethereum, and stablecoins.
      7
      85 npm
      9
      MIT