VetAgent
[MCP registry]
[vetagent MCP connector – tool definition quality and endpoint health on Glama]
[License: MIT]
A pre-trade safety check for AI agents. Before an agent buys, holds, or recommends
a token, it calls VetAgent and gets an actionable verdict — low / medium / high /
unknown — plus the specific signals behind it, instead of a wall of numbers to interpret.
Check a token address before acting on a pool alert. VetAgent reports liquidity across
eight chains. On Ethereum, BSC and Base, it reports available sell-simulation and tax
evidence and whether the simulation matches the displayed pool. On Solana it checks
token authorities and liquidity. An unavailable sell check is disclosed. Try one
address over MCP or HTTP without an API key.
Remote MCP endpoint: https://vetagent.dev/mcp · Landing page: https://vetagent.dev
Using it, or think it got a token wrong? [email protected] — or open an issue.
Install
Nothing to install. It is a remote server: no package, no container, no API key, no
signup. Add one URL.
Claude Code
Claude Desktop
Open Customize → Connectors, choose Add custom connector, and enter
https://vetagent.dev/mcp. Choose No sign in if asked, then enable the connector
in your conversation. An organization owner may need to add it first in a managed
workspace. See Claude's remote connector guide.
Cursor
Add this to your project's .cursor/mcp.json, merging with existing servers:
Python
Use the Python MCP quickstart to list the tools
and make a read-only WETH lookup with the official SDK.
Plain HTTP
The same engine answers without an MCP client. Include the chain when you know it:
Check the endpoint
Three tools should come back:
See llms-install.md for the version written for an agent doing the
installing, and docs/AGENT-INTEGRATION.md for how to use
the output once connected.
unknown is not low
This is the single most important thing to know about the output.
VetAgent is fail-closed. When a check cannot run — an upstream is down, a
buy/sell simulation fails, no liquidity data comes back — it returns unknown and
lists exactly what was missing in evidence.data_gaps. It never substitutes an
optimistic middle value, and it never sizes a position for you.
confidence measures how complete the input data was, not how safe the token is.
A risk tool that honestly says "I don't know" is useful. One that guesses is not.
Tools
Pass chain_hint whenever you know it. Ethereum forks such as PulseChain inherit
contract addresses, so the same address exists on multiple chains with wildly
different prices; the hint removes that ambiguity. (Without it, VetAgent prefers
canonical chains — see _CHAIN_RANK in src/risk.py.)
Full agent-facing contract: docs/AGENT-INTEGRATION.md.
Accuracy benchmark
Most token-risk tools publish a feature list. We publish our error rates and the
method behind them — including the parts that do not work yet — against labels
produced by data sources the engine does not read.
What is measured today: a 1.9% false positive rate on 162 healthy tokens, a
13.0% false-block rate (20 of 154 liquid healthy tokens rated medium or high, which an
agent will also refuse), a
20.7% unknown rate, and 21.2% of GoPlus-tagged centralised tokens rated high -- almost all abandoned pools holding cents, not USDT, which is rated low.
What is not measured yet: recall you could rely on. Sampling has turned up 30 dead tokens in 576,
because every public source ranks by liquidity and rugged pools fall off the listing
entirely, and the adversarial cohort is 17 contracts. Recall on those two small cohorts is
published in bench/results.md beside a contract-signals-only column, because most of
what they catch is an empty pool rather than a hostile contract. A population-level
detection rate waits until the daily snapshot archive matures enough to supply a real cohort. An earlier version of this section claimed "measured recall",
which the benchmark file itself contradicted.
→ bench/results.md — current numbers, method, and known limits.
Why it is built this way:
- Independent labels. If the benchmark labelled tokens using honeypot.is — which
the engine reads — it would only measure whether VetAgent can relay honeypot.is.
Labels come from realized market outcome (price/volume history) and from GoPlus,
which is deliberately held out of the engine.
- A runtime assertion, not a promise. The benchmark records every endpoint each
side touched and fails the run if the two sets intersect. A circular benchmark
is worse than none, so it is made structurally impossible rather than documented.
- An ablation column. A token that already collapsed has ~zero liquidity today, so
flagging it is close to tautological. Results are therefore reported twice: with all
signals, and with only contract signals kept (liquidity, lifecycle, pool-age and
impersonation signals removed). The gap is what the engine
actually contributes beyond the obvious.
unknown rate reported alongside recall. A tool that answers unknown to
everything has perfect recall and zero value.
The benchmark uses the pinned logical clock 2026-09-21T02:00:00Z. Use an isolated
working copy and a matching local cache for reproduction:
Replay makes no network requests. A missing answer returns exit 4, lists missing URLs,
and leaves existing result files unchanged. A complete replay can write
bench/results.json and bench/results.md. The cache is not tracked or published with
this repository; a fresh clone is not guaranteed to reproduce the published figures.
Plain run mode can fetch missing answers and write dated cache entries. An intentional
refresh uses python bench/run_benchmark.py --fill missing-urls.txt with a reviewed explicit
HTTPS URL list; it deduplicates the list and skips usable recorded entries. Run a
separate --replay afterwards. A pinned logical clock is not a historical measurement
of upstream state: new answers can change the results.
Tests
Every case in tests/ is pinned to a defect that actually reached production.
The contract test earns its keep: VetAgent's worst bug was reading
simulationResult.isHoneypot when honeypot.is puts that flag in honeypotResult.
The key did not exist, the lookup returned None, it was read as False, and the
honeypot check silently passed every token it was ever asked about. No mocked test
could have caught that — only one that calls the real API and asserts the shape.
Rule for this repo: a commit that claims to fix something ships with a test that
was red before it.
Architecture
Cloudflare Python Worker, no heavy dependencies.
The MCP endpoint is hand-written rather than using the official mcp package: that
package pulls in pydantic's C extensions, which do not install on Cloudflare Python
Workers. Plain JSON-RPC turned out to be smaller and fully client-compatible.
Data sources
Identified liquidity-pool accounts are excluded when matching identities are available;
otherwise the reported share may include pools. This check is unavailable on EVM.
GoPlus is not used by the engine — it is reserved as the benchmark's held-out
oracle. Adding it to the engine requires giving the benchmark a new independent
labeller first, or the accuracy numbers stop meaning anything.
Where things are written down
Product and development references:
Why a change was made lives in the commit message, which is immutable and attached
to the diff. Why a line of code looks odd lives in a comment next to that line.
Neither gets copied into a document, because a copy rots without anyone noticing.
Scope
VetAgent reports observable on-chain risk. It is not financial advice, it does not
size positions, and it cannot see off-chain risk — team behaviour, social engineering,
or a rug executed through governance. Treat low as "no fatal signal found in the
checks that ran", never as "safe to buy".
License
MIT — see LICENSE.