Skip to main content

Weakspot

dev.weakspot/weakspot

v0.1.1Updated Sep 5, 2026stdio · npm

Audit Solidity and Rust smart contracts from your editor. Pays per audit in USDC over x402.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add weakspot -e WEAKSPOT_MAX_USD=4 -e WEAKSPOT_URL=https://weakspot.dev -- npx -y [email protected]

Configuration

4 settings.

  • WEAKSPOT_PRIVATE_KEY
    Env var· optional· secret
    Private key of a funded Base wallet. This server SPENDS REAL USDC from it with no human in the loop — use a fresh wallet funded with only what you are willing to lose, never a personal or deployer key. Only weakspot_audit needs it; the pricing, status and wallet-status tools work without one.
  • WEAKSPOT_MAX_USD
    Env var· optional
    Hard cap in USD on any single audit (default 4, the highest tier). Checked twice: against the tier price, and again against the amount the server actually quotes. An LLM decides when to call the paying tool, so this is the main spend control.Default: 4
  • WEAKSPOT_URL
    Env var· optional
    Base URL of the Weakspot deployment to use. Defaults to https://weakspot.dev; override to point at staging or a self-hosted instance.Default: https://weakspot.dev
  • WEAKSPOT_RPC_URL
    Env var· optional
    Base RPC endpoint, used only to read the wallet's USDC balance in weakspot_wallet_status. Nothing else needs it.

Listed in the official MCP Registry since Sep 5, 2026. Mirrored daily; last checked Nov 26, 2026.