APEX X1
# APEX MCP Server (`apex-mcp`)
**419 hosted MCP tools (`376` paid x402 APIs, `351` card-payable API storefronts) for AI agents** — featuring **Headless Chrome Page Extraction (`page_extract`)**, **Atomic 1–6 Step Parallel DAG Workflows (`workflow_run` at [apexfaucet.xyz/studio/](https://apexfaucet.xyz/studio/))**, **Automated B2B AI-Readiness Packs (`ai_readiness_pack` at [apexfaucet.xyz/b2b/](https://apexfaucet.xyz/b2b/))**, **APEX Synapse** (Deduplicated Work & 80% Royalty Exchange at [apexfaucet.xyz/synapse/](https://apexfaucet.xyz/synapse/)), **Persistent Agent Cloud KV Memory & 1-Call Deep Web Research** ([apexfaucet.xyz/memory/](https://apexfaucet.xyz/memory/)), **Live AI/Crypto Outage & Perp Squeeze Pulse** ([apexfaucet.xyz/pulse/](https://apexfaucet.xyz/pulse/)), **APEX Veritas Proof-of-Execution Notary & 300–950 Machine Credit Bureau** ([apexfaucet.xyz/veritas/](https://apexfaucet.xyz/veritas/)), the two-sided **APEX Trust Stack** (**Ed25519 Agent Payment Firewall** at [apexfaucet.xyz/firewall/](https://apexfaucet.xyz/firewall/) + **Ed25519 Work Output Grader** at [apexfaucet.xyz/grade/](https://apexfaucet.xyz/grade/)), and **Alita 5-Venue Quant Terminal** ([apexfaucet.xyz/trade/](https://apexfaucet.xyz/trade/)) — plus AI/LLM inference, embeddings, text rewrite/keywords/classify, HTML XSS/injection sanitizer, npm/PyPI supply-chain security audit, GitHub repo health, website tech-stack fingerprinting, URL phishing check, RSS-to-JSON, ECB FX conversion, live crypto/DeFi news, JSON extraction/Schema/diff/CSV, translation, summarization, sentiment, OCR/STT/TTS, FLUX/SVG/QR generation, headless Chrome web rendering & PDF<->Markdown conversion, DeFi & 8-chain EVM intelligence, WHOIS/IP-geo/CVE/OpenAlex research, A2A agent card grading, and x402 market price comps.
Pay per call over **[x402](https://x402.org)** (USDC on Base, Arc, or Solana, or XNT on X1) — **or** use a prepaid **Card API Key (no crypto)** at [apexfaucet.xyz/pass/](https://apexfaucet.xyz/pass/) (`$5` Starter, `$20` Builder -> `$25` +25%, `$50` Pro -> `$65` +30%, tax included, credits never expire). Failed calls and bad inputs are refused before charge.
Hosted Streamable HTTP server: `https://apexfaucet.xyz/api/mcp` · Storefronts: [apexfaucet.xyz/api-tools/](https://apexfaucet.xyz/api-tools/) · Starter Kit: [apexfaucet-hub/apex-agent-starter](https://github.com/apexfaucet-hub/apex-agent-starter) · Pricing: [apexfaucet.xyz/pricing/](https://apexfaucet.xyz/pricing/)
This repository is a tiny, zero-dependency stdio bridge to the hosted server for clients that launch MCP servers as local commands (Claude Desktop, Cursor, Cline, Windsurf, VS Code).
## Start in 30 Seconds with `APEX_API_KEY` ($5 Card Key — No Crypto)
Don't want to manage crypto wallets or gas? Mint a prepaid Card API Key (`apx_...`) at **[apexfaucet.xyz/pass/](https://apexfaucet.xyz/pass/)**:
1. Pick `$5` Starter, `$20` Builder (`$25` credit), or `$50` Pro (`$65` credit) — zero subscription, credits never expire.
2. Pass your key to any MCP client or HTTP request via `APEX_API_KEY=apx_...` (stdio bridge), `Authorization: Bearer apx_...`, or `X-API-Key: apx_...`.
**Claude Code 1-liner:**
```bash
claude mcp add --transport http apex https://apexfaucet.xyz/api/mcp \
--header "Authorization: Bearer apx_YOUR_KEY"
```
### Copy-Paste Examples: `page_extract`, `workflow_run`, `ai_readiness_pack`
Call these directly via your connected MCP client (or test via Streamable HTTP JSON-RPC):
**1. `page_extract` (`$0.009` — Headless Chrome SPA/docs extractor; 1 free call/day at `/api/free/page-extract`):**
```bash
curl -sS -X POST https://apexfaucet.xyz/api/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "Authorization: Bearer $APEX_API_KEY" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "page_extract",
"arguments": { "url": "https://example.com", "full": "1" }
}
}'
```
**2. `workflow_run` (`$0.015` — Parallel 1–6 step atomic DAG + Ed25519 receipt; 3 free previews/day at `/studio/`):**
```bash
curl -sS -X POST https://apexfaucet.xyz/api/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "Authorization: Bearer $APEX_API_KEY" \
-d '{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "workflow_run",
"arguments": { "blueprint": "b2b_enterprise_recon", "domain": "cloudflare.com" }
}
}'
```
**3. `ai_readiness_pack` (`$0.05` API / `$29` full kit at `/b2b/` — `/llms.txt`, `agent-card.json`, DMARC/SPF, HTTP headers):**
```bash
curl -sS -X POST https://apexfaucet.xyz/api/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "Authorization: Bearer $APEX_API_KEY" \
-d '{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"name": "ai_readiness_pack",
"arguments": { "domain": "cloudflare.com" }
}
}'
```
> Want runnable Node 20+ & Python quickstart scripts for all three? See **[apexfaucet-hub/apex-agent-starter](https://github.com/apexfaucet-hub/apex-agent-starter)**.
## Pick a focused MCP profile (saves agent context)
Instead of loading all 419 tools, connect directly to one domain endpoint (all listed in the [Official MCP Registry](https://registry.modelcontextprotocol.io) under `xyz.apexfaucet/*`):
| Focused Streamable HTTP Endpoint | Bridge arg | Tools | Best for |
|---|---|---:|---|
| `https://apexfaucet.xyz/api/mcp/safety` | `safety` | 25 | Two-sided Agent Trust & Veritas Stack: `agent_firewall` (Ed25519 spend/policy gate), `work_grade` (Ed25519 deliverable/escrow grader), `veritas_notary` (Proof-of-Execution chain), `agent_credit` (300-950 Machine Credit Bureau), `agent_launch_audit`, `html_sanitize`, `prompt_guard`, `pii_redact`, `content_safety`, `package_audit`, `url_threat_check`, `cve_lookup`, `agent_card_grade`, `tx_check` (Base + Solana), `delivery_score`, `contract_audit`, `evm_log_decode`, `wallet_investigate`, `base_verdict`, `token_exit_matrix` |
| `https://apexfaucet.xyz/api/mcp/dev` | `dev` | 32 | Developer, Synapse Royalties, Cloud Memory & Trust suite: `work_commons` (`$0.002`), `work_mint` (`$0.005`), `agent_memory` (`$0.001`), `deep_research` (`$0.003`), `agent_spotlight` (`$0.01`), `ai_infra_status` (`$0.001`), `agent_firewall`, `work_grade`, `veritas_notary`, `agent_credit`, `agent_launch_audit`, `html_sanitize`, `package_audit` (npm/PyPI OSV), `github_repo_intel`, `cve_lookup`, `tech_stack_detect`, `url_threat_check`, `json_toolbox`, `json_repair`, `qr_generate`, `pdf_to_markdown`, `markdown_to_pdf`, `html_to_pdf`, `rss_to_json`, `fx_convert`, `whois_lookup`, `ip_geolocate`, `agent_card_grade`, `x402_price_comps`, `delivery_score`, `prompt_guard`, `pii_redact` |
| `https://apexfaucet.xyz/api/mcp/ai` | `ai` | 31 | Synapse Work Commons (`work_commons`, `work_mint`), Persistent Agent KV Memory (`agent_memory`), 1-Call Deep Research (`deep_research`), OpenAI chat & Anthropic Messages, BGE embeddings, `work_grade`, `text_rewrite`, `text_keywords`, `text_classify`, `json_extract`, `json_repair`, `json_toolbox`, `text_translate` (100 langs), `text_summarize`, `text_sentiment`, `svg_generate`, `qr_generate`, `image_generate` (FLUX), `image_analyze`, `image_ocr`, `audio_transcribe` (Whisper), `text_to_speech` (Deepgram Aura-2), `html_to_pdf`, `markdown_to_pdf`, `pdf_to_markdown`, `html_sanitize`, `prompt_guard`, `pii_redact`, `content_safety` |
| `https://apexfaucet.xyz/api/mcp/web` | `web` | 42 | Headless Chrome `page_extract`, `browser_render`, `ai_readiness_pack`, `b2b_lead_audit`, `page_markdown`, `html_to_markdown`, `html_sanitize`, `html_to_pdf`, `markdown_to_pdf`, `pdf_to_markdown`, Synapse Work Commons (`work_commons`, `work_mint`), 1-Call Deep Research (`deep_research`), Agent KV Memory (`agent_memory`), Global Agent Wire (`agent_spotlight`), `tech_stack_detect`, `rss_to_json`, `url_threat_check`, `qr_generate`, `json_toolbox`, `agent_card_grade`, `x402_price_comps`, `paper_search` (OpenAlex), `whois_lookup` (IANA RDAP), `ip_geolocate`, `site_extract`, `web_read`, `company_dossier`, `email_verify_bulk`, `dns_records`, `tls_cert`, `security_headers` |
| `https://apexfaucet.xyz/api/mcp/defi` | `defi` | 37 | Live Crypto & Squeeze Pulse (`crypto_pulse`), Alita Quant Terminal (`trade_edge`), DefiLlama `defi_chains_tvl`, `defi_protocol_tvl`, `defi_yields`, `dex_volumes`, `dex_new_pools`, `perp_funding`, `crypto_fear_greed`, `crypto_news_feed`, `fx_convert`, `evm_log_decode`, `contract_audit`, `base_verdict`, `tx_check`, `evm_token_info`, `evm_wallet_balance`, `crypto_price`, `fx_rate`, `gas_all`, `cross_chain_quote`, `token_exit_matrix` |
| `https://apexfaucet.xyz/api/mcp/evm` | `evm` | 34 | 8-chain EVM reads & simulations (Ethereum, Base, Arbitrum, Optimism, Polygon, BNB, Arc, Robinhood) |
| `https://apexfaucet.xyz/api/mcp/arc` | `arc` | 107 | Circle Arc L1 tools: free USDC faucet, `arc_exit_check`, `arc_holders`, `arc_trades`, `arc_send_guard`, `market_search`, ERC-8004 passports |
| `https://apexfaucet.xyz/api/mcp/x1` | `x1` | 40 | X1 blockchain tools: `x1_passport`, `x1_agents`, `x1_payment_check`, `exit_check`, token/wallet reports, unsigned swaps |
| `https://apexfaucet.xyz/api/mcp/g2jobs` | `g2jobs` | 3 | ERC-8183 USDC agent job escrow on Base & Arc |
| `https://apexfaucet.xyz/api/mcp` | *(none)* | 419 | Full catalogue (`ask_apex` router, `workflow_run` DAG engine + all 419 tools) |
## Quick Install
### Option 1: Direct Streamable HTTP (Claude Code, VS Code, Cursor, SDKs)
```json
{
"mcpServers": {
"apex": {
"url": "https://apexfaucet.xyz/api/mcp",
"headers": {
"Authorization": "Bearer apx_your_key_optional"
}
}
}
}
```
*(Omit `headers` to pay per call via x402 USDC/XNT with no account or API key. Both `Authorization: Bearer apx_...` and `X-API-Key: apx_...` are supported.)*
### Option 2: Local stdio bridge (`npx`)
```json
{
"mcpServers": {
"apex-web": {
"command": "npx",
"args": ["-y", "github:apexfaucet-hub/apex-x1-mcp", "web"],
"env": {
"APEX_API_KEY": "apx_your_key_optional"
}
}
}
}
```
Replace `"web"` with `"safety"`, `"dev"`, `"ai"`, `"defi"`, `"evm"`, `"arc"`, `"x1"`, `"g2jobs"`, or omit it for all 419 tools. Set `APEX_MCP_URL` to override the endpoint directly. Requires Node 18+.
The Docker image in this repo (used by Glama and container registries) runs `node index.js x1` by default; pass any profile argument or no argument to change it.
## Pricing & Payment Options
Every paid tool is priced transparently (`$0.001`–`$0.05` for most tools; full table at [apexfaucet.xyz/pricing/](https://apexfaucet.xyz/pricing/)):
- **Card — no crypto needed (up to +30% bonus):** Buy an API Key (`apx_...`) by credit/debit card at **[apexfaucet.xyz/pass/](https://apexfaucet.xyz/pass/)** (`$5` Starter, `$20` Builder -> `$25` +25%, `$50` Pro -> `$65` +30%, tax included, credits never expire) and pass it in `X-API-Key` (or `APEX_API_KEY` env var / `Authorization: Bearer apx_...`). Unlocks every paid HTTP endpoint and MCP tool with zero per-call signing latency and automatic refund on errors.
- **Prepaid USDC API Passes (+30% / +40% bonus):**
- `GET|POST /api/x402/api-pass` — `$0.50` USDC -> **`$0.65`** credit (+30%)
- `GET|POST /api/x402/api-pass-pro` — `$2.00` USDC -> **`$2.80`** credit (+40%)
- **Pay-per-call x402 (no account):** USDC on Base (`eip155:8453`), Arc (`eip155:5042`), or Solana, gas-free Circle Gateway balance on Arc/Base, or XNT on X1.
- **Free daily samples:** 22 endpoints answer one free real call per day at `https://apexfaucet.xyz/api/free/<slug>` (list: `GET https://apexfaucet.xyz/api/free/x`).
## Representative Prices (Direct HTTP or MCP)
| Category | Endpoints | Price |
|---|---|---:|
| Guardrails & dev utils | `prompt-guard`, `pii-redact`, `json-repair`, `json-toolbox` (Schema/diff/CSV), `qr-generate`, `content-safety`, `cve-lookup`, `whois-lookup`, `ip-geolocate`, `crypto-fear-greed` | `$0.001` |
| AI NLP & vectors | `embeddings` (`/v1/embeddings`), `text-translate`, `text-summarize`, `text-sentiment` | `$0.001` |
| AI LLMs, research & comps | `chat-completions`, `llm-messages` (`/v1/messages`), `svg-generate`, `dex-volumes`, `paper-search`, `agent-card-grade`, `x402-price-comps` | `$0.002` |
| Documents, browser & OCR/TTS | `pdf-to-markdown` (`$0.002`), `html-to-markdown` (`$0.002`), `browser-render` (`$0.003`), `html-to-pdf` (`$0.003`), `markdown-to-pdf` (`$0.003`), `image-ocr` (`$0.004`), `text-to-speech` (`$0.004`) | `$0.002–$0.004` |
| Structured AI & audio/image | `json-extract`, `image-generate` (FLUX.1), `image-analyze`, `audio-transcribe` (Whisper) | `$0.005` |
| Web scraping & workflows | `page-markdown` (`$0.002`), `web-read` (`$0.003`), `page-extract` (`$0.009`), `workflow-run` (`$0.015`), `ai-readiness-pack` (`$0.05`), `site-extract` (`$0.14`) | `$0.002–$0.14` |
| DeFi & EVM intel | `evm-token-info`/`gas-all`/`tx-check` (`$0.001`), `defi-chains-tvl`/`defi-yields`/`evm-log-decode` (`$0.004`), `perp-funding` (`$0.005`), `contract-audit` (`$0.05`) | `$0.001–$0.05` |
## Discovery
- OpenAPI 3.1: `https://apexfaucet.xyz/openapi.json`
- MCP Server Card: `https://apexfaucet.xyz/.well-known/mcp/server-card.json`
- x402 Catalogue: `https://apexfaucet.xyz/.well-known/x402`
- Agent Guide: `https://apexfaucet.xyz/llms.txt`
## Development
```sh
npm test
```
Runs `node --test` against a local mock MCP server (no network, no dependencies, passes on Node 18/20/22).
MIT licensed.
TDQS
Scored across 20 tools
Each tool targets a distinct resource or action (token lookup, exitability, wallet holdings, agent registry, etc.), and descriptions explicitly cross-reference alternatives. Minor potential confusion among agent-related tools (x1_agents, x1_passport, erc8004_how_to) and token-price tools, but the set generally disambiguates well.
All names use lower snake_case consistently, with no camelCase mixing. However, the set mixes noun phrases (holdings, candles, threat_intel) with a few action phrases (get_onto_x1, swap_build, token_lookup), so the pattern is not fully uniform.
20 tools is at the heavy end for a single MCP server. While most tools have distinct purposes, the surface could likely be consolidated in places, such as agent-related tools and token data tools.
Covers core X1 token, wallet, trade, exitability, payment, and agent workflows. Notable gaps include no firehose/chain-wide trade tool despite being referenced in recent_trades, and no agent management beyond initial registration.