Token Verdict (x402)
Verificación del token antes del swap: calificación de A a F, simulación de honeypot, impuestos y liquidez en 6 cadenas. 0,01 $/llamada mediante x402.
Servidor MCP alojado
npx add-mcp 'https://token-verdict.tariffdata.workers.dev/mcp'Se instala en Claude Code, Codex, Cursor y más
Documentación
Token Verdict — agent tools (MCP · ElizaOS · AgentKit · LangChain)
One check before every swap. Give it a token address and get back an A–F grade, a 0–100 score, a one-line verdict, and the red flags behind it: honeypot sell simulation, buy/sell tax, mint/freeze authority, hidden owner, proxy contract, holder concentration, LP lock, liquidity, 24h volume, and pair age.
Chains: Base, Ethereum, BSC, Arbitrum, Polygon, Solana (detected automatically if you leave the chain out).
Data sources: DexScreener (market), GoPlus (contract security), honeypot.is (EVM sell simulation).
Pricing
Pay per call with x402. USDC on Base mainnet (eip155:8453). No account, no API key, no signup. The agent's wallet signs on the agent's machine.
| Call | Endpoint | Price |
|---|---|---|
| Token verdict | /v1/verdict | $0.01 |
| Batch verdict (up to 10 tokens, ranked) | /v1/verdict/batch | $0.05 |
| Live DEX price / liquidity / FDV | /v1/price | $0.001 |
pricing tool, OpenAPI, llms.txt, health | — | free |
You are not charged for unpaid calls, invalid input (400), or upstream failures (502). An unpaid call returns an HTTP 402 quote.
1. Use it as a remote MCP server (no install)
Endpoint (Streamable HTTP, no auth): https://token-verdict.tariffdata.workers.dev/mcp
{ "mcpServers": { "token-verdict": { "type": "http", "url": "https://token-verdict.tariffdata.workers.dev/mcp" } } }
Claude Code:
claude mcp add --transport http token-verdict https://token-verdict.tariffdata.workers.dev/mcp
Tools: pricing (free), token_verdict, token_verdict_batch, token_price. When called without payment, the remote server returns the price and a ready-to-pay URL that any x402 client (for example @x402/fetch) can call.
2. Use it as a local stdio MCP server that pays for you
{
"mcpServers": {
"token-verdict": {
"command": "npx",
"args": ["-y", "token-verdict-agent-tools"],
"env": { "TOKEN_VERDICT_WALLET_KEY": "<agent wallet private key, USDC on Base>", "TOKEN_VERDICT_MAX_USD": "0.05" }
}
}
}
- With
TOKEN_VERDICT_WALLET_KEYset, paid tools settle via x402 and return the real verdict. Install the optional peers:npm i @x402/fetch @x402/evm viem. - Without a key, you get the free quote only, and nothing is paid.
TOKEN_VERDICT_MAX_USDcaps every single payment (default 0.05).- Use a dedicated low-balance agent wallet. Never use your main wallet.
3. Use it as a library (JS/TS)
npm i token-verdict-agent-tools @x402/fetch @x402/evm viem
import { makePayingFetch, tokenVerdict, tokenVerdictBatch, tokenPrice, guardSwap } from "token-verdict-agent-tools";
const fetchImpl = await makePayingFetch({ privateKey: process.env.AGENT_KEY, maxUsd: 0.02 });
const v = await tokenVerdict("0x532f27101965dd16442E59d40670FaF5eBB142E4", { chain: "base", fetchImpl });
console.log(v.grade, v.score, v.verdict, v.red_flags);
// Swap guard: fails closed (allow=false) on honeypot, grade D/F, or any error.
const g = await guardSwap("0x532f27101965dd16442E59d40670FaF5eBB142E4", { fetchImpl });
if (!g.allow) throw new Error("blocked: " + g.reason);
Without fetchImpl, each call returns { paid: false, status: 402, quote } and nothing is charged.
ElizaOS
import tokenVerdictPlugin from "token-verdict-agent-tools/eliza";
// character.plugins: [tokenVerdictPlugin]
// settings: TOKEN_VERDICT_WALLET_KEY (agent wallet), TOKEN_VERDICT_MAX_USD (default 0.05)
The plugin adds the CHECK_TOKEN action, which also answers to RUG_CHECK, HONEYPOT_CHECK, TOKEN_SAFETY and IS_TOKEN_SAFE. It runs when a message contains a token address.
Coinbase AgentKit / LangChain
import { tokenVerdictTool } from "token-verdict-agent-tools";
const tool = tokenVerdictTool({ fetchImpl }); // { name, description, schema, invoke }
// LangChain: new DynamicStructuredTool({ ...tool, func: tool.invoke })
HTTP API
- OpenAPI: https://token-verdict.tariffdata.workers.dev/openapi.json
- llms.txt: https://token-verdict.tariffdata.workers.dev/llms.txt
- x402 manifest: https://token-verdict.tariffdata.workers.dev/.well-known/x402
POST /v1/verdict takes {"tokenAddress":"0x...","chain":"base"}. GET /v1/verdict?token=0x...&chain=base works as well.
Development
npm test # live tests against the public API, unpaid (402 quotes only)
Disclaimer
The verdict is a heuristic risk signal, not financial advice. A good grade does not guarantee that a token is safe.
License
MIT © 2026 Wally