mcp-server
v1.3.2Pay-per-call AI + web + on-chain tools over x402 (USDC on Base): LLM, SEO, extract, token safety.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_models
List every LLM model available through true402's pay-per-call inference, with live per-token pricing (3% over provider cost, min $0.0001/request). Returns each model's id, provider, and input/output token prices across OpenAI, Anthropic, Google, Groq, Mistral and Together — so an agent can pick a model and know the exact cost before paying via x402 (USDC on Base, no account or API key).
chat
Send a chat completion request to an LLM via true402 (PAID x402 service, USDC on Base). Requires a funded wallet (WALLET_PRIVATE_KEY) on the MCP server.
| Parameter | Type | Description |
|---|---|---|
messages * | array | Chat messages |
model * | string | Model ID (e.g. gpt-4o, claude-3-5-sonnet) |
max_tokens | number | Maximum tokens to generate |
seo_audit
Audit a web page for SEO + GEO (generative-engine-optimization). Returns a structured JSON report: meta tags, an SEO score with per-category breakdown + issues, a GEO score with breakdown + issues, and a combined percentage. PAID x402 service (USDC on Base) — needs a funded wallet on the MCP server.
| Parameter | Type | Description |
|---|---|---|
url * | string | Absolute http(s) URL of the page to process |
mode | string | Which audit(s) to run: 'both' (default), 'seo' only, or 'geo' only |
web_extract
Fetch a URL and return its clean readable text, a light markdown rendering, all links (in document order), and metadata (title, description, word count, byte size). PAID x402 service (USDC on Base) — needs a funded wallet on the MCP server.
| Parameter | Type | Description |
|---|---|---|
url * | string | Absolute http(s) URL of the page to process |
link_preview
Fetch a URL and return its link-preview / Open Graph unfurl card: title, description, image, siteName, type, canonical URL, favicon, and theme color (image/canonical/favicon resolved to absolute URLs). PAID x402 service (USDC on Base) — needs a funded wallet on the MCP server.
| Parameter | Type | Description |
|---|---|---|
url * | string | Absolute http(s) URL of the page to process |
robots_check
Report a site's AI-crawler policy (GPTBot, ClaudeBot, Google-Extended, PerplexityBot, and ~15 other AI bots: allow | block | unspecified), plus declared sitemaps and whether an llms.txt is present. Pass any URL on the target site. PAID x402 service (USDC on Base) — needs a funded wallet on the MCP server.
| Parameter | Type | Description |
|---|---|---|
url * | string | Absolute http(s) URL of the page to process |
headers_check
Analyse a URL's HTTP security headers (HSTS, CSP, X-Frame-Options, and more) into a present/missing breakdown plus a 0-100 score, along with status, HTTPS flag, and server banner. PAID x402 service (USDC on Base) — needs a funded wallet on the MCP server.
| Parameter | Type | Description |
|---|---|---|
url * | string | Absolute http(s) URL of the page to process |
token_safety
Rug/honeypot safety check for an ERC-20 token on Base (on-chain reads, no API key): ERC-20 conformance, ownership renounce, mint capability, WETH/USDC liquidity depth (Uniswap V3 + Aerodrome), and a buy/sell honeypot simulation (a gas-free eth_call that round-trips a tiny WETH→token→WETH trade to catch tokens you can buy but not sell). Returns a 0-100 score + risk band + flags. PAID x402 service (USDC on Base) — needs a funded wallet on the MCP server.
| Parameter | Type | Description |
|---|---|---|
token * | string | ERC-20 contract address (0x…) on Base |
chain | string | Chain to check; only 'base' is supported (default) |
new_pairs
Recently-created Base DEX pairs (Uniswap V3 + Aerodrome) — fresh token launches for trading/sniper agents. Returns each new token, its quote (WETH/USDC), pool, fee|stable, block and approx age, newest first. Bundle with token_safety for a pre-trade rug/honeypot check. On-chain log indexing, no API key. PAID x402 service (USDC on Base) — needs a funded wallet on the MCP server.
| Parameter | Type | Description |
|---|---|---|
dex | string | Filter by DEX |
limit | integer | Max pairs to return (1–200, default 50) |
since | integer | Only pairs first seen at or after this block |
withToken | boolean | Only token launches (vs all pools); default true |
liquidity_pulls
Liquidity-pull / rug alerts on Base — liquidity-removal (Burn) events on recently-launched DEX pools (Uniswap V3 + Aerodrome). Returns the pool, token, and WETH/USDC amount removed (the rug magnitude), newest first — an early rug warning. Cross-check the token with token_safety. On-chain log indexing, no API key. PAID x402 service (USDC on Base) — needs a funded wallet on the MCP server.
| Parameter | Type | Description |
|---|---|---|
dex | string | Filter by DEX |
limit | integer | Max pulls to return (1–200, default 50) |
minQuote | number | Only removals of at least this much WETH/USDC |
since | integer | Only pulls first seen at or after this block |
whale_swaps
Recent large ($-value) Base DEX Swap events (whale trades) on tracked pools — a whale-following / copy-trade signal. Returns the pool, dex, token, quote (WETH/USDC), USD size, direction (buy/sell of the non-quote token), block and approx age, newest first. On-chain log indexing, no API key. PAID x402 service (USDC on Base) — needs a funded wallet on the MCP server.
| Parameter | Type | Description |
|---|---|---|
dex | string | Filter by DEX |
direction | string | Filter by trade direction (of the non-quote token) |
limit | integer | Max swaps to return (1–200, default 50) |
min | number | Only swaps of at least this USD size (default 10000) |
since | integer | Only swaps at or after this block |
liquidity_history
Observed liquidity history for one Base token, from true402's own DEX archive. Returns every pool indexed for it, every liquidity-removal event with the amount removed, block and transaction hash, and the OTHER tokens drained in the same transaction (one actor, several pools). Unlike a live honeypot simulation this answers what already happened — a pool drained last month simulates fine today if it was re-seeded. Every answer carries the exact block range the removal index covers, so 'none observed' is never a claim of safety. PAID x402 service (USDC on Base) — needs a funded wallet on the…
| Parameter | Type | Description |
|---|---|---|
token * | string | Base token contract address (0x…) |
limit | integer | Max removal events to return (1–200, default 50) |
tx_preflight
Check a Base transaction BEFORE signing it. Send an UNSIGNED transaction and get three independent lenses: a simulation against current state (does it revert?), the decoded intent (is this an unlimited approval that outlives the trade?), and the counterparty's liquidity-removal history from true402's archive. Takes NO private key and NO signature, so the service cannot broadcast or front-run the transaction it inspects. Never returns 'safe': a clean result means these checks found nothing, and every response states its limits. PAID x402 service (USDC on Base) — needs a funded wallet on the M…
| Parameter | Type | Description |
|---|---|---|
from * | string | Sender address. Asserted, never proven — no signature is taken. |
to * | string | Destination contract or address |
data | string | Calldata hex (0x…); omit for a plain native transfer |
value | string | Native value in wei as a decimal string; default 0 |