Skip to content
MCP server

Token Safety Check

Rug-check a token on six chains and get a 0-100 risk score with reasons, paid per call

Runs locally

Token Safety Check is a paid MCP server for security. It runs locally on your machine and is started by your AI client.

Pricing
Paid
Platforms
CLI, API
Runs
Locally
Access
Needs a secret key or token
Version
0.6.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add token-safety-check --env X402_PRIVATE_KEY='<X402_PRIVATE_KEY>' -- npx -y token-safety-check

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "token-safety-check": {
      "command": "npx",
      "args": [
        "-y",
        "token-safety-check"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "token-safety-check": {
      "command": "npx",
      "args": [
        "-y",
        "token-safety-check"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "token-safety-check": {
      "command": "npx",
      "args": [
        "-y",
        "token-safety-check"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "token-safety-check": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "token-safety-check"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add token-safety-check --env X402_PRIVATE_KEY='<X402_PRIVATE_KEY>' -- npx -y token-safety-check

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.token-safety-check]
command = "npx"
args = ["-y", "token-safety-check"]
env = { X402_PRIVATE_KEY = "<X402_PRIVATE_KEY>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "token-safety-check": {
      "command": "npx",
      "args": [
        "-y",
        "token-safety-check"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "token-safety-check": {
          "command": "npx",
          "args": [
            "-y",
            "token-safety-check"
          ],
          "env": {
            "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e X402_PRIVATE_KEY='<X402_PRIVATE_KEY>' token-safety-check npx -- -y token-safety-check

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "token-safety-check": {
          "command": "npx",
          "args": [
            "-y",
            "token-safety-check"
          ],
          "env": {
            "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "token-safety-check": {
          "command": "npx",
          "args": [
            "-y",
            "token-safety-check"
          ],
          "env": {
            "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "token-safety-check": {
          "command": "npx",
          "args": [
            "-y",
            "token-safety-check"
          ],
          "env": {
            "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "token-safety-check": {
          "command": "npx",
          "args": [
            "-y",
            "token-safety-check"
          ],
          "env": {
            "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "token-safety-check": {
          "command": "npx",
          "args": [
            "-y",
            "token-safety-check"
          ],
          "env": {
            "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "token-safety-check": {
          "command": "npx",
          "args": [
            "-y",
            "token-safety-check"
          ],
          "env": {
            "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "token-safety-check": {
          "command": "npx",
          "args": [
            "-y",
            "token-safety-check"
          ],
          "env": {
            "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • X402_PRIVATE_KEYPrivate key of a dedicated wallet holding a little USDC on Base; pays $0.01 per checkRequired
  • TOKEN_SAFETY_MAX_USDRefuse checks priced above this many USD (default 0.05)

About Token Safety Check

This server answers one question for agents: is this token safe to touch? A check returns a 0-100 risk score, a level from low to critical, and plain-language reasons covering mint, freeze, blacklist, pause and fee powers, upgradeable code, Token-2022 delegates and hooks, holder concentration, thin liquidity, and a deployer's earlier launches. It covers Base, Ethereum, Arbitrum, Optimism, Polygon and Solana.

Each check includes a fingerprint; pass it back as since and the next call reports new risks, authority changes, and liquidity or price moves, which suits scheduled monitoring. The watchlist call re-checks up to five tokens for one charge.

Calls cost $0.01 each in USDC on Base, paid automatically through x402 from a wallet you supply as X402_PRIVATE_KEY. There is no account, errors are not charged, and a spending cap defaults to $0.05. The README recommends a dedicated wallet and says the score is rules-based, not investment advice. It runs locally over stdio via npx.

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 3 tools reads data; 2 names don't say.

From the server's own tool labels and tool names; not verified by us.

check_token_safetyName suggests: reads
Full safety check for one token; optional chain and since fingerprint.
token_verdict
Returns a grade, one-liner, short take and share-card link.
watch_tokens
Re-checks up to five tokens in one paid call and reports changes.

What it does

Risk score
0-100 with level and reasons per finding.
Six chains
Base, Ethereum, Arbitrum, Optimism, Polygon and Solana.
Change tracking
A fingerprint lets later calls report what changed.
Verdict grade
CLEAN, MID, SKETCHY or RUGGY with a one-liner and share card.
Watchlist
Re-checks up to five tokens in one paid call.
Spending cap
Refuses calls priced above your limit.

Good for

  • Screen a token before an agent trades it
  • Monitor holdings hourly for new risks
  • Reply to chat questions with a short verdict
  • Add a rug check to an ElizaOS or LangChain agent

Pricing

Paid

$0.01 per call in USDC on Base via x402; $1 covers 100 checks

Token Safety Check FAQ

What does Token Safety Check cost?

$0.01 per check, verdict or watchlist call, in USDC on Base.

Do I need an account?

No account or API key, only a wallet funded with USDC.

Are failed calls charged?

The README says errors and invalid input are never charged.

Is Token Safety Check financial advice?

No. The README says the score is rules-based and not investment advice.

How do I add Token Safety Check to Claude Code?

Run this command in your terminal: claude mcp add token-safety-check --env X402_PRIVATE_KEY='<X402_PRIVATE_KEY>' -- npx -y token-safety-check

What are the best alternatives to Token Safety Check?

The closest alternatives to Token Safety Check are REA, Solana MCP by Vybe, AiSOC, x64dbg-mcp-server and redamon.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers