Skip to main content
Buy a report carries the complete flow — CLI, MCP, and raw HTTP — on one page. This page expands the CLI and MCP routes.
The CLI is the default route for an agent purchase. @xintel/agent is one package that runs as both a CLI and an MCP server, and it carries the entire payment step — no x402/viem install, no ESM/CJS mismatch, no 0x-prefix or x402Version-1-vs-2 handling. Where Node is available, the CLI is the correct route: it is the quickest, and it removes every failure mode the raw route exposes. The raw HTTP flow is the fallback for environments that cannot run Node.

The three routes, in order

Buys shared report bodies only — never profile, posts, or edges. Same product and pricing as the HTTP API ($0.01 USDC per report on Base).

CLI (npx)

Nothing to install — npx fetches and caches it:
Add --json to any command for the raw response. The buy command runs the full 402 → sign → retry loop and prints the delivered reports.

MCP server

Add Xintel to any MCP-aware host (Cursor, Claude Desktop) — the same package, started with the mcp subcommand:
Tools exposed:

Environment

When to use what

  • CLI (npx) — the default. Best for scripts, cron, or agent frameworks (LangChain, CrewAI) that shell out. Zero setup per run.
  • MCP — for persistent hosted agents (Cursor, Claude Desktop). One-time mcp.json entry, then the agent calls tools directly.
  • Raw HTTP — the fallback, for environments that can’t run Node. See the raw HTTP flow.
All three hit the same endpoints and the same $0.01/report pricing.