apix402data-mcp
# apix402data MCP Server (`apix402data-mcp`)
[](https://glama.ai/mcp/connectors/com.apix402data/x402-data-api)
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](./SKILL.md))
- **Workflow Packages (JSON):** `https://apix402data.com/packages`
## Connect in Claude Desktop / Cursor / Windsurf / OpenCode
```json
{
"mcpServers": {
"apix402data": {
"type": "streamable-http",
"url": "https://apix402data.com/mcp"
}
}
}
```
Or via stdio bridge:
```json
{
"mcpServers": {
"apix402data": {
"command": "npx",
"args": ["-y", "apix402data-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`).
```bash
# 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)
TDQS
Scored across 14 tools
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.
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).
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.
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.