# Token Safety Check

> Token Safety Check is a paid MCP server for security. Rug-check a token on six chains and get a 0-100 risk score with reasons, paid per call. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** CLI, API
- **Repository:** https://github.com/lx1112/token-safety-check
- **MCP Registry name:** io.github.lx1112/token-safety-check
- **Categories:** [security](https://ai-powered.com/categories/security), [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-11-23

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
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.

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

```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.

### Cursor (~/.cursor/mcp.json)

```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.

### VS Code (~/.copilot/mcp-config.json)

```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.

### Codex: Add with the CLI (Terminal)

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

### Codex: Or add to config.toml (~/.codex/config.toml)

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

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```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.

### Devin Desktop (~/.config/devin/mcp_config.json)

```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.

### Cline (cline_mcp_settings.json)

```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.

### Zed (Zed settings.json)

```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.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "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.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```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.

### Kiro (~/.kiro/settings/mcp.json)

```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.

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

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_safety` (name 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.

## 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.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [AiSOC](https://ai-powered.com/mcp/aisoc): AiSOC is an open-source MCP server for ai models and llm tooling.
- [x64dbg-mcp-server](https://ai-powered.com/mcp/x64dbg-mcp-server): x64dbg-mcp-server is an open-source MCP server for ai models and llm tooling.
- [redamon](https://ai-powered.com/mcp/redamon): redamon is an open-source MCP server for ai models and llm tooling.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Treasure Map](https://ai-powered.com/mcp/treasure-map): Treasure Map is an open-source MCP server for security.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/token-safety-check
