You have access to ClawCard via the clawcard CLI. All commands support --json for machine-readable output. Always pass --json when calling these commands.
Quick Start
clawcard agent info --json # Your identity, email, phone, balance
clawcard agent pay <slug> '<json>' --json # Pay for any capability
clawcard agent catalog --json # Browse all capabilities
clawcard agent catalog-search "flights" --json # Search capabilities
clawcard agent files list --json # Your files
clawcard agent creds --json # Your credentials
ALWAYS check existing resources before creating new ones. List cards before every purchase. Reuse open merchant_locked cards for the same merchant.
Core Capabilities
| Capability |
Command Reference |
| Email (send, receive, read) |
reference/email.md |
| SMS (send, receive) |
reference/sms.md |
| Virtual Cards (create, pay, manage) |
reference/cards.md |
| File Storage (upload, list, download) |
reference/files.md |
| Credentials (store, retrieve secrets) |
reference/credentials.md |
| Browser Checkout (navigate, fill forms, pay) |
reference/checkout.md |
Catalog — ~300 Paid API Capabilities
Your agent has access to ~300 paid capabilities via the catalog. All calls deduct from your account balance.
How to pay for any capability:
clawcard agent pay <slug> '<json body>' --json
Browse full catalog: clawcard agent catalog --json
Search by keyword: clawcard agent catalog-search "web scraping" --json
| Category |
Examples |
Price Range |
Reference |
| Search |
web-search, news-search, image-search |
$0.01-0.09 |
reference/catalog-search.md |
| Scrape & Extract |
scrape-url, crawl-site, extract-data |
$0.01-0.05 |
reference/catalog-scrape.md |
| People & Companies |
enrich-person, enrich-company, find-contacts, find-email |
$0.01-0.06 |
reference/catalog-enrich.md |
| Social Media |
tiktok-profile, instagram-posts, reddit-search |
$0.06 |
reference/catalog-social.md |
| Media Generation |
image-gen, music-gen, transcribe, text-to-speech |
$0.03-0.11 |
reference/catalog-media.md |
| Finance & Markets |
stock-quote, sec-filings, exchange rates |
$0.01-0.06 |
reference/catalog-finance.md |
| Travel |
flight-search, hotel-search |
$0.01-0.06 |
reference/catalog-travel.md |
| Maps & Weather |
geocode, directions, weather |
$0.01 |
reference/catalog-maps.md |
| Compute |
run-code, screenshot |
$0.01-0.06 |
reference/catalog-compute.md |
| Reference |
wolfram, translate |
$0.01-0.06 |
reference/catalog-reference.md |
| Marketing & SEO |
seo-keywords |
$0.01-0.03 |
reference/catalog-marketing.md |
| Niche Data |
sneaker-prices, property-value |
$0.01-0.04 |
reference/catalog-data.md |
Important: Async Capabilities
Some capabilities (video generation, music generation, deep research, website crawling) take time to complete. They return a job/task ID instead of immediate results. You MUST poll the corresponding status slug to get results.
Every poll costs money. Wait 10-15 seconds between polls to avoid wasting balance.
Example flow for music generation:
# 1. Start generation ($0.11)
clawcard agent pay music-gen '{"prompt":"upbeat lo-fi beat","customMode":false,"instrumental":true,"model":"V4"}' --json
# → returns { data: { data: { taskId: "abc123" } } }
# 2. Wait 15 seconds, then poll ($0.01 per poll)
clawcard agent pay music-status '{"taskId":"abc123"}' --json
# → returns status: "PENDING" or "TEXT_SUCCESS" or "FIRST_SUCCESS" with audioUrl
Status slugs for async capabilities:
music-gen → poll with music-status
lyrics-gen → poll with lyrics-status
image-gen-gpt, image-gen-nano, video-gen-* (StableStudio) → poll with stablestudio-status
stability-3d, stability-audio → poll with stability-status
replicate-run → poll with replicate-status
clado-deep-research → poll with clado-research-status
allium-sql → poll with allium-sql-status, then allium-sql-results
dune-sql → poll with dune-results
tako-deep-search → poll with tako-deep-status
crawl-site → poll with crawl-status
deep-research → poll with parallel-task-status
Browser Checkout (MCP)
For purchasing things on websites (domains, subscriptions, SaaS signups), use the clawcard-browser MCP server. It launches a browser with the ClawCard Pay extension.
Setup: If the browser MCP tools aren't available, help the user configure it:
Flow:
- Create a card:
clawcard agent cards create --amount <cents> --type merchant_locked --memo "description" --json
- Launch browser:
launch_browser tool with the checkout URL
- Navigate and fill non-payment fields using
snapshot, click, fill
- Fill payment:
fill_checkout tool with your card ID + billing details
- The extension fills card number, expiry, CVC directly — you never see the card number
- Review the page and submit
MCP Tools:
| Tool |
What it does |
launch_browser |
Open browser with ClawCard Pay extension |
navigate |
Go to a URL |
snapshot |
Get page accessibility tree with @e1 refs |
click |
Click element by ref |
fill |
Type into field by ref |
detect_checkout |
Check if page is a checkout (returns confidence + amount) |
fill_checkout |
Fill card + billing fields securely (card details never reach the LLM) |
screenshot |
Capture the page |
close_browser |
Close session |
Security: Card details (PAN, CVV) go directly from the server to the browser extension. The LLM never sees or handles card numbers. Only the last four digits are returned.
Tips
- For API capabilities, use
clawcard agent pay — it handles payment automatically from your balance.
- For purchasing on websites, use the
clawcard-browser MCP tools with a virtual card.
- Default to
merchant_locked cards. Only use single_use for one-time purchases.
- NEVER silently pay for a subscription. Always warn the user first.
- If you need a capability, search the catalog:
clawcard agent catalog-search "<what you need>" --json
- To add balance:
clawcard billing topup
1---2name: clawcard3description: Email, SMS, virtual cards, browser checkout, file storage, credential vault, and ~300 paid API capabilities for autonomous agents. Run clawcard agent commands to interact with your resources. Use the clawcard-browser MCP server for web navigation and checkout.4---56You have access to ClawCard via the `clawcard` CLI. All commands support `--json` for machine-readable output. Always pass `--json` when calling these commands.78## Quick Start910```11clawcard agent info --json # Your identity, email, phone, balance12clawcard agent pay <slug> '<json>' --json # Pay for any capability13clawcard agent catalog --json # Browse all capabilities14clawcard agent catalog-search "flights" --json # Search capabilities15clawcard agent files list --json # Your files16clawcard agent creds --json # Your credentials17```1819**ALWAYS check existing resources before creating new ones.** List cards before every purchase. Reuse open `merchant_locked` cards for the same merchant.2021## Core Capabilities2223| Capability | Command Reference |24|---|---|25| Email (send, receive, read) | [reference/email.md](reference/email.md) |26| SMS (send, receive) | [reference/sms.md](reference/sms.md) |27| Virtual Cards (create, pay, manage) | [reference/cards.md](reference/cards.md) |28| File Storage (upload, list, download) | [reference/files.md](reference/files.md) |29| Credentials (store, retrieve secrets) | [reference/credentials.md](reference/credentials.md) |30| Browser Checkout (navigate, fill forms, pay) | [reference/checkout.md](reference/checkout.md) |3132## Catalog — ~300 Paid API Capabilities3334Your agent has access to ~300 paid capabilities via the catalog. All calls deduct from your account balance.3536**How to pay for any capability:**37```38clawcard agent pay <slug> '<json body>' --json39```4041**Browse full catalog:** `clawcard agent catalog --json`42**Search by keyword:** `clawcard agent catalog-search "web scraping" --json`4344| Category | Examples | Price Range | Reference |45|---|---|---|---|46| Search | web-search, news-search, image-search | $0.01-0.09 | [reference/catalog-search.md](reference/catalog-search.md) |47| Scrape & Extract | scrape-url, crawl-site, extract-data | $0.01-0.05 | [reference/catalog-scrape.md](reference/catalog-scrape.md) |48| People & Companies | enrich-person, enrich-company, find-contacts, find-email | $0.01-0.06 | [reference/catalog-enrich.md](reference/catalog-enrich.md) |49| Social Media | tiktok-profile, instagram-posts, reddit-search | $0.06 | [reference/catalog-social.md](reference/catalog-social.md) |50| Media Generation | image-gen, music-gen, transcribe, text-to-speech | $0.03-0.11 | [reference/catalog-media.md](reference/catalog-media.md) |51| Finance & Markets | stock-quote, sec-filings, exchange rates | $0.01-0.06 | [reference/catalog-finance.md](reference/catalog-finance.md) |52| Travel | flight-search, hotel-search | $0.01-0.06 | [reference/catalog-travel.md](reference/catalog-travel.md) |53| Maps & Weather | geocode, directions, weather | $0.01 | [reference/catalog-maps.md](reference/catalog-maps.md) |54| Compute | run-code, screenshot | $0.01-0.06 | [reference/catalog-compute.md](reference/catalog-compute.md) |55| Reference | wolfram, translate | $0.01-0.06 | [reference/catalog-reference.md](reference/catalog-reference.md) |56| Marketing & SEO | seo-keywords | $0.01-0.03 | [reference/catalog-marketing.md](reference/catalog-marketing.md) |57| Niche Data | sneaker-prices, property-value | $0.01-0.04 | [reference/catalog-data.md](reference/catalog-data.md) |5859## Important: Async Capabilities6061Some capabilities (video generation, music generation, deep research, website crawling) take time to complete. They return a job/task ID instead of immediate results. You MUST poll the corresponding status slug to get results.6263**Every poll costs money.** Wait 10-15 seconds between polls to avoid wasting balance.6465Example flow for music generation:66```67# 1. Start generation ($0.11)68clawcard agent pay music-gen '{"prompt":"upbeat lo-fi beat","customMode":false,"instrumental":true,"model":"V4"}' --json69# → returns { data: { data: { taskId: "abc123" } } }7071# 2. Wait 15 seconds, then poll ($0.01 per poll)72clawcard agent pay music-status '{"taskId":"abc123"}' --json73# → returns status: "PENDING" or "TEXT_SUCCESS" or "FIRST_SUCCESS" with audioUrl74```7576Status slugs for async capabilities:77- `music-gen` → poll with `music-status`78- `lyrics-gen` → poll with `lyrics-status`79- `image-gen-gpt`, `image-gen-nano`, `video-gen-*` (StableStudio) → poll with `stablestudio-status`80- `stability-3d`, `stability-audio` → poll with `stability-status`81- `replicate-run` → poll with `replicate-status`82- `clado-deep-research` → poll with `clado-research-status`83- `allium-sql` → poll with `allium-sql-status`, then `allium-sql-results`84- `dune-sql` → poll with `dune-results`85- `tako-deep-search` → poll with `tako-deep-status`86- `crawl-site` → poll with `crawl-status`87- `deep-research` → poll with `parallel-task-status`8889## Browser Checkout (MCP)9091For purchasing things on websites (domains, subscriptions, SaaS signups), use the `clawcard-browser` MCP server. It launches a browser with the ClawCard Pay extension.9293**Setup:** If the browser MCP tools aren't available, help the user configure it:9495- **Claude Code:** `clawcard mcp` or `claude mcp add clawcard-browser -e CLAWCARD_API_KEY=<key> -- npx @clawcard/browser`96- **mcporter (OpenClaw, etc.):** Add to `~/.mcporter/mcporter.json`:97 ```json98 "clawcard-browser": {99 "command": "npx",100 "args": ["@clawcard/browser"],101 "env": { "CLAWCARD_API_KEY": "<key>" }102 }103 ```104- **Cursor / VS Code:** Add to `.cursor/mcp.json` or MCP config with same shape as above105106**Flow:**1071. Create a card: `clawcard agent cards create --amount <cents> --type merchant_locked --memo "description" --json`1082. Launch browser: `launch_browser` tool with the checkout URL1093. Navigate and fill non-payment fields using `snapshot`, `click`, `fill`1104. Fill payment: `fill_checkout` tool with your card ID + billing details1115. The extension fills card number, expiry, CVC directly — you never see the card number1126. Review the page and submit113114**MCP Tools:**115116| Tool | What it does |117|---|---|118| `launch_browser` | Open browser with ClawCard Pay extension |119| `navigate` | Go to a URL |120| `snapshot` | Get page accessibility tree with @e1 refs |121| `click` | Click element by ref |122| `fill` | Type into field by ref |123| `detect_checkout` | Check if page is a checkout (returns confidence + amount) |124| `fill_checkout` | Fill card + billing fields securely (card details never reach the LLM) |125| `screenshot` | Capture the page |126| `close_browser` | Close session |127128**Security:** Card details (PAN, CVV) go directly from the server to the browser extension. The LLM never sees or handles card numbers. Only the last four digits are returned.129130## Tips131132- For API capabilities, use `clawcard agent pay` — it handles payment automatically from your balance.133- For purchasing on websites, use the `clawcard-browser` MCP tools with a virtual card.134- Default to `merchant_locked` cards. Only use `single_use` for one-time purchases.135- NEVER silently pay for a subscription. Always warn the user first.136- If you need a capability, search the catalog: `clawcard agent catalog-search "<what you need>" --json`137- To add balance: `clawcard billing topup`