Revettr
MCP serverCommerce & financeRevettr lets your AI check how risky a counterparty is before it spends money with them. It provides counterparty risk scoring for agentic commerce, with checks carried out through x402 micropayments. The source code is available at github.com/alexanderlawson17/revettr-python.
Use Revettr in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Revettr and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the score counterparty tool from Revettr
No key or account is asked for. Not verified by us yet: Ahel has not run a call through it.
Details
Available today. Use it from your connected AI after setup.
No key or account is asked for. Not verified by us yet: Ahel has not run a call through it.
Add the integration, then ask your AI to check a counterparty's risk before it makes a payment. You can review how it works in the source code at github.com/alexanderlawson17/revettr-python.
What your AI can do with it
- Check how risky a counterparty is before your AI transacts with them
- Score the other side of a payment in agentic commerce
- Run risk checks through x402 micropayments
- Factor counterparty risk into payment decisions
Install Revettr
The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.
Claude Code
claude mcp add --transport http --scope user revettr 'https://revettr.com/mcp'Run it once in your project, then open /mcp to approve any sign-in the server asks for.
Claude Desktop
https://revettr.com/mcpAdd a custom connector in Settings, paste this address, and approve the sign-in.
Cursor
cursor://anysphere.cursor-deeplink/mcp/install?name=revettr&config=eyJ1cmwiOiJodHRwczovL3JldmV0dHIuY29tL21jcCJ9Open the link and Cursor adds the server at that address.
ChatGPT
https://revettr.com/mcpIn Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.
Codex
codex mcp add revettr --url 'https://revettr.com/mcp'Run it once, then sign in with codex mcp login revettr if the server asks for an account.
From the project's README
As published by alexanderlawson17/revettr-python in README.md.
Counterparty risk scoring for agentic commerce. One API call answers: "Should this agent send money to this counterparty?"
Revettr scores counterparties by analyzing domain intelligence, IP reputation, on-chain wallet history, and sanctions lists. It's designed for AI agents transacting via x402 on Base.
Install
pip install revettr
Quick Start
from revettr import Revettr
client = Revettr()
# Score a counterparty — send whatever data you have
score = client.score(
domain="uniswap.org",
ip="104.18.28.72",
wallet_address="0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
)
print(f"Score: {score.score}/100 ({score.tier})")
print(f"Confidence: {score.confidence}")
print(f"Flags: {score.flags}")
if score.tier == "critical":
print("DO NOT TRANSACT")
What Gets Scored
Send any combination of inputs. More data = higher confidence.
| Input | Signal Group | What It Checks |
|---|---|---|
domain | Domain Intelligence | WHOIS age, DNS config (MX, SPF, DMARC), SSL certificate |
ip | IP Intelligence | Geolocation, VPN/proxy/Tor detection, datacenter vs residential |
wallet_address | Wallet Analysis | Transaction count, wallet age, counterparty diversity, on-chain behavior |
company_name | Sanctions Screening | OFAC SDN, EU consolidated, UN consolidated sanctions lists |
Response
{
"score": 90,
"tier": "low",
"confidence": 0.75,
"signals_checked": 3,
"flags": [],
"signal_scores": {
"domain": {
"score": 80,
"flags": [],
"available": true,
"details": {
"domain_age_days": 2673,
"dns": {"has_mx": true, "has_spf": true, "has_dmarc": true}
}
},
"ip": {
"score": 100,
"flags": [],
"available": true,
"details": {
"country": "US",
"asn_org": "Cloudflare, Inc.",
"is_private": false
}
},
"wallet": {
"score": 100,
"flags": [],
"available": true,
"details": {
"blockchain": {"tx_count": 100, "unique_counterparties": 29},
"onchain": {"nonce": 16, "eth_balance": 0.072}
}
}
},
"metadata": {
"inputs_provided": ["domain", "ip", "wallet_address"],
"latency_ms": 1185,
"version": "0.1.0"
}
}
Score Tiers
| Score | Tier | Meaning |
|---|---|---|
| 80-100 | low | Counterparty appears legitimate |
| 60-79 | medium | Some signals warrant caution |
| 30-59 | high | Multiple risk indicators present |
| 0-29 | critical | Strong risk signals — do not transact |
A score of 0 means a hard match (e.g., exact sanctions hit). This overrides all other signals.
Risk Flags
Flags tell you exactly what triggered a score reduction. They are grouped by signal category:
| Category | Examples | What It Covers |
|---|---|---|
| Domain | domain_age_under_*, no_mx_records, ssl_* | Domain age, DNS hygiene, SSL validity |
| IP | tor_exit_node, known_vpn, high_risk_country_* | Anonymization, geolocation risk |
| Wallet | wallet_never_transacted, wallet_age_under_* | On-chain history, activity patterns |
| Sanctions | sanctions_exact_match, sanctions_high_confidence_match | OFAC/EU/UN sanctions screening |
The full set of flags and their descriptions are returned in the API response. Flag names are stable and machine-readable.
Usage Examples
Wallet only (minimal)
score = client.score(wallet_address="0xabc...")
Domain + IP (web service check)
score = client.score(domain="some-api.xyz", ip="185.220.101.42")
Full check
score = client.score(
domain="merchant.com",
ip="104.18.28.72",
wallet_address="0xabc...",
company_name="Merchant LLC",
)
With x402 auto-payment
The client handles x402 payment automatically. You need a funded wallet:
from revettr import Revettr
client = Revettr(
wallet_private_key="0xYOUR_PRIVATE_KEY", # Wallet that pays for the API call
)
# Client automatically handles the 402 → payment → retry flow
score = client.score(wallet_address="0xabc...")
Security: Never hardcode private keys. Use environment variables or a secrets manager in production.
With Virtuals Protocol (ACP)
Score seller agents before creating jobs on the Agent Commerce Protocol:
from revettr import Revettr
client = Revettr()
result = client.score(wallet_address=seller_wallet)
if result.score >= 60:
# Safe to create ACP job
job_id = chosen_offering.initiate_job(
service_requirement={"task": "Analyze Q1 sales data"},
evaluator_address=evaluator_address,
)
See examples/virtuals_acp_safe_buyer.py for the full buyer agent flow.
Safe Agent Payments
Drop-in replacement for x402 payments that automatically checks counterparty risk before sending money. If the counterparty scores below your threshold, the payment is blocked.
from revettr import SafeX402Client, PaymentBlocked
async with SafeX402Client(
wallet_private_key="0x...",
min_score=60, # Block "high" and "critical" risk
on_fail="block", # Raise PaymentBlocked (default)
) as http:
try:
# Automatically scores the counterparty before paying
response = await http.post("https://some-api.com/endpoint", json=data)
except PaymentBlocked as e:
print(f"Blocked: {e.url} scored {e.score}/100")
on_fail | Behavior |
|---|---|
"block" (default) | Raise PaymentBlocked exception |
"warn" | Log warning, proceed with payment |
"log" | Silently log, proceed with payment |
Pricing
| Tier | Price | What You Get |
|---|---|---|
| Standard | $0.01 USDC | All available signals based on inputs provided |
Payment is via x402 protocol — USDC on Base network. No API keys, no accounts, no contracts.
API Reference
POST /v1/score
Payment: x402 — $0.01 USDC on Base per request
Request body (JSON):
| Field | Type | Required | Description |
|---|---|---|---|
domain | string | No | Domain or URL |
ip | string | No | IPv4 address |
wallet_address | string | No | EVM address (0x...) |
chain | string | No | Blockchain network (default: base) |
company_name | string | No | Name to screen against sanctions |
email | string | No | Email (future — not scored yet) |
amount | float | No | Transaction amount in USD (context only) |
At least one of domain, ip, wallet_address, or company_name is required.
GET /health
Payment: None (always free)
Returns API status and signal source availability.
Direct HTTP (without SDK)
# Without payment (returns 402):
curl -X POST https://revettr.com/v1/score \
-H "Content-Type: application/json" \
-d '{"domain": "example.com"}'
# Returns HTTP 402 with payment-required header containing x402 payment terms
Disclaimer
Revettr is an informational tool. It aggregates publicly available signals and returns a risk score. It is not a compliance certification, legal advice, or guarantee of counterparty legitimacy. You are responsible for your own transaction decisions.
Built by
Tools it offers (3)
What this server listed when Ahel dialed its public endpoint in Sep 2026, with no key and no account of yours. The names are the server’s own.
score_counterpartyverify_issuerexport_audit_bundle
Signals
- GitHub stars
- 3
- Forks
- 3
- Last commit
- Apr 2026
Advanced
- Delivery
- revettr-mcp MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
- Item type
- mcp-server
- Key
io-github-alexanderlawson17-revettr-mcp- Source
- github.com/alexanderlawson17/revettr-python
- Hosted endpoint
https://revettr.com/mcp
github.com/alexanderlawson17/revettr-python
More in Commerce & finance
MCP server · mikeypetrillo
More in Commerce & financecrypto-quant-signal-mcp
MCP server · algovaultlabs
More in Commerce & financeHive Intelligence MCP
MCP server · hive-intel
More in Commerce & financekeryx
MCP server · tang-vu
More in Commerce & financetruss44-mcp-crypto-price
MCP server · truss44
More in Commerce & financetrading-mcp
MCP server · ai-rook
More in Commerce & finance