Chainanalyzer MCP Server
by rascal-3io.github.rascal-3/chainanalyzer-mcpv1.1.1
Multi-chain AML risk scoring and sanctions screening with ML anomaly scoring and graph analysis across Bitcoin, Ethereum, Polygon, Avalanche and Solana.
context tax
queued
security
queued
cold start
queued
freshness
Maintained2mo ago
Install Chainanalyzer MCP server
Install in Claude Code
claude mcp add chainanalyzer -e X402_WALLET_PRIVATE_KEY='<x402-wallet-private-key>' -e CHAINANALYZER_API_KEY='<chainanalyzer-api-key>' -- npx -y chainanalyzer-mcpInstall in Cursor
{
"mcpServers": {
"chainanalyzer": {
"command": "npx",
"args": [
"-y",
"chainanalyzer-mcp"
],
"env": {
"X402_WALLET_PRIVATE_KEY": "<x402-wallet-private-key>",
"CHAINANALYZER_API_KEY": "<chainanalyzer-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"chainanalyzer": {
"command": "npx",
"args": [
"-y",
"chainanalyzer-mcp"
],
"env": {
"X402_WALLET_PRIVATE_KEY": "<x402-wallet-private-key>",
"CHAINANALYZER_API_KEY": "<chainanalyzer-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"chainanalyzer": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"chainanalyzer-mcp"
],
"env": {
"X402_WALLET_PRIVATE_KEY": "<x402-wallet-private-key>",
"CHAINANALYZER_API_KEY": "<chainanalyzer-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"chainanalyzer": {
"command": "npx",
"args": [
"-y",
"chainanalyzer-mcp"
],
"env": {
"X402_WALLET_PRIVATE_KEY": "<x402-wallet-private-key>",
"CHAINANALYZER_API_KEY": "<chainanalyzer-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| X402_WALLET_PRIVATE_KEY | — | yes | EVM wallet private key used to sign x402 USDC micropayments on Base (required for pay-per-request mode) |
| CHAINANALYZER_API_KEY | — | yes | ChainAnalyzer API key (tfk_...) for subscription-based billing instead of x402 micropayments |
| CHAINANALYZER_BASE_URL | — | — | Override the API base URL (default: https://chain-analyzer.com) |
Freshness
Maintained — last maintenance signal 2mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-08-08 · 2mo ago · GitHub
Latest release
2026-04-18 · 6mo ago · GitHub · v1.1.0
Package published
no data · npm/PyPI
Registry entry updated
2026-04-18 · 6mo ago · official registry · v1.1.1
FAQ
›How do I install the Chainanalyzer MCP server in Claude Code?
Run: claude mcp add chainanalyzer -e X402_WALLET_PRIVATE_KEY='<x402-wallet-private-key>' -e CHAINANALYZER_API_KEY='<chainanalyzer-api-key>' -- npx -y chainanalyzer-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Chainanalyzer require an API key?
Yes. It expects X402_WALLET_PRIVATE_KEY, CHAINANALYZER_API_KEY, of which 2 are secrets.
›Can I use Chainanalyzer as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Chainanalyzer in the official MCP registry?
Yes, as io.github.rascal-3/chainanalyzer-mcp.
Alternatives to Chainanalyzer
Other finance & fintech MCP servers.