Skip to main content
Glama

Token Verdict — agent tools (MCP · ElizaOS · AgentKit · LangChain)

Token Verdict (x402) MCP connector

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.

Related MCP server: AgentRisk MCP

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_KEY set, 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_USD caps 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

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

Available Tools

4 tools
pricingA

List paid endpoints with USDC price and example URL. Free.

Inputs: no named parameters.

token_priceA

Live DEX price, liquidity, 24h volume, FDV and pair age for any token. $0.001 USDC on Base via x402.

Inputs: token (required), chain.

token_verdictA

Token verdict before a swap: A-F grade, 0-100 score, one-line verdict, honeypot sell simulation, buy/sell tax and red flags for any Base/Ethereum/BSC/Arbitrum/Polygon/Solana token. $0.01 USDC on Base via x402.

Inputs: token (required), chain.

token_verdict_batchA

Grade up to 10 tokens in one call, ranked best to worst. $0.05 USDC on Base via x402.

Inputs: tokens (required), chain.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 4 tools

    Disambiguation4/5

    Each tool targets a distinct action: pricing is a free catalog, token_verdict is a single-token safety grade, token_verdict_batch is the bulk version, and token_price returns market data. The only mild overlap is that token_price's liquidity/volume fields and token_verdict's red flags both touch token risk, but the descriptions make the price-vs-safety split clear.

    Naming Consistency4/5

    Three of four tools follow a clean token_<noun> snake_case pattern (token_verdict, token_verdict_batch, token_price) with the batch suffix used predictably. The lone deviation is 'pricing', which drops the prefix and reads as a noun rather than following the token_* convention.

    Tool Count5/5

    Four tools is a tight, well-scoped surface for a token-grading service: catalog, single lookup, batch lookup, and price lookup. Each tool is necessary and none appear redundant.

    Completeness4/5

    The surface covers the core lifecycle: discover endpoints/pricing, check a single token, batch-check up to 10, and pull live market data. Minor gaps exist (no way to list supported chains, no docs/examples for response schema, no single-token price batch), but agents can work around these.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents on Base to call a check_token_risk tool before trading, providing honeypot detection, LP-lock verification, brand impersonation checks, and live sell simulation across Uniswap V2/V3/V4 and Aerodrome with a clear risk score and should-trade decision.
      1
      15 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to run honeypot and owner-power safety checks on Base tokens and to read wallet ETH and USDC balances, with every answer sourced from real chain data and paid per call in USDC via x402.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI coding assistants and trading bots to verify smart contracts, test honeypot traps, assess DEX liquidity, and check wallet counterparty risk before deploying or trading capital on Base. It exposes preflight clearance, token audits, KYA reputation, and web-scraping tools with free and paid x402 tiers.
      9
      374 npm
      MIT