Skip to main content
Glama
Deconstruct2021

cryptopunks-mcp-server

get_attribute_stats

Analyze CryptoPunks rarity by calculating trait distribution statistics across the entire 10,000 NFT collection.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The implementation of the get_attribute_stats tool logic.
    export async function getAttributeStats() {
      return get(DATA_BASE, "/api/punks", { action: "attributes" });
    }
  • src/tools.ts:133-137 (registration)
    The schema definition and registration of the get_attribute_stats tool.
    get_attribute_stats: {
      description:
        "Get trait distribution statistics across the entire 10,000 CryptoPunks collection — how many punks have each attribute, enabling rarity analysis.",
      inputSchema: z.object({}),
    },
  • The handler case for the get_attribute_stats tool that invokes the API implementation.
    case "get_attribute_stats": {
      const result = await api.getAttributeStats();
      return ok(result);
    }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Deconstruct2021/cryptopunks-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server