Last week, an AI trading agent on Solana automatically bought a token that rugged 94% twenty minutes later. The agent's wallet lost $12,000. The token had freeze authority enabled, the top 10 holders owned 91%, and the deployer had launched 3 previous scam tokens.
All of this was detectable before the buy.
If your agent touches crypto, it needs a safety check. Here's how to add one in under 60 seconds.
The Problem
AI agents are increasingly making autonomous crypto transactions — trading, swapping, bridging, providing liquidity. But most agents have zero risk awareness. They see a token, check the price, and execute.
They don't check:
- Is the liquidity locked?
- Can the deployer freeze transfers?
- Have the top holders been dumping?
- Is this deployer a known serial rugger?
- Does the holder distribution look like a coordinated pump?
881,000+ scans later, we found that ~30% of new Solana tokens are high-risk. That's not a tail risk — it's a coin flip with worse odds.
We built Rug Munch Intelligence to fix this — now listed in the official Coinbase x402 ecosystem as a verified crypto risk service for AI agents.
The Fix: 60-Second Integration
Option 1: MCP Server (Claude Desktop, Cursor, any MCP client)
pip install rug-munch-mcp
Add to your MCP client config:
{
"mcpServers": {
"rug-munch": {
"command": "python",
"args": ["-m", "rug_munch_mcp"]
}
}
}
Done. Your AI now has 19 crypto risk tools. Ask it:
"Check if token
7GCihgDB8fe6KNjn2MYtkzZcRjQy3t9GHdC8uHYmW2hris safe to buy"
Option 2: REST API (any language, any framework)
One curl:
curl -X POST https://cryptorugmunch.app/api/agent/v1/check-risk \
-H "Content-Type: application/json" \
-d '{"token_address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}'
Response:
{
"token_address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"token_symbol": "USDC",
"risk_score": 2,
"risk_level": "safe",
"recommendation": "SAFE",
"honeypot_risk": false,
"freeze_authority": null,
"scanned": true
}
No API key needed. No wallet needed. 1 free check per day, zero auth. Just POST and get a risk score.
Option 3: Remote MCP (no local install)
Point your MCP client at the hosted SSE endpoint:
https://cryptorugmunch.app/mcp/sse
No pip install, no local Python. Works with any MCP client that supports remote servers.
What You Get: 19 Tools
| Tool | What It Does | Cost |
|---|---|---|
check-risk |
Risk score (0-100) for any token | Free tier / $0.04 |
check-batch |
Scan up to 20 tokens at once | $0.30 |
deployer-history |
Is this deployer a serial rugger? | $0.06 |
holder-deepdive |
Sniper detection, bundle analysis, wallet classification | $0.10 |
kol-shills |
Which influencers promoted this token? | $0.06 |
coordinated-buys |
Detect coordinated pump groups | $0.04 |
social-osint |
Social media presence analysis | $0.06 |
token-intel |
Full intelligence report | $0.06 |
marcus-quick |
AI forensic analysis (Claude Sonnet 4) | $0.15 |
marcus-forensics |
Deep investigation | $0.50 |
watch |
Webhook alert when risk changes | $0.20/7d |
| + 8 more | Market risk, blacklist, scammer check, serial ruggers, etc. | $0.02–$2.00 |
Real-World Integration Example
Here's how you'd add a safety check to a Python trading agent:
import httpx
RISK_API = "https://cryptorugmunch.app/api/agent/v1/check-risk"
async def is_safe_to_buy(token_address: str, chain: str = "solana") -> bool:
"""Check token risk before any buy/swap operation."""
async with httpx.AsyncClient(timeout=15) as client:
resp = await client.post(RISK_API, json={
"token_address": token_address,
"chain": chain
})
if resp.status_code != 200:
return False # Can't verify = don't buy
data = resp.json()
risk_score = data.get("risk_score")
if risk_score is None:
return False # Unknown token = don't buy
if risk_score >= 65:
print(f"⚠️ BLOCKED: {data['token_symbol']} risk={risk_score} ({data['recommendation']})")
print(f" Factors: {data.get('risk_factors', [])}")
return False
return True
# In your trading loop:
async def execute_trade(token: str, amount: float):
if not await is_safe_to_buy(token):
return {"status": "blocked", "reason": "high_risk"}
# ... proceed with trade
15 lines of code. That's the difference between your agent losing $12K and catching a rug pull before it happens.
For Heavy Usage: API Keys
If you need more than 1 call/day:
# Get a free API key (instant, anonymous)
curl -X POST https://cryptorugmunch.app/api/agent/v1/keys/request \
-H "Content-Type: application/json" \
-d '{"email": "your-agent@example.com"}'
# Use it on ALL 19 endpoints
curl -X POST https://cryptorugmunch.app/api/agent/v1/check-risk \
-H "Content-Type: application/json" \
-H "X-API-Key: crm_your_key_here" \
-d '{"token_address": "YOUR_TOKEN"}'
Unlimited check-risk + 1 free trial call on every data endpoint
Need more? The Basic tier ($3/mo) gives you 10 scans/day and 3 Marcus AI queries/day. (deployer, holder-deepdive, KOL shills, batch, etc.). Marcus AI endpoints require x402 USDC.
For x402 / Coinbase AgentKit
If your agent handles USDC payments natively:
# pip install rug-agent-kit
from rug_agent_kit import check_risk
result = await check_risk("TOKEN_ADDRESS")
# Pays $0.04 USDC automatically via x402 on Base
Every endpoint is x402-enabled — your agent can pay per-call with USDC on Base or Solana. No API key needed, no account needed. Just cryptographic payments. Listed in the official Coinbase x402 ecosystem.
The Numbers
| Metric | Value |
|---|---|
| Total scans processed | 881,000+ |
| High-risk tokens flagged | 271,000+ |
| Confirmed rug autopsies | 11 |
| Supported chains | Solana, Ethereum, Base, Arbitrum, Polygon, Optimism, Avalanche |
| Cached response time | < 200ms |
| Live scan time | ~5 seconds |
Where to Find It
- Coinbase x402 Ecosystem: Official listing ✅
-
MCP Registry:
io.github.amarodeabreu/rug-munch-mcp -
PyPI:
pip install rug-munch-mcp - Smithery: @CryptoRugMunch/rug-munch-intelligence
- Glama: rug-munch-intelligence
- GitHub: CryptoRugMunch/rug-munch-mcp
- API Docs: cryptorugmunch.app/api/agent/v1/docs
-
Remote SSE:
https://cryptorugmunch.app/mcp/sse
Your agent doesn't need to understand DeFi. It just needs to ask one question before every trade: "Is this token going to rug me?"
If the answer is risk_score >= 65, walk away. Your users will thank you.
Built by the team behind @CryptoRugMunch (68K followers) and @MarcusRugIntel — the AI Stoic who's been calling out scam tokens on X since 2024.
Top comments (0)