About On-chain Forensics
On-chain Forensics is an MCP server for agents performing token and wallet due diligence. It uses deterministic rules over live chain reads to return token grades and details such as mint activity, settlement checks, and holder profiles.
Key features
- 01Grade tokens A–F
- 02Inspect token mint events
- 03Check settlement readiness
- 04View token and wallet profiles
- 05Apply deterministic rules to live chain reads
Use cases
- 01Screen a token before considering a purchase
- 02Check mint activity and authority
- 03Verify token registry and ERC-20 readability
- 04Review a wallet's holdings
MCP support
The server exposes six tools to MCP clients over newline-delimited JSON-RPC 2.0 on stdio, including token verdicts, mint checks, settlement checks, and profiles.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://solene-fa2010da.base44.app/functions/forensicsMcpclaude mcp add --transport http dev-onchainforensics-forensics https://solene-fa2010da.base44.app/functions/forensicsMcp{"mcpServers":{"dev-onchainforensics-forensics":{"type":"http","url":"https://solene-fa2010da.base44.app/functions/forensicsMcp"}}}Open in Cursor{"servers":{"dev-onchainforensics-forensics":{"type":"http","url":"https://solene-fa2010da.base44.app/functions/forensicsMcp"}}}Open in VS Code{"mcpServers":{"dev-onchainforensics-forensics":{"type":"http","url":"https://solene-fa2010da.base44.app/functions/forensicsMcp"}}}{"mcpServers":{"dev-onchainforensics-forensics":{"serverUrl":"https://solene-fa2010da.base44.app/functions/forensicsMcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
Details
From the project READMEOn-chain Forensics MCP server
Token due-diligence tools for any MCP-capable agent: ask "should I touch this token" and get a letter grade with a reason instead of a price chart. Zero dependencies, stdio transport, no install step.
npx -y onchain-forensics-mcp
Published on npm as onchain-forensics-mcp.
If the registry is unreachable, the same code installs straight from GitHub:
npx -y github:leohoudinisanders-byte/forensics-mcp.
Tools
| Tool | Question it answers | Price |
|---|---|---|
token_verdict | Should I touch this token? Grade A-F, verdict tier, activity score, one-line roast. | free trial, then $0.001 |
token_mints | Is this token being printed? Mint events, minted amount, mint authority, exact window. | free trial, then $0.02 |
settlesafe_check | Can this token actually settle? Registry canonicality, ERC-20 readability, pause state. | free trial, then $0.02 |
token_profile | Full readable profile: supply, decimals, holders, top wallets. | free trial, then $0.05 |
wallet_profile | Is this wallet real, and what does it hold? | free trial, then $0.05 |
forensics_catalog | What else can this server answer, and what does it cost? Free, no network call. | free |
Grades are computed by deterministic rules over live chain reads. No LLM sits in the decision path, so the same token grades the same way twice.
Install
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"onchain-forensics": {
"command": "npx",
"args": ["-y", "onchain-forensics-mcp"]
}
}
}
Claude Code:
claude mcp add onchain-forensics -- npx -y onchain-forensics-mcp
Cursor (.cursor/mcp.json) and any other client use the same command + args pair.
LangChain / Vercel AI SDK / custom runtimes: the server speaks newline-delimited JSON-RPC 2.0 on
stdio, so it drops into any MCP client implementation. Methods implemented: initialize,
tools/list, tools/call, ping.
Free developer key (10,000 calls/month)
curl -X POST https://api.onchainforensics.dev/functions/devKeys \
-H "Content-Type: application/json" -d '{"email":"[email protected]"}'
The response contains a key shown once. Set it and every tool call becomes a plain data read with no payment signature:
{
"mcpServers": {
"onchain-forensics": {
"command": "npx",
"args": ["-y", "onchain-forensics-mcp"],
"env": { "FORENSICS_DEV_KEY": "fxk_..." }
}
}
}
Payment
Every tool calls the free trial tier first. When that route's daily allowance is spent, the paid endpoint answers HTTP 402 and the tool returns the decoded x402 challenge (price, USDC asset, payTo, network) rather than an error, so an agent that can sign a payment proceeds and an agent that cannot still learns the exact cost.
- Pay per call: any x402 client against
https://api.onchainforensics.dev/functions/<route> - Prepaid keys (no signature per call):
POST /functions/forensicsCredits {"plan":"pack1"}
Env
| Variable | Default |
|---|---|
FORENSICS_BASE_URL | https://api.onchainforensics.dev/functions |
FORENSICS_CHAIN | base |
FORENSICS_TIMEOUT_MS | 45000 |
FORENSICS_DEV_KEY | empty (falls back to free trial, then the x402 challenge) |
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.