Skip to main content

RGX — MCP server

MCP client for RGX: two primitives for AI trading agents, pay-per-call in USDC on Base (x402), free tier, no signup.

Tool What
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
token_report pre-trade: real tradeable depth vs headline TVL + multi-pool price corroboration + honeypot test, one call. $0.04
token_depth largest trade that fills within 1 / 2 / 5% price impact, vs the headline TVL. $0.01
price_corroboration consensus USD price only when ≥2 deep pools agree; flags single-source / manipulated prices. $0.01
honeypot_check real buy + sell round-trip; flags honeypot / transfer tax. $0.005
redeem_spread ERC-4626 share redemption value vs market. $0.01
anomaly_screener tokens 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.
  • 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

pip install httpx
claude mcp add rgx \
  --env RGX_API=https://<the-hosted-api-url> \
  -- python3 /path/to/rgx_mcp.py

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)

# Snap Router
curl -sX POST https://<api>/v1/snap -H 'content-type: application/json' \
  -d '{"task":"check a base token for honeypot before trading","k":4}'

# Pre-trade report
curl -s https://<api>/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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rgx_mcp-1.0.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rgx_mcp-1.0.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file rgx_mcp-1.0.0.tar.gz.

File metadata

  • Download URL: rgx_mcp-1.0.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for rgx_mcp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7ca51bc90d0ece551fe3ad2bec62d71f9441f69e4eaaadc47ed230745159e50c
MD5 5363496bf5f48ed152a81a4ac546621f
BLAKE2b-256 33d2714193e8ce02affaef41442c482613437573039c1dec83554a33af49ad27

See more details on using hashes here.

File details

Details for the file rgx_mcp-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: rgx_mcp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for rgx_mcp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 605ac3d156fe287ab23bbd7e357859133c5e083fb177178c9a10d966a566d8e7
MD5 9137d476cc8ae2c8f49de771ae59f6d3
BLAKE2b-256 df9aa5c6bebfd4034c3e53b06e82782d4713cd8e9c39e7d3a38c5e5ac03b9ed0

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

This release

1.0.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page