Forensics Mcp

dev.onchainforensics由 onchainforensics.dev 发布v1.1.1更新于 Nov 7, 2026

Token due-diligence for AI agents: grade verdicts, mint activity, settlement safety.

已验证STDIO仅桌面金融安全与监控

概览

AI 生成的概览

本地 MCP 服务器,让助手基于实时链上读取获得代币尽调评级、增发活动、结算安全检查以及代币和钱包画像。

可以做什么
  • 给出 A-F 代币评级,含结论层级、活跃度评分和一句话点评
  • 查看增发事件、增发数量、增发权限和精确时间窗口
  • 检查结算安全性:注册表规范性、ERC-20 可读性和暂停状态
  • 获取完整代币画像(供应量、精度、持有人、头部钱包)和钱包画像
  • 列出该服务器的其他能力及其价格
适用场景
适合需要快速、基于规则判断某个代币是否值得接触,或在交互代币、钱包前核查增发与结算风险的场景。评级由确定性规则基于实时链上数据计算,同一代币结果可复现。
运行要求
通过 npx 从 npm 包 onchain-forensics-mcp 本地运行,无需安装步骤,也未声明身份验证。需要访问 onchainforensics API 的网络。可选环境变量:FORENSICS_DEV_KEY(免费开发者密钥),以及 FORENSICS_BASE_URL、FORENSICS_CHAIN(默认 base)、FORENSICS_TIMEOUT_MS。
安装前请注意
工具先走免费试用,之后按次以 USDC 通过 x402 支付挑战收费;能签名支付的助手可能产生实际支出,也提供预付额度包。开发者密钥需用邮箱申请且仅显示一次。查询会发送到第三方 API。评级是启发式判断,不构成投资建议。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Forensics Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

On-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.

bash
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

ToolQuestion it answersPrice
token_verdictShould I touch this token? Grade A-F, verdict tier, activity score, one-line roast.free trial, then $0.001
token_mintsIs this token being printed? Mint events, minted amount, mint authority, exact window.free trial, then $0.02
settlesafe_checkCan this token actually settle? Registry canonicality, ERC-20 readability, pause state.free trial, then $0.02
token_profileFull readable profile: supply, decimals, holders, top wallets.free trial, then $0.05
wallet_profileIs this wallet real, and what does it hold?free trial, then $0.05
forensics_catalogWhat 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):

json
{  "mcpServers": {    "onchain-forensics": {      "command": "npx",      "args": ["-y", "onchain-forensics-mcp"]    }  }}

Claude Code:

bash
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)

bash
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:

json
{  "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

VariableDefault
FORENSICS_BASE_URLhttps://api.onchainforensics.dev/functions
FORENSICS_CHAINbase
FORENSICS_TIMEOUT_MS45000
FORENSICS_DEV_KEYempty (falls back to free trial, then the x402 challenge)

License

MIT

来源:README.md,提交 0955bb6

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.1.1最新Nov 7, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。