x402-ads-mcp
v0.2.7x402 ad recommendations, intent analytics, and machine-commerce demand reports.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_tools List Tools
Free. Lists every x402 Ads tool with its live price, so an agent can pick before paying. Fetches GET /menu with no payment.
get_network_counters Get Network Counters
Free. Live totals for the ForgeMesh machine-commerce network: 402 responses observed, agent-class requests, recommendations served, services reporting, and x402 services indexed.
preview_recommendations Preview Recommendations
Free. See the exact typed recommendations block (sponsored + similar x402 services) that the @forgemeshlabs/x402-ads middleware would inject into a 402 response for a given endpoint and category.
| Parameter | Type | Description |
|---|---|---|
category | string | Category to match recommendations against, e.g. finance, blockchain, images |
endpoint | string | The probed endpoint path, e.g. /api/forecast |
service | string | Your service identifier, used only for self-exclusion in results |
get_network_stats Get Network Stats
Paid, $0.005 USDC on Base via x402. x402 network traffic stats: network-wide totals (events, services), traffic classification split and ad activity. Without WALLET_PRIVATE_KEY, returns the x402 payment challenge instead of settling.
get_intent_trends Get Intent Trends
Paid, $0.01 USDC on Base via x402. x402 agent demand trends: the most-requested x402 endpoints and categories by autonomous agents in a time window, with total and agent-only probe counts. Without WALLET_PRIVATE_KEY, returns the x402 payment challenge instead of settling.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max rows, 1-100 (default 20) |
window | string | Time window: 24h, 7d, 30d, or all (default 7d) |
get_category_demand Get Category Demand
Paid, $0.02 USDC on Base via x402. x402 category demand depth: probe volume, agent probes, conversions, price points probed and a daily series for one API category. Without WALLET_PRIVATE_KEY, returns the x402 payment challenge instead of settling.
| Parameter | Type | Description |
|---|---|---|
category * | string | Category to measure, e.g. finance, blockchain, images, tts |
window | string | Time window: 24h, 7d, 30d, or all (default 30d) |
get_intent_report Get Intent Report
x402 conversion funnel report for one service (why agents probe but do not pay): bounce funnel, traffic classes, top abandoned endpoints, retry signals. FREE with X402_ADS_PUBLISHER_KEY for your registered services (the service id is bound to your key at registration); otherwise $0.05 USDC on Base via x402. Without a publisher key or WALLET_PRIVATE_KEY, returns the x402 payment challenge.
| Parameter | Type | Description |
|---|---|---|
service * | string | Service identifier to report on |
window | string | Time window: 24h, 7d, 30d, or all (default 30d) |
get_terms Get Terms & Data Disclosure
Free. The network's canonical terms of service and complete data-collection disclosure: exactly what the middleware sends and never sends.