mcp-server

v1.3.2
dev.true402/mcp-server Checked 1 day ago Published 1 month ago

Pay-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.

ParameterTypeDescription
messages *arrayChat messages
model *stringModel ID (e.g. gpt-4o, claude-3-5-sonnet)
max_tokensnumberMaximum 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.

ParameterTypeDescription
url *stringAbsolute http(s) URL of the page to process
modestringWhich 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.

ParameterTypeDescription
url *stringAbsolute 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.

ParameterTypeDescription
url *stringAbsolute 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.

ParameterTypeDescription
url *stringAbsolute 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.

ParameterTypeDescription
token *stringERC-20 contract address (0x…) on Base
chainstringChain 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.

ParameterTypeDescription
dexstringFilter by DEX
limitintegerMax pairs to return (1–200, default 50)
sinceintegerOnly pairs first seen at or after this block
withTokenbooleanOnly 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.

ParameterTypeDescription
dexstringFilter by DEX
limitintegerMax pulls to return (1–200, default 50)
minQuotenumberOnly removals of at least this much WETH/USDC
sinceintegerOnly 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.

ParameterTypeDescription
dexstringFilter by DEX
directionstringFilter by trade direction (of the non-quote token)
limitintegerMax swaps to return (1–200, default 50)
minnumberOnly swaps of at least this USD size (default 10000)
sinceintegerOnly 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…

ParameterTypeDescription
token *stringBase token contract address (0x…)
limitintegerMax 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…

ParameterTypeDescription
from *stringSender address. Asserted, never proven — no signature is taken.
to *stringDestination contract or address
datastringCalldata hex (0x…); omit for a plain native transfer
valuestringNative value in wei as a decimal string; default 0