# hypeprinter007-stack/anchor-x402-mcp [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/hypeprinter007-stack/anchor-x402-mcp  
**GitHub Stars:** 1  
**npm Downloads (last month):** 407  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/hypeprinter007-stack-anchor-x402-mcp

## Description
16 paid wallet & utility tools on Base + Solana. 9 commodity primitives — OFAC sanctions screen, bundled wallet intel (balances + activity + identity + sanctions in one call), dual-chain hash anchoring, signed decision attestations, mainnet tx + calldata decode, ENS + Bonfida SNS resolve, USD prices, datetime parse. Plus an async due-diligence investigator (/v1/investigate, $7.77, signed markdown report + dual-chain anchor), a verifiable signed RNG (/v1/roll), and 5 universal LLM endpoints — roast, yes/no oracle with on-chain anchored verdict (Base + Solana), TL;DR (URL or text), aura read (color + tier + score), academic grade. Pay-per-call USDC via x402, no API keys, no accounts. Also runs a free hosted chatbot at chat.anchor-x402.com.

## Tools
Capabilities this server exposes over MCP:

- **anchor_hash** — Anchor a 32-byte hash to BOTH Base mainnet (as EIP-1559 calldata) and Solana mainnet (via the Memo program) in a single call. Returns both transaction hashes plus block-explorer URLs as cryptographic proof of when the hash existed. Pure infrastructure — no opinions about content. Use for DAO vote receipts, AI decision attestations, contract notarization, scientific data integrity, audit trails. $0.005 USDC.
- **screen_wallet** — Wallet risk pre-flight for agent payments. OFAC SDN sanctions (Tornado Cash, Lazarus Group, Hydra Market, Blender.io, etc.) plus address-reputation (drainer, phishing, mixer, laundering) from GoPlus, resolved to an allow/review/block recommendation with a 0-100 risk score and per-signal detail. Use before any treasury transfer, KYC onboarding, vendor diligence, or marketplace counterparty check. $0.02 USDC.
- **attest_decision** — Attest an agent decision over (input_hash, output_hash, decision) with domain separation: supply your own wallet signature, or omit `signature`/`scheme` and the anchor-x402 treasury signs for you (ideal for wallet-less agents) — then dual-chain anchor the Merkle root on Base and Solana mainnet. Returns the signer, on-chain proof URLs, and a free re-verify URL (POST /v1/attest/verify). Use when an AI agent's decision needs a cryptographic, auditable receipt — autonomous trade approvals, AI-assisted contract decisions, model-output attestation for liability records. $0.010 USDC.
- **decode_tx** — Structured decode of any mainnet transaction by hash. Supply chain ('base' | 'ethereum' | 'solana') and tx_hash. Returns from/to/value/gas/status/calldata for EVM, or slot/fee/signers/program_calls for Solana. Mined txs cached in-process. Use for tx inspection, audit, agent UX (rendering tx summaries to users). $0.001 USDC.
- **resolve_name** — Cross-chain name resolution. Pass a name like 'vitalik.eth' or 'bonfida.sol' and get back the resolved address(es) across supported registries. Currently supports ENS (.eth) and Bonfida SNS (.sol). Cached 1h server-side. $0.001 USDC.
- **token_price** — USD spot price for any major token. Pass either `symbol` (BTC, ETH, SOL, USDC, etc.) OR (chain + contract). Returns USD price, 24h change percent, market cap, fetched-at timestamp. CoinGecko-backed, cached 60s. $0.001 USDC.
- **decode_calldata** — Decode raw EVM calldata into a human-readable function name, canonical signature, and typed parameter values. Resolves the 4-byte selector against openchain.xyz's signature directory, then ABI-decodes the args. Use for tx inspection before signing, mempool analysis, debug. EVM-only (chain='ethereum'); 'solana' returns 400. $0.001 USDC.
- **parse_datetime** — Parse any freeform datetime string ('tomorrow at noon', 'yesterday', '2026-05-13T15:30Z', 'in 2 hours') into a fully structured normalized form: ISO 8601, unix epoch, components (year/month/day/hour/min/sec/weekday), relative seconds + human form, confidence score. Saves agent LLM tokens on date parsing. $0.001 USDC.
- **intel_wallet** — Unified wallet intelligence bundle. ONE call returns balances on Base + Ethereum + Solana, USDC across chains, transaction count, ENS/SNS reverse lookup, and sanctions verdict — all aggregated from 8–10 parallel free public sources. Replaces a wallet-investigation script with a single $0.005 call. Use for KYB pre-flight, counterparty research, fraud detection. $0.005 USDC.
- **roast** — Witty, observational roast of any target — a wallet address, tweet, code snippet, startup idea, person, meme, anything. Returns a 3-5 paragraph LLM roast and a one-sentence neutral summary of the target. Clever, not mean-spirited. Use for entertainment, demo content, social. $0.05 USDC.
- **oracle** — Yes/no oracle with dual-chain anchored verdict. LLM answers YES / NO / MAYBE with one-sentence reason, then anchors sha256(question|answer|timestamp) to Base + Solana mainnet so anyone can prove the question was asked at a specific time. Use for prediction-market commits, conditional contracts, time-stamped opinions, settling bets. $0.05 USDC.
- **tldr** — Summarize a URL or pasted text into 3-5 concise bullets. Fetches up to 500KB on the URL path, strips HTML with BeautifulSoup. Use for research distillation, link-rot insurance, agent reading lists. Exactly one of `text` or `url`. $0.01 USDC.
- **aura** — Aura read of any target — returns color (free-form e.g. 'molten gold with copper veins'), tier (S/A/B/C/D/F), score (0-9999), and a 2-3 sentence punchy description. Universal input — wallet, tweet, project, person, idea, meme. Use for viral / shareable content, brand vibes, social. $0.01 USDC.
- **grade** — Academic letter grade (A+ to F) with 3-7 red-pen marginalia one-liners and a one-paragraph teacher summary. Universal input — code, pitch deck, tweet, wallet, idea. Use for sharp feedback at low cost, prompt engineering eval, pre-investment screen. $0.01 USDC.

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

```json
"mcpServers": {
  "anchor-x402-mcp": {
    "command": "npx",
    "args": ["-y","anchor-x402-mcp"],
    "env": {
      "ANCHOR_WALLET_PRIVATE_KEY": "",
      "ANCHOR_API_URL": ""
    }
  }
}
```

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

## Documentation

## What hypeprinter007-stack/anchor-x402-mcp does

The hypeprinter007-stack/anchor-x402-mcp MCP server connects an MCP client to anchor-x402 services operating across Base, Ethereum, and Solana. The packaged stdio server provides 14 tools priced from $0.001 to $0.05 per call. These cover blockchain infrastructure, wallet research, market data, name resolution, date parsing, and general-purpose text or evaluation tasks.

Blockchain-focused tools include `anchor_hash`, which records a supplied 32-byte hash on both Base and Solana; `attest_decision`, which signs and anchors a decision receipt; `decode_tx` and `decode_calldata` for transaction inspection; and `resolve_name` for ENS and Bonfida SNS lookups. `screen_wallet` checks sanctions and address-reputation signals, while `intel_wallet` combines balances, activity, identity, and sanctions information.

The remaining tools are `token_price`, `parse_datetime`, `roast`, `oracle`, `tldr`, `aura`, and `grade`. The oracle tool also anchors its timestamped verdict to both chains. The investigator, random roll, ledger services, and hosted chatbot described by the wider anchor-x402 service are not included in the stdio MCP package.

## How it works

The local package communicates over MCP stdio. For each paid call, the configured wallet signs an x402 USDC payment authorization and the request is retried against the anchor-x402 API. USDC must be available on Base mainnet, and the wallet is charged according to the selected tool’s price.

A separate Streamable HTTP MCP endpoint is available at `https://api.anchor-x402.com/mcp`. It exposes 18 services and lets the caller provide a `PAYMENT-SIGNATURE` header, so the caller’s key does not need to be handed to the server process. An MCP client can connect directly to that URL, or use `mcp-remote` when it only supports launching local stdio processes.

Unpaid remote calls return payment requirements in the MCP result so an agent can inspect the challenge, sign an option, and retry the same call. Tool discovery is free; tool execution is paid.

## Setup and configuration

Install the stdio package with `npx -y anchor-x402-mcp`, then register it in an MCP client configuration. Set `ANCHOR_WALLET_PRIVATE_KEY` to an EVM private key for the wallet that will pay for calls. Fund that wallet with Base mainnet USDC. `ANCHOR_API_URL` is optional and can point the client at another API base, such as a self-hosted development fork.

The private key is stored in the MCP client configuration and should be treated as a hot-wallet credential. The project recommends using a separate, lightly funded wallet for agent spending. If the key is absent, paid calls return a message explaining that it must be configured; direct health and OpenAPI endpoints do not require payment.

## Tools and capabilities

- Anchor hashes and signed agent decisions on Base and Solana.
- Screen wallets for OFAC sanctions and reputation signals.
- Inspect EVM and Solana transactions and decode EVM calldata.
- Resolve ENS or Bonfida SNS names and retrieve cached token prices.
- Aggregate wallet balances, activity, identity, and sanctions data.
- Parse natural-language dates into normalized structured values.

The hypeprinter007-stack/anchor-x402-mcp MCP server is best suited to agents that can justify per-call USDC spending and need results from the listed anchor-x402 services rather than a free local data source.

_Full upstream README: https://allmcps.com/mcp/hypeprinter007-stack-anchor-x402-mcp/readme_

