# Connect OpulentBots to Claude

MCP endpoint: https://opulentbots-a2a.vercel.app/ob/mcp · Served by https://opulentbots-a2a.vercel.app/connect

## 1. Your key
Your OpulentBots key starts with `a2a_`. It is shown once when your account is created; keep it like a password.
Never paste it into a chat with an assistant. If it leaks, ask us to revoke it and issue a new one.

## 2a. claude.ai or Claude Desktop (custom connector)
Settings → Connectors → Add custom connector.
- Name: OpulentBots
- URL: `https://opulentbots-a2a.vercel.app/ob/mcp?key=<your key>`
- Leave the OAuth fields empty. Save, then turn the connector on in a chat (the tools menu).

## 2b. Claude Code
Store the key in your environment first:
- macOS / Linux: add `export OPULENTBOTS_KEY="a2a_..."` to ~/.zshrc or ~/.bashrc, then open a new terminal.
- Windows (PowerShell): `setx OPULENTBOTS_KEY "a2a_..."`, then reopen the terminal.

Then run:
```
claude mcp add --transport http opulentbots https://opulentbots-a2a.vercel.app/ob/mcp --header "Authorization: Bearer ${OPULENTBOTS_KEY}"
```
or add to `.mcp.json`:
```json
{ "mcpServers": { "opulentbots": { "type": "http", "url": "https://opulentbots-a2a.vercel.app/ob/mcp", "headers": { "Authorization": "Bearer ${OPULENTBOTS_KEY}" } } } }
```
Run `/mcp` in Claude Code: opulentbots should show as connected.

## 3. Check it works
Ask Claude: "Use ob_credits to show my OpulentBots balance." New accounts start with 50 free credits.

## Tools and prices
- `ob_brand_email`: 1 credit
- `ob_property_lookup`: 2 credits
- `ob_cma`: 5 credits
- `ob_credits`: free

All tools are read-only. ob_brand_email returns a preview; it never sends email. A call that fails or finds nothing is not charged.
Credits: 1,000 for $25, 10,000 for $200; they roll over for 90 days.
Plans: Starter $97/mo with 500 credits; Growth $297/mo with 2,000 credits.
Buy at https://opulentbots.com/credits
