Skip to main content
Glama

apix402data MCP Server (apix402data-mcp)

Glama MCP Connector Score

Open-source Node.js MCP stdio server (bin/cli.mjs + tools_catalog.json + Dockerfile) implementing 14 flagship crypto, DeFi, EVM pre-flight, SEC EDGAR, news, and web-intelligence MCP tools backed by the apix402data.com REST/x402 API (47 total endpoints, 10 free lifetime preview calls per IP).

  • Local Stdio MCP Server (bin/cli.mjs): Implements JSON-RPC initialize, ping, tools/list, and tools/call locally in Node.js (>=18, zero external dependencies) with built-in support for X402_SESSION_TOKEN (x402s_...), X402_PAYMENT_SIGNATURE, and automatic /api/free/* preview routing.

  • Docker Support: Includes a standalone Dockerfile (node:22-alpine) for containerized MCP runners.

  • Remote Streamable HTTP MCP Endpoint: https://apix402data.com/mcp (14 flagship MCP tools)

  • A2A Messaging Endpoint: https://apix402data.com/a2a (message/send, tasks/get) & POST /message:send

  • OpenAI-Compatible LLM Inference: POST https://apix402data.com/v1/chat/completions ($0.0018/call, local GPU qwen3.5:4b)

  • Free Preview (10 lifetime calls via /mcp or REST): GET https://apix402data.com/api/free/status & POST https://apix402data.com/api/free/<tool_path>

  • Card / Apple Pay Top-Up (Claude Web & Mobile): https://apix402data.com/pay — mints an instant 30-day session_token (x402s_...) to pass in any MCP tool call or Authorization: Bearer header

  • OpenAPI 3.1 Spec: https://apix402data.com/openapi.json

  • x402 / Bazaar Manifest: https://apix402data.com/.well-known/x402.json

  • A2A Agent Card: https://apix402data.com/.well-known/agent-card.json

  • Agent Docs (llms.txt): https://apix402data.com/llms.txt

  • Agent Skill (SKILL.md): https://apix402data.com/SKILL.md (SKILL.md)

  • Workflow Packages (JSON): https://apix402data.com/packages

Connect in Claude Desktop / Cursor / Windsurf / OpenCode

{
  "mcpServers": {
    "apix402data": {
      "type": "streamable-http",
      "url": "https://apix402data.com/mcp"
    }
  }
}

Or via stdio bridge:

{
  "mcpServers": {
    "apix402data": {
      "command": "npx",
      "args": ["-y", "apix402data-mcp"]
    }
  }
}

Related MCP server: x402farm-mcp

30-Second Copy-Paste Recipes (Most Used by Agents)

Top active endpoints: /api/token/risk ($0.01), /api/company ($0.002), /api/clean-url ($0.002), /api/defi/yield-matrix ($0.03), /api/crypto/news ($0.002), /api/workflow/tx-guardian-suite ($0.04).

# Try free right now (10 lifetime preview calls, no wallet required)
curl -s -X POST https://apix402data.com/api/free/token/risk \
  -H "Content-Type: application/json" \
  -d '{"address":"0x940181a94A35A4569E4529A3CDfB74e38FD98631","chain":"base"}'

Tool Categories (47 Paid Endpoints, $0.0018–$0.05 USDC on Base + Stripe MPP/Tempo)

  • OpenAI-Compatible LLM Inference: /v1/chat/completions & /api/v1/chat/completions ($0.0018/call, local GPU qwen3.5:4b with JSON mode)

  • Mega-Workflows (v5.3, 0% GPU): /api/workflow/tx-guardian-suite, /api/workflow/protocol-due-diligence, /api/workflow/defi-position-shield, /api/workflow/agent-treasury-audit, /api/workflow/cross-chain-arb-executor

  • Agent Workflows & Bypass (v5.2): /api/bypass/sweep, /api/agent/ephemeral-key, /api/bypass/cross-execute, /api/guard/preflight-bypass, /api/execution/stealth-slice, /api/security/approval-purge, /api/rails/route-select, /api/workflow/state-gate, /api/trust/wallet-attest, /api/chain/nonce-unstick

  • Token & Chain Data: /api/token/snapshot, /api/token/risk, /api/tx/decode, /api/chain/gas, /api/tokens/trending, /api/tokens/newest, /api/token/indicators, /api/onchain/prices, /api/chain/rpc-consensus, /api/allowance/check

  • Crypto, DeFi & Security: /api/crypto/news, /api/crypto/whale-flows, /api/crypto/exploit-radar, /api/crypto/state-attestation, /api/crypto/zk-receipt-verify, /api/defi/yield-matrix, /api/defi/arbitrage-radar, /api/defi/intent-routing, /api/security/preflight-402, /api/agent/execution-firewall, /api/agent/mev-shield-check, /api/agent/reputation-mesh

  • Web, News & SEC Research: /api/search, /api/news, /api/company, /api/clean-url

Payment Rails

  • x402 (Base USDC, EIP-3009): $0 buyer gas via Coinbase CDP facilitator

  • Stripe MPP: Card payments for >= $0.50 / session calls

  • Session Tunnel: POST /api/agent/session-open ($1.00 pre-funded bearer token)

Available Tools

14 tools
agent_session_openPre-funded agent session tunnelA

[$1.00] Deposit $1.00 USDC once to mint an HMAC-signed Bearer session token (x402s_...) for zero-402 high-frequency API calls with atomic balance debits. Do not use for single paid calls or read-only checks (call any tool directly with x402/MPP). Every call charges $1.00 USDC and mints a fresh x402s_... Bearer session (does not top up prior sessions); ttl_minutes sets expiry and payer_address binds ownership. Persists prepaid meter in SQLite (non-custodial); requires x402/MPP at 30-60 req/min.

Inputs: ttl_minutes, payer_address. Returns: cached, endpoint, expires_at, session_id, +6 more

defi_cross_arb_planNet-profit cross-chain arb & tranche execution plannerA
Read-onlyIdempotent

[$0.04] Trigger When: sizing cross-chain DEX arbitrage after all fees. Workflow Outcome: verifies dual-chain RPCs, deducts gas, bridge, and slippage costs, and outputs a tranche plan. Do not use for DeFi yield pool ranking (use defi_yield_pools) or single-token snapshots (use token_market_snapshot). source_chain and destination_chain must differ, and profitable_after_costs turns false whenever gas+bridge+slippage exceed spread. Live DEX/RPC, read-only non-custodial plan; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

Inputs: asset, amount_usd, source_chain, session_token, +2 more. Returns: asset, cached, venues, degraded, +9 more

defi_position_shieldMulti-protocol lending health & rescue calldata builderA
Read-onlyIdempotent

[$0.04] Trigger When: guarding a DeFi wallet against liquidation or stale approvals. Workflow Outcome: stress-tests Aave/Compound health factor (-10%/-20%) and builds unsigned repay & revoke txs. Do not use for pool yield discovery (use defi_yield_pools) or wallet PnL logs (use wallet_treasury_pnl). The -10% and -20% collateral drops are fixed stress simulations, while target_health_factor sets the safety target used to size unsigned_aave_repay_tx. Live Aave/Compound RPCs, read-only non-custodial (no broadcast); requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

Inputs: chain, wallet, session_token, target_health_factor. Returns: chain, cached, wallet, aave_v3, +10 more

defi_protocol_tvl_checkInstitutional protocol & token circuit-breaker dossierA
Read-onlyIdempotent

[$0.05] Trigger When: deciding whether to pause or exit a DeFi protocol. Workflow Outcome: checks paused/owner/proxy slots, bytecode, TVL shock, DEX liquidity, and 48h exploit feeds. Do not use for single-tx calldata simulation (use evm_tx_simulate), single-token honeypot scans (use token_honeypot_scan), or wallet borrow health (use defi_position_shield). Provide contract_address for on-chain paused()/proxy/DEX checks, protocol for DeFiLlama TVL shock, or both (omitting both returns 400). Live RPC/DeFiLlama/DexScreener, read-only non-custodial; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

Inputs: chain, protocol, session_token, contract_address. Returns: chain, flags, owner, cached, +18 more

defi_yield_poolsCross-chain DeFi real-yield & liquidity matrixA
Read-onlyIdempotent

[$0.03] Rank cross-chain DeFi liquidity pools with TVL >= $5M by risk-adjusted real base APY, impermanent loss exposure, and strategic allocation advice. Do not use for cross-chain swap arbitrage (use defi_cross_arb_plan) or wallet borrow health (use defi_position_shield). chain defaults to 'base' (pass 'all' to scan all supported chains at $5M+ TVL), and expiring timeout_ms returns degraded=true with deterministic rankings only. Live DeFiLlama data, read-only; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 20 req/min.

Inputs: chain, timeout_ms, session_token. Returns: chain, pools, cached, degraded, +8 more

evm_tx_simulateAll-in-one pre-sign calldata & EIP-712 security suiteA
Read-onlyIdempotent

[$0.04] Trigger When: vetting an EVM tx or off-chain Permit2/EIP-712 signature. Workflow Outcome: runs calldata/typed-data decode, bytecode & taint audit, eth_call simulation, and safe rewrite. Do not use for DeFi protocol TVL/circuit-breaker checks (use defi_protocol_tvl_check) or token honeypot scans (use token_honeypot_scan). Supply to+data for calldata simulation, typed_data for off-chain EIP-712/Permit2 vetting, or both; from_addr enables sender-accurate eth_call. Live RPC/bytecode/taint check, read-only non-custodial (no broadcast); requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

Inputs: to, data, chain, from_addr, +2 more. Returns: chain, flags, cached, degraded, +15 more

news_crypto_feedCrypto news sentimentA
Read-onlyIdempotent

[$0.002] Get real-time cryptocurrency and DeFi news headlines enriched with per-article sentiment scores and mentioned token tickers in structured JSON. Do not use for general web search (use web_search) or SEC filings (use sec_company_lookup). ticker and asset are aliases, and sort='quality' (default) ranks by freshness+tier while 'newest' sorts strictly chronologically. Live feeds, read-only; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

Inputs: q, sort, asset, limit, +2 more. Returns: sort, count, dedup, query, +10 more

sec_company_lookupSEC EDGAR company intelligenceA
Read-onlyIdempotent

[$0.002] Look up public company financials, CIK, recent SEC EDGAR filings (10-K/10-Q/8-K), and recent news sentiment by stock ticker (supports up to 5 batched tickers). Do not use for crypto tokens (use token_market_snapshot) or open web search (use web_search). tickers overrides ticker to batch up to 5 symbols, while include_news=false skips headline sentiment to reduce latency. Live SEC EDGAR data, read-only; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

Inputs: limit, fields, ticker, tickers, +2 more. Returns: count, cached, ticker, results, +2 more

token_honeypot_scanEVM token risk verdict & honeypot scanA
Read-onlyIdempotent

[$0.01] Token risk verdict & honeypot scan ($0.01/call — 50% cheaper than $0.02 verdicts): proxy upgradeability, owner renouncement, mint/blacklist/fee/trading-toggle bytecode, DEX liquidity, 0-100 score & AI grade. Do not use for token price/FDV/liquidity (use token_market_snapshot), protocol TVL checks (use defi_protocol_tvl_check), or pre-tx simulation (use evm_tx_simulate). chain accepts EVM networks (base, ethereum, arbitrum, optimism; not Solana), and expiring timeout_ms returns degraded=true omitting the LLM verdict. Live RPC bytecode + DEX, read-only; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

Inputs: chain, address, timeout_ms, session_token. Returns: ai, as_of, chain, token, +11 more

token_market_snapshotLive token market snapshot with AI momentum readA
Read-onlyIdempotent

[$0.003] Live token price, liquidity, FDV, market cap, 24h volume, price change, and buy/sell order flow from DEX pairs, plus deterministic anomaly flags and a local qwen3.5:4b momentum and risk read. Do not use for contract honeypot safety (use token_honeypot_scan) or DeFi yield pools (use defi_yield_pools). chain defaults to 'base' (supports base, ethereum, arbitrum, optimism, solana), and expiring timeout_ms returns degraded=true omitting the LLM summary. Live DEX data, read-only; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

Inputs: chain, token, timeout_ms, session_token. Returns: ai, pair, as_of, chain, +9 more

wallet_treasury_pnlWallet portfolio, history, compliance & PnL auditA
Read-onlyIdempotent

[$0.04] Trigger When: auditing wallet history, multi-asset portfolio USD value, or agent readiness. Workflow Outcome: aggregates ETH/WETH/USDC portfolio, nonce history, top counterparties, taint, and PnL. Do not use for DeFi borrow liquidation checks (use defi_position_shield) or protocol TVL checks (use defi_protocol_tvl_check). lookback_blocks is clamped to 100-2000 (default 1000) to keep eth_getLogs fast across public RPCs. Live RPC/log scan, read-only non-custodial; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

Inputs: chain, wallet, session_token, lookback_blocks. Returns: chain, cached, wallet, balances, +12 more

web_fetch_markdownWebpage to clean LLM MarkdownA
Read-onlyIdempotent

[$0.002] Fetch any public HTTPS webpage (SSRF-guarded), strip ads/nav boilerplate, and return clean LLM-ready Markdown, word count, summary, and extracted entities ($0.002/call). Do not use for searching across sites (use web_search) or probing x402 paywalls (use x402_paywall_probe). Only summarize=true invokes the local LLM, and expiring timeout_ms returns degraded=true with extracted Markdown but no summary. Live SSRF-guarded HTTPS fetch, read-only; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

Inputs: url, summarize, timeout_ms, session_token. Returns: url, cached, endpoint, entities, +8 more

x402_paywall_probePre-flight x402 security audit & prompt-injection detectorA
Read-onlyIdempotent

[$0.002] Pre-flight x402 endpoint security firewall & prompt-injection detector. Probes any URL unpaid to catch price spikes, SIWx spoofing, fake USDC, and prompt injections ($0.002/call). Do not use for EVM calldata simulation (use evm_tx_simulate) or token bytecode scans (use token_honeypot_scan). method sets the HTTP probe verb (GET vs POST) used to trigger the 402 header, deep_audit=true runs prompt-injection checks, and max_acceptable_usd caps price validation. Live HTTP probe, read-only; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

Inputs: url, method, deep_audit, session_token, +1 more. Returns: probe, cached, checks, pay_to, +16 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.5/5.0

    Scored across 14 tools

    Disambiguation4/5

    Descriptions explicitly carve up the space with 'Do not use X (use Y)' cross-references, making selection straightforward for tools like web_search vs web_fetch_markdown and token_market_snapshot vs token_honeypot_scan. There is residual overlap within the on-chain cluster (token_market_snapshot, token_honeypot_scan, defi_protocol_tvl_check, evm_tx_simulate all ingest an address and return risk signals), but the guidance disambiguates them well.

    Naming Consistency4/5

    All names are snake_case with clear domain prefixes (web_, news_, sec_, x402_, token_, defi_, evm_, wallet_, agent_), which is very predictable. Minor deviation in ordering: some are verb-final/verb-second (web_search, evm_tx_simulate) while others are noun phrases (token_market_snapshot, defi_yield_pools, news_crypto_feed).

    Tool Count5/5

    14 tools sits comfortably in the well-scoped range and each one covers a distinct capability (search, fetch, crypto news, SEC, x402 probing, token data, security scans, DeFi analysis, session minting). No tool appears redundant or filler.

    Completeness4/5

    The surface covers a full research-to-risk workflow: data gathering, on-chain snapshots, security/exploit checks, DeFi planning, tx simulation, and prepaid session management. Gaps are minor — no historical OHLC/price time series, no general cross-wallet balance endpoint, and no batch multi-tool orchestration beyond single-call aliases.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server that provides AI agents with pay-per-call access to a suite of tools (honeypot check, token market, DeFi yields, etc.) via USDC on Base using the x402 protocol.
      MIT
    • A
      license
      A
      quality
      A
      maintenance
      Open-source MCP server exposing the Agent402.Tools catalog: 500+ pay-per-call tools for AI agents, including browser rendering, web search, PDFs, OCR, LLM inference, code execution, live financial/crypto/macro data, SEC EDGAR, and wallet-keyed memory. Free via proof-of-work, or pay per call in USDC across ten chains via the x402 protocol. No API keys, no signups
      14
      53
      AGPL 3.0