RGX — Snap Router + RyRank + Pricing-Truth

io.github.trigeochiral由 GitHub 账号 trigeochiral 发布v1.0.5更新于 Oct 25, 2026

Tool selection, Cohere-compatible reranking, and on-chain pricing-truth for agents

发布方自己的服务:Rank Fast

概览

AI 生成的概览

RGX 是一个本地 MCP 客户端,连接托管 API,可为任务匹配工具、对文档重排序,并核查链上代币流动性与价格。

可以做什么
根据任务描述,从合并的 x402 与 MCP 工具目录中一次返回排序后的工具,不调用大模型(snap_router)。按查询相关性对文档重排序,返回与 Cohere 兼容的结构(rerank)。筛查 GitHub 悬赏链接或标题正文中的提示注入、农场仓库和缺失支付渠道(vet_bounty)。在 base、ethereum、arbitrum 上检查代币可交易深度、多池价格印证、蜜罐往返测试和 ERC-4626 赎回价差(token_report、token_depth、price_corroboration、honeypot_check、redeem_spread)。筛查某条链上深度骤降、价格破位或新出现蜜罐的代币(anomaly_screener)。
适用场景
适合助手需要在大量工具或服务中为任务做选择、需要对检索候选做低成本高并发的重排序,或在交易前确认代币流动性和价格是否真实时使用。
运行要求
作为本地 Python 进程运行,可从 PyPI 安装(pip install rgx-mcp)或用 uvx 运行。必须设置 RGX_API 指向托管 API(默认是提供方站点),并需要访问该地址的网络。无需注册账号;可选的 RGX_XPAYMENT 用于免费额度之外的付费调用。
安装前请注意
超出免费额度(每 IP 每天 25 次)的调用按次以 USDC 通过 x402 付费,RGX_XPAYMENT 是支付凭据,应视为机密。任务文本、文档、悬赏内容和代币地址会发送给第三方托管 API。代币报告仅供参考,不构成保证;重排序器不适合区分语义极为接近的表述。

安装

在 SourceWeft 中

  1. 打开 控制台中的 RGX — Snap Router + RyRank + Pricing-Truth,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

RGX — MCP server

MCP client for RGX: tool discovery, reranking, and on-chain pricing-truth for AI agents — pay-per-call in USDC on Base (x402), free tier, no signup.

Hosted API: https://trigeochiral.com — set it as RGX_API.

ToolWhat
snap_routerSnap Router — your task → the ranked x402 / MCP tools that serve it, over the merged x402 Bazaar + MCP Registry catalog (16k+). One pass, ~200ms, no LLM call. $0.003
rerankRyRank — rerank documents by relevance to a query. Cohere-compatible response shape (results: [{index, relevance_score}]), so it drops into an existing co.rerank() call. No signup, no model download. ~$0.001/call over x402 (roughly half Cohere Rerank's list price) or a free tier.
vet_bountyis this bounty a trap? — screens a GitHub issue URL or raw title+body for prompt-injection / system-prompt exfiltration payloads, throwaway farm repos, no payment rail, points/token "pay", mass-recruitment dilution. Call before an agent acts on any bounty it found itself. $0.03
token_reportpre-trade: real tradeable depth vs headline TVL + multi-pool price corroboration + honeypot test, one call. $0.04
token_depthlargest trade that fills within 1 / 2 / 5% price impact, vs the headline TVL. $0.01
price_corroborationconsensus USD price only when ≥2 deep pools agree; flags single-source / manipulated prices. $0.01
honeypot_checkreal buy + sell round-trip; flags honeypot / transfer tax. $0.005
redeem_spreadERC-4626 share redemption value vs market. $0.01
anomaly_screenertokens on a chain that just broke (depth collapse / price break / new honeypot). $0.025

Chains: base, ethereum, arbitrum.

Why

  • Snap Router — the tool-retrieval bottleneck: past ~2,000 tools, semantic retrieval beats keyword and beats long-context. Coinbase's Bazaar /ask is LLM-ranked (a model call on every task); 402index falls back to keyword-only when its embedding service times out. Snap Router has neither hole.
  • RyRank — a hybrid reranker, not a cross-encoder: strong when the candidates already share vocabulary with the query, which is the common case for RAG retrieval output and tool/document shortlists. Built for high-volume, latency- and cost-sensitive reranking (narrowing a retrieval candidate set, deduping, triage) rather than close semantic disambiguation between near-identical phrasings — pay-per-call and about half the price is the trade for that.
  • Pricing-Truth — every "token safety" tool checks the contract. None check whether the liquidity is real or the price is trustworthy. A pool can show $15M TVL and fill $4.

Install

bash
pip install rgx-mcpclaude mcp add rgx --env RGX_API=https://trigeochiral.com -- rgx-mcp

or with uvx (no install):

bash
claude mcp add rgx --env RGX_API=https://trigeochiral.com -- uvx rgx-mcp

Optional: RGX_XPAYMENT = a base64 x402 X-PAYMENT payload, to make paid calls past the free tier. Without it you get 25 free calls/day per IP.

Direct HTTP (no MCP)

bash
# Snap Routercurl -sX POST https://trigeochiral.com/v1/snap -H 'content-type: application/json' \  -d '{"task":"check a base token for honeypot before trading","k":4}'
# RyRankcurl -sX POST https://trigeochiral.com/v1/rerank -H 'content-type: application/json' \  -d '{"query":"how do I reset my password","documents":["Go to Settings > Security and click Reset Password.","Our refund policy allows returns within 30 days."],"top_n":2}'
# Pre-trade reportcurl -s https://trigeochiral.com/v1/base/token/0x532f27101965dd16442E59d40670FaF5eBB142E4/report

Discovery: /.well-known/agent-card.json (A2A), /.well-known/x402, /.well-known/mcp.json, /llms.txt, /openapi.json.

License

MIT

来源:README.md,提交 bf522d0

工具

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

版本历史

1
  1. v1.0.5最新Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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

其他 Rank 集成