# True402 MCP [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/true402/mcp-server  
**GitHub Stars:** 0  
**npm Downloads (last month):** 876  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/true402-mcp-server

## Description
Pay-per-call AI + web + on-chain tools for agents over x402 (USDC on Base) — no accounts, no API keys; the wallet is the identity. 11 tools incl. token rug/honeypot safety (0–100 score, risk band, buy/sell simulation), new-pairs / liquidity-pull / whale-swap signals, SEO/GEO audit, web extract, link preview, robots & security-headers checks, and LLM inference. Tools auto-discover from the live catalog. npx -y @true402.dev/mcp-server

## Tools
Capabilities this server exposes over MCP:

- **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.
- **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.
- **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.
- **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.
- **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.
- **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.
- **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.
- **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.
- **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.
- **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.
- **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 MCP server.
- **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 MCP server.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "true402-mcp": {
    "command": "npx",
    "args": ["-y","@true402.dev/mcp-server"],
    "env": {
      "WALLET_PRIVATE_KEY": "",
      "SERVER_URL": "",
      "MAX_PAYMENT_USDC": ""
    }
  }
}
```

**Requires environment variables:** `WALLET_PRIVATE_KEY`, `SERVER_URL`, `MAX_PAYMENT_USDC` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What true402/mcp-server MCP server does

The true402/mcp-server MCP server connects MCP clients to the true402 machine-native marketplace. It exposes tools for LLM inference, web and SEO analysis, deterministic finance calculations, prediction markets, DeFi yields, and blockchain safety checks. The catalog includes both free discovery functions and paid operations whose prices are returned through x402 payment challenges.

Blockchain coverage includes Base, Ethereum, and selected BNB Smart Chain token checks. Depending on the tool, an agent can inspect ERC-20 behavior, liquidity, ownership, mint capability, honeypot behavior, deployer reputation, liquidity removals, whale swaps, or the safety of an unsigned transaction. Web tools can extract page text, preview links, render screenshots, inspect robots and llms policies, and score HTTP security headers.

## How it works

The true402/mcp-server MCP server sends a tool request to the true402 API. For a paid operation, the API returns HTTP 402 with the exact payment terms. When a wallet is configured, the server signs an EIP-3009 USDC authorization on Base, retries with the payment header, and settlement occurs on-chain. The facilitator sponsors gas, so the configured wallet needs USDC but does not need ETH for gas.

Each authorization buys one response. Payment is submitted only after a successful 2xx response, and calls that error or time out are not settled. The server enforces MAX_PAYMENT_USDC as a per-call ceiling; requests above that limit are refused before payment. Tool prices can change, and the live 402 response is authoritative.

## Setup and configuration

The package runs over stdio and requires Node.js 20 or newer. A typical MCP client configuration uses `npx -y @true402.dev/mcp-server`. Claude Desktop, Claude Code, Cursor, Cline, and other MCP clients can use the same command pattern.

Environment settings include:

- `WALLET_PRIVATE_KEY`: a funded Base wallet key for automatic x402 payments. The key is read from the environment and is not logged or returned.
- `SERVER_URL`: API base URL, defaulting to `https://true402.dev/api`; it can point to a self-hosted instance.
- `MAX_PAYMENT_USDC`: maximum amount allowed for one call, defaulting to `0.25`.

A wallet is not needed to start the process. Without one, paid tools return their payment requirements rather than completing the payment. The documentation recommends using a dedicated, low-balance wallet.

## Tools and capabilities

The true402/mcp-server MCP server includes `list_models` for live model IDs and token prices, and `chat` for paid LLM completions across several providers. Other capabilities include:

- SEO/GEO audits, keyword volume and ideas, ranked keywords, and backlink reports.
- Web extraction, Open Graph link previews, screenshots, robots and llms checks, and security-header analysis.
- Black-Scholes, volatility, Sharpe, Sortino, Kelly, drawdown, VaR, CVaR, and CAGR calculations.
- Prediction-market search and DeFi pool filtering with APY, TVL, stablecoin, and risk fields.
- Token reports, address and deployer checks, new-pair discovery, liquidity alerts and history, whale swaps, and unsigned transaction preflight.

Tools are auto-discovered from the live catalog, so the available set may change without a package update.

## Limitations and notes

Most operations are paid in USDC on Base, although some have a small per-IP daily free allowance. `list_models` is free. `seo_audit` is priced per page and can exceed a normal per-call ceiling when auditing multiple pages, so the ceiling may need adjustment. `deployer_check` requires an explorer key on the service side and can return 503 when that configuration is absent.

On-chain safety results are assessments, not guarantees. For example, `tx_preflight` checks simulation, decoded intent, and archived counterparty liquidity activity but never labels a transaction safe. Historical liquidity coverage is limited to the indexed block range, and a clean result means only that the reported checks found no issue.

_Full upstream README: https://allmcps.com/mcp/true402-mcp-server/readme_

