mapper-mcp
v0.5.0MCP server for the SmartFlow x402 endpoint catalogue.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_catalog_stats
Aggregate counts over the full SmartFlow x402 endpoint catalogue: total endpoints, spec-valid (payment_required_valid=1) count, and breakdown by registry source (402index, well-known-discovery, Coinbase Bazaar, x402scan, apiosk-catalog, and others).
list_endpoints
Paginated browse over the catalogue with optional filters. Returns endpoint records with URL, registry source, declared chain/network, HTTP probe status, first/last seen timestamps, the strict x402 v2 spec-validity flag (payment_required_valid), and on-chain payment metadata where available. Common patterns: filter by status=402 to narrow to paid endpoints; combine with spec_valid=1 to get only endpoints that emit a strict v2 schema body (11.5k of 13k as of the 2026-05-19 sweep). Use search_endpoints instead when you have a text query.
| Parameter | Type | Description |
|---|---|---|
chain | string | Filter by declared chain or network — accepts both formats. Examples: 'eip155:8453' or 'Base' (Base mainnet), 'solana', 'Lightning', 'Tempo', 'Base Sepolia'. |
limit | integer | Items per page (1-100, default 25). |
page | integer | 1-indexed page number (default 1). |
source | string | Filter by registry source substring (LIKE-match). Examples: 'bazaar' (Coinbase Bazaar), '402index', 'x402scan', 'apiosk-catalog', 'well-known-discovery'. |
spec_valid | integer | Filter by strict x402 v2 schema validity flag. 1 = body validates (accepts[] array with scheme + network + payTo + maxAmountRequired); 0 = HTTP 402 returned but body is non-compliant. |
status | integer | Filter by last HTTP probe status code. Common: 402 (paid), 200 (alive landing), 404 (dead), 0 (probe timeout/error). |
volume_gt | number | Filter by on_chain_volume_usdc > X (USDC float). Returns only endpoints whose observed on-chain USDC payment volume strictly exceeds the threshold. Useful for surfacing high-traffic endpoints. |
search_endpoints
Text search over the catalogue across URL, declared chain, and registry source. Use when an agent is looking for endpoints that mention a specific provider, domain fragment, or chain identifier. Search is substring-matched (case-insensitive).
| Parameter | Type | Description |
|---|---|---|
q * | string | Search string (e.g. 'cdp', 'lightning', 'asterpay'). |
limit | integer | Maximum items to return (1-100, default 25). |
get_endpoint_details
Fetch the full record for a single endpoint by URL: registry source, declared chain/network, HTTP probe history, response shape, asset address, payment-required amount/token, on-chain payment counts and wallet, TLS issuer, and discovery provenance.
| Parameter | Type | Description |
|---|---|---|
url * | string | Full endpoint URL as it appears in the catalogue (e.g. 'https://x402.quickintel.io/v1/scan/full'). |
get_active_endpoints
Return the cohort of endpoints seen within the last N days, ordered by last_seen DESC. Useful for tracking which endpoints in the catalogue are currently alive vs. stale. The catalogue is re-probed regularly; last_seen is the timestamp of the most recent successful probe. Window is 1-90 days (default 7).
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum endpoints to return (1-500, default 100). |
window_days | integer | Look-back window in days (1-90, default 7). Endpoints with last_seen >= now - window_days are returned. |
get_chain_breakdown
Aggregate segmentation of the catalogue by declared chain/network. Returns one row per chain with: total endpoint count, count of endpoints currently returning HTTP 402 (paid + alive), and total observed on-chain USDC payment volume. Useful for buyer agents that need to size each chain's slice of the x402 economy before picking where to deploy. Sorted by count DESC.
get_facilitator_breakdown
v0.5.0+: returns actual facilitator address aggregation joined from payments.db. Each row is one facilitator wallet (tx_sender on USDC x402 transfers) with: facilitator_address, facilitator_label (from the on-chain labelled facilitators table when known, else 'unknown'), tx_count (distinct tx hashes), distinct_recipients (distinct mapper- catalogued endpoint wallets paid through this facilitator), and total_volume_usdc. Joins payments.payments → mapper.endpoints on to_wallet = on_chain_wallet (paid → catalogued endpoint), then left-joins payments.facilitators on tx_sender = address for lab…
get_facilitator_source_breakdown
Legacy v0.4.0 behaviour preserved as backwards-compatible alias: aggregate segmentation by registry_source (discovery channel proxy — 402index, well-known-discovery, Coinbase Bazaar, x402scan, apiosk- catalog, CDP Discord, direct crawl). This is NOT a facilitator wallet breakdown; it segments the catalogue by where each endpoint was discovered. Use get_facilitator_breakdown instead when you need the actual on-chain facilitator address aggregation. Returns count + total on-chain USDC volume per discovery source, sorted by count DESC, capped at top 100. May be deprecated in a future major rele…