{
  "markdown": "# RGX — MCP server\n\n<!-- mcp-name: io.github.trigeochiral/rgx -->\n\nMCP client for **RGX**: tool discovery, reranking, and on-chain pricing-truth for\nAI agents — pay-per-call in USDC on Base (x402), free tier, no signup.\n\nHosted API: `https://trigeochiral.com` — set it as `RGX_API`.\n\n| Tool | What |\n|---|---|\n| `snap_router` | **Snap 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 |\n| `rerank` | **RyRank** — 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. |\n| `vet_bounty` | **is 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 |\n| `token_report` | pre-trade: real tradeable depth vs headline TVL + multi-pool price corroboration + honeypot test, one call. $0.04 |\n| `token_depth` | largest trade that fills within 1 / 2 / 5% price impact, vs the headline TVL. $0.01 |\n| `price_corroboration` | consensus USD price only when ≥2 deep pools agree; flags single-source / manipulated prices. $0.01 |\n| `honeypot_check` | real buy + sell round-trip; flags honeypot / transfer tax. $0.005 |\n| `redeem_spread` | ERC-4626 share redemption value vs market. $0.01 |\n| `anomaly_screener` | tokens on a chain that just broke (depth collapse / price break / new honeypot). $0.025 |\n\nChains: `base`, `ethereum`, `arbitrum`.\n\n## Why\n\n- **Snap Router** — the tool-retrieval bottleneck: past ~2,000 tools, semantic\n  retrieval beats keyword and beats long-context. Coinbase's Bazaar `/ask` is\n  LLM-ranked (a model call on every task); 402index falls back to keyword-only\n  when its embedding service times out. Snap Router has neither hole.\n- **RyRank** — a hybrid reranker, not a cross-encoder: strong\n  when the candidates already share vocabulary with the query, which is the\n  common case for RAG retrieval output and tool/document shortlists. Built for\n  high-volume, latency- and cost-sensitive reranking (narrowing a retrieval\n  candidate set, deduping, triage) rather than close semantic disambiguation\n  between near-identical phrasings — pay-per-call and about half the price is\n  the trade for that.\n- **Pricing-Truth** — every \"token safety\" tool checks the *contract*. None check\n  whether the liquidity is real or the price is trustworthy. A pool can show\n  \\$15M TVL and fill \\$4.\n\n## Install\n\n```bash\npip install rgx-mcp\nclaude mcp add rgx --env RGX_API=https://trigeochiral.com -- rgx-mcp\n```\n\nor with `uvx` (no install):\n\n```bash\nclaude mcp add rgx --env RGX_API=https://trigeochiral.com -- uvx rgx-mcp\n```\n\nOptional: `RGX_XPAYMENT` = a base64 x402 `X-PAYMENT` payload, to make paid calls\npast the free tier. Without it you get 25 free calls/day per IP.\n\n## Direct HTTP (no MCP)\n\n```bash\n# Snap Router\ncurl -sX POST https://trigeochiral.com/v1/snap -H 'content-type: application/json' \\\n  -d '{\"task\":\"check a base token for honeypot before trading\",\"k\":4}'\n\n# RyRank\ncurl -sX POST https://trigeochiral.com/v1/rerank -H 'content-type: application/json' \\\n  -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}'\n\n# Pre-trade report\ncurl -s https://trigeochiral.com/v1/base/token/0x532f27101965dd16442E59d40670FaF5eBB142E4/report\n```\n\nDiscovery: `/.well-known/agent-card.json` (A2A), `/.well-known/x402`,\n`/.well-known/mcp.json`, `/llms.txt`, `/openapi.json`.\n\n## License\n\nMIT\n",
  "bytes": 3872,
  "sha": "1aeb5f0b361e4e9b47d617377f1292e7d59cbf5ee42d82bf0fc64e11484c5b67",
  "repo_slug": "trigeochiral/rgx-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_trigeochiral_rgx_a1fe9eef/readme"
}