# mcp

mcp scores Base wallet risk from 0 to 100 before your agent sends USDC, providing a verdict and clear explanation flags.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: walletbureau
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/walletbureau/mcp
- Updated: 2026-08-14
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/walletbureau-mcp

## What it does

The server exposes the `check_counterparty` tool so autonomous agents can inspect a counterparty on Base before initiating a payment. It reviews the transaction track record of x402 and EIP-3009 USDC transfers, looking at address lifespan, sender diversity, inflow concentration, and volume spikes. The tool returns a risk score from 0 to 100, a recommendation (`ok`, `caution`, or `avoid`), and individual flag details explaining the rationale. A secondary tool, `get_service_stats`, reports public index counters at no charge.

This package functions as a direct client for `walletbureau.com` without keeping an offline database or custom heuristic engine locally. Unconfigured runs fall back to a public demo quota limited to a handful of checks per day per IP. Paid evaluations cost $0.01 each via a prepaid `WALLETBUREAU_API_KEY` or through on-chain settlement with `X402_PRIVATE_KEY`. Without credentials, the demo quota will deplete after a few queries.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `WALLETBUREAU_API_KEY`, `X402_PRIVATE_KEY`, `X402_MAX_PRICE_USD` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env WALLETBUREAU_API_KEY=<WALLETBUREAU_API_KEY> --env X402_PRIVATE_KEY=<X402_PRIVATE_KEY> --env X402_MAX_PRICE_USD=<X402_MAX_PRICE_USD> --transport stdio walletbureau-mcp -- npx -y @walletbureau/mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add walletbureau-mcp --env WALLETBUREAU_API_KEY=<WALLETBUREAU_API_KEY> --env X402_PRIVATE_KEY=<X402_PRIVATE_KEY> --env X402_MAX_PRICE_USD=<X402_MAX_PRICE_USD> -- npx -y @walletbureau/mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "walletbureau-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@walletbureau/mcp"
            ],
            "env": {
                "WALLETBUREAU_API_KEY": "<WALLETBUREAU_API_KEY>",
                "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>",
                "X402_MAX_PRICE_USD": "<X402_MAX_PRICE_USD>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "walletbureau-mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@walletbureau/mcp"
            ],
            "env": {
                "WALLETBUREAU_API_KEY": "<WALLETBUREAU_API_KEY>",
                "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>",
                "X402_MAX_PRICE_USD": "<X402_MAX_PRICE_USD>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e WALLETBUREAU_API_KEY=<WALLETBUREAU_API_KEY> -e X402_PRIVATE_KEY=<X402_PRIVATE_KEY> -e X402_MAX_PRICE_USD=<X402_MAX_PRICE_USD> walletbureau-mcp npx -y @walletbureau/mcp
```
Replace <…> with your own values

## When to use it
- score counterparty risk on Base before sending a USDC transfer
- detect recent volume spikes and concentrated inflows on an address
- halt autonomous agent payments whenever receiving an `avoid` verdict

## Example prompts
- Check counterparty address `0x1234...abcd` on Base before sending payment
- Run `check_counterparty` on `0x9876...fedc` and report the risk flags
- Fetch index statistics using `get_service_stats`

## Similar
- [FiatDock](https://affpapa.org/en/nevibecode/mcp/fiatdock.md) — MCP server · ★ 1 repo stars
- [xenarch-mcp](https://affpapa.org/en/nevibecode/mcp/xenarch-mcp.md) — MCP server · 974 installs
- [TWZRD Agent Intelligence](https://affpapa.org/en/nevibecode/mcp/twzrd-agent-intelligence.md) — MCP server
- [Token risk x402](https://affpapa.org/en/nevibecode/mcp/token-risk-x402.md) — MCP server
- [Coal - Payments for AI agents](https://affpapa.org/en/nevibecode/mcp/coal-payments-for-ai-agents.md) — MCP server · 1558 installs
- [Liquid Agent](https://affpapa.org/en/nevibecode/mcp/liquid-agent.md) — MCP server

## Other versions with the same name
- [mcp · kubeshark](https://affpapa.org/en/nevibecode/mcp/kubeshark-mcp.md) — ★ 12142 repo stars
- [mcp · butterbase-ai](https://affpapa.org/en/nevibecode/mcp/butterbase-ai-mcp.md) — ★ 3033 repo stars
- [mcp · medplum](https://affpapa.org/en/nevibecode/mcp/mcp.md) — ★ 2812 repo stars
- [mcp · sceneview](https://affpapa.org/en/nevibecode/mcp/sceneview-mcp.md) — ★ 1379 repo stars
- [mcp · buoy-gg](https://affpapa.org/en/nevibecode/mcp/buoy-gg-mcp.md) — ★ 696 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
