Skip to content
VS Code

chainanalyzer mcp for VS Code

io.github.rascal-3/chainanalyzer-mcp

Multi-chain AML risk scoring, sanctions screening, and tx tracing across BTC, ETH, POL, AVAX, SOL.

client:VS Code transport:stdio runtime:npm

Install chainanalyzer mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "x402-wallet-private-key",
      "description": "X402_WALLET_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "chainanalyzer-api-key",
      "description": "CHAINANALYZER_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "chainanalyzer-base-url",
      "description": "CHAINANALYZER_BASE_URL",
      "password": true
    }
  ],
  "servers": {
    "chainanalyzer-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "chainanalyzer-mcp"
      ],
      "env": {
        "X402_WALLET_PRIVATE_KEY": "${input:x402-wallet-private-key}",
        "CHAINANALYZER_API_KEY": "${input:chainanalyzer-api-key}",
        "CHAINANALYZER_BASE_URL": "${input:chainanalyzer-base-url}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

chainanalyzer mcp in other clients