
Token Safety Check
io.github.lx1112由 GitHub 账号 lx1112 发布v0.4.1更新于 Oct 26, 2026
Rug check tokens on Base, Ethereum, Arbitrum, Optimism, Polygon, Solana: 0-100 risk score + reasons
概览
在 Base、以太坊、Arbitrum、Optimism、Polygon 或 Solana 上对代币做跑路风险检查,返回 0-100 风险评分和通俗原因,每次调用以 USDC 付费。
- 可以做什么
- 对单个代币做完整安全检查:风险评分、等级与原因,以及所有者、权限、供应量、持仓者、资金池、价格和流动性
- 生成适合聊天回复的结论:评级、一句话总结、简短点评和分享卡片链接
- 一次调用复查最多五个代币,并针对自上次指纹以来的变化给出单行提醒
- 与之前的指纹对比,查看新增风险、权限变更、流动性或价格变动
- 适用场景
- 当助手被问到某个代币是否安全、是否值得买入时,或需要对上述链上少量代币做定时监控时适用。它只是基于规则的筛查,不构成投资建议。
- 运行要求
- 通过 npx 在本地运行(需要 Node.js)。需要在 X402_PRIVATE_KEY 中提供专用钱包私钥,且该钱包在 Base 上持有少量 USDC,因为每次检查通过 x402 花费 0.01 美元;无需账号或 API 密钥。可选 TOKEN_SAFETY_MAX_USD 设置单次调用花费上限(默认 0.05),TOKEN_SAFETY_ENDPOINT 可指向其他部署。需要能访问支付端点。
安装
在 SourceWeft 中
- 打开 控制台中的 Token Safety Check,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
token-safety-check
Is this token safe? A rug check for any token on Base, Ethereum, Arbitrum, Optimism, Polygon or Solana, for AI agents and scripts. Each check returns:
- a 0–100 risk score and level (low, medium, high, critical) with plain-language reasons:
- who can mint, freeze, blacklist, pause or change fees
- upgradeable contract code
- Token-2022 permanent delegates, transfer fees and hooks
- holder concentration
- thin or missing liquidity
- a deployer whose earlier tokens lost their liquidity, or who launches tokens in bulk
- the facts behind the score: owner, authorities, supply, top holders, pools, and the deployer's launch record when we saw the token launch;
- USD price and liquidity;
- a fingerprint. Pass it back as
sinceand the next check tells you what changed: new risks, authority changes, liquidity or price moves. That makes it easy to monitor tokens on a schedule.
A verdict call turns the same facts into a grade (CLEAN, MID, SKETCHY or RUGGY), a one-liner, a short take and a link to a share card, for chat replies and quests.
A watchlist call re-checks up to 5 tokens at once for the same $0.01, returning a compact entry per token and one-line alerts for whatever changed since your last call.
Checks, verdicts and watchlist calls cost $0.01 each in USDC on Base, paid automatically with x402 from a wallet you control. There's no account or API key. Errors and invalid input are never charged, and a spending cap stops any call priced above your limit (default $0.05).
The score is rules-based and is not investment advice. Powers count for less on tokens with deep liquidity, where they're usually a large issuer's compliance controls (USDC can freeze and mint, for example).
Use it from Claude Desktop, Cursor or any MCP client
Create a new wallet just for this and send it a little USDC on Base: $1 covers 100 checks. Then
add to your MCP config (for Claude Desktop, that's claude_desktop_config.json):
The server has three tools:
check_token_safety(address, optionalchainandsince): the full check for one token.token_verdict(address, optionalchain): a grade, one-liner, short take and share-card link.watch_tokens(tokens: up to 5 of{ address, chain?, since? }): re-checks them all in one paid call and, given each token's earlier fingerprint, reports what changed with one-line alerts.
Optional environment variables:
TOKEN_SAFETY_MAX_USD: per-check spending cap, default0.05.TOKEN_SAFETY_ENDPOINT: point at another deployment.
Use it from code
A verdict for a chat reply
Watch what you hold
Use it in the Vercel AI SDK or Mastra
token-safety-check/ai gives three ready tools (checkTokenSafety, tokenVerdict, watchTokens),
plain { description, inputSchema, execute } objects that both take as tools:
Use it in ElizaOS
token-safety-check/eliza is an ElizaOS 1.x plugin with one action, CHECK_TOKEN_SAFETY. When a
message names a token address ("is 0x… on Base safe?", "rug check "), the agent replies with
the verdict and a share-card link.
Settings: TOKEN_SAFETY_PRIVATE_KEY (a dedicated wallet with a little USDC on Base; falls back to
X402_PRIVATE_KEY), optional TOKEN_SAFETY_MAX_USD (default 0.05) and TOKEN_SAFETY_ENDPOINT.
Use it in Coinbase AgentKit
Use it in LangChain (JS)
Example output (trimmed)
Without this package
Both are plain x402 endpoints, so any x402 client can call them directly:
GET https://onchaincheck.dev/token?chain=<chain>&address=<address>[&since=<fingerprint>] and
GET https://onchaincheck.dev/watchlist?tokens=<chain>:<address>,...[&since=<fp>,...].
It's also listed in the x402 Bazaar.
Safety notes
- Use a dedicated wallet with a small balance. The key never leaves your machine; it only signs USDC payments of the quoted price.
- Each check's price is read from the server's payment request before paying, and anything above
maxUsdPerCheck/TOKEN_SAFETY_MAX_USDis refused.
MIT licensed.
来源:README.md,提交 a2e05c8
工具
0版本历史
5- v0.4.1最新Oct 26, 2026
- v0.4.0Oct 26, 2026
- v0.3.0Oct 25, 2026
- v0.2.0Oct 24, 2026
- v0.1.0Oct 23, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Check 集成
check.tattoo: tattoo size and placement guide
tattoo.check官方发布者
check.tattoo: tattoo size and placement guide 的托管 MCP 服务,由 check.tattoo 发布;无需登录;Streamable HTTP;5 个工具。
iva.pt — EU VAT check (VIES) and Portuguese VAT law
pt.iva官方发布者
在 VIES 中校验欧盟增值税号,并返回葡萄牙增值税法典(CIVA)与 RITI 条文,支持葡语和英语。

U.S. Public Company Check
由 GitHub 账号 JusticeUA 发布
托管在 Apify 上的远程 MCP 服务器,让助手按 SEC CIK 查询美国上市公司信息:申报状态、破产 8-K 标记、LEI 与制裁筛查。

Taiwan Company Check
由 GitHub 账号 JusticeUA 发布
远程 MCP 服务器,让助手按统一编号查询台湾公司,获取税务登记状态、LEI 与制裁名单核查结果。

Romania Company Check
由 GitHub 账号 JusticeUA 发布
按 CUI 查询罗马尼亚公司,返回官方登记处的状态、破产、LEI 与制裁信息。