Global Options
| --json, -j | Emit machine-readable JSON — compatible with AI agents and shell pipelines. |
| --api-key TEXT | Override the BRAVE_API_KEY environment variable for this invocation. |
| --no-dotenv | Skip loading a .env file from the current directory. |
Most arguments accept - in place of a value to read from stdin — useful for shell pipelines and agent tool calls.
Full card report — annual fee, welcome offer, earning rates, statement credits, benefits, and strategy tips.
| Argument / Option | Required | Description |
|---|---|---|
| <name> | required | Card name, e.g. "Chase Sapphire Preferred". Pass - to read from stdin. |
Earning rates by spend category — points, miles, or cash back per dollar. Optionally narrow to a single category.
| Argument / Option | Required | Description |
|---|---|---|
| <name> | required | Card name. Pass - to read from stdin. |
| --category, -c | optional | Spending category to focus on, e.g. dining, travel, groceries. |
Transfer partners — airline and hotel programs, transfer ratios, and how long transfers take.
| Argument / Option | Required | Description |
|---|---|---|
| <name> | required | Card name. Pass - to read from stdin. |
Statement credits and perks — amounts, cadence (monthly/annual), and any enrollment requirements.
| Argument / Option | Required | Description |
|---|---|---|
| <name> | required | Card name. Pass - to read from stdin. |
Recent changes in the past month — fee increases, benefit cuts, new perks, or limited-time offers. Results are freshness-filtered to the past 30 days.
| Argument / Option | Required | Description |
|---|---|---|
| <name> | required | Card name. Pass - to read from stdin. |
Side-by-side comparison of two cards across fees, rewards, welcome offers, credits, and transfer partners.
| Argument / Option | Required | Description |
|---|---|---|
| <card-a> | required | First card name. |
| <card-b> | required | Second card name. |
| --aspects | optional | Comma-separated list of aspects to compare. Default: fees,rewards,welcome_offer,credits,transfer_partners. |
First-year ROI estimate — welcome bonus value + projected annual earn + credits minus the annual fee. Spend values are auto-pulled from your saved profile when not passed as flags.
| Argument / Option | Required | Description |
|---|---|---|
| <name> | required | Card name. Pass - to read from stdin. |
| --travel | optional | Monthly travel spend in dollars. Falls back to travel_monthly from your profile. |
| --dining | optional | Monthly dining spend in dollars. Falls back to dining_monthly from your profile. |
| --other | optional | Monthly other spend in dollars. Falls back to other_monthly from your profile. |
Card recommendations matched to a free-text spending profile description. Automatically enriched with your saved profile and current wallet cards.
| Argument / Option | Required | Description |
|---|---|---|
| <profile> | required | Free-text spending description. Pass - to read from stdin. |
| --preferences, -p | optional | Extra constraints, e.g. "no annual fee" or "prefer cash back". |
Portfolio analysis — fetches live earning-rate data for every card in your wallet and returns structured research for computing a category coverage map, overlaps, gaps, and next-card suggestions. Cards are read from the local database; add them first with fleece cards add.
| Argument / Option | Required | Description |
|---|---|---|
| --json, -j | optional | Returns structured JSON with per-card research, profile context, and an analysis_prompt field ready for an agent to synthesize. |
List all cards saved in your profile with their annual fees.
Add a card to your saved wallet. The card name is used by wallet, mcc --wallet, recommend, and roi.
| Argument / Option | Required | Description |
|---|---|---|
| <name> | required | Card name to add, e.g. "Amex Gold". |
| --fee | optional | Annual fee string, e.g. $95. Defaults to $0. |
Remove a card from your wallet. Partial name matching is supported — the command errors if the match is ambiguous.
| Argument / Option | Required | Description |
|---|---|---|
| <name> | required | Card name or partial name to remove. |
Look up any of the 981 bundled Merchant Category Codes to find the spend category for a merchant. Add --wallet to cross-reference earning rates across your saved cards and pick the best one (requires API key in wallet mode).
| Argument / Option | Required | Description |
|---|---|---|
| <code> | required | 4-digit MCC code, e.g. 5812. |
| --wallet, -w | optional | Cross-reference with saved wallet cards to find the best card to use. Requires BRAVE_API_KEY. |
Generate a PointsYeah award flight search URL for a given route, date, and cabin class. Use --open to launch the URL directly in your browser.
| Argument / Option | Required | Description |
|---|---|---|
| <origin> | required | Origin airport IATA code, e.g. JFK. |
| <destination> | required | Destination airport IATA code, e.g. NRT. |
| --date | required | Departure date in YYYY-MM-DD format. |
| --return | optional | Return date in YYYY-MM-DD format for round trips. |
| --adults | optional | Number of adult passengers. Default: 1. |
| --cabin | optional | Cabin class: economy, premium-economy, business, first. Default: economy. |
| --open | optional | Open the generated URL in the default browser. |
Generate a PointsYeah award hotel search URL for a given location and date range.
| Argument / Option | Required | Description |
|---|---|---|
| <location> | required | City, area, or hotel keyword, e.g. "Tokyo". |
| --checkin | required | Check-in date in YYYY-MM-DD format. |
| --checkout | required | Check-out date in YYYY-MM-DD format. |
| --guests | optional | Number of guests. Default: 1. |
| --rooms | optional | Number of rooms. Default: 1. |
| --open | optional | Open the generated URL in the default browser. |
Your spending profile is stored locally in fleece.db. Once set, profile values are automatically injected into roi, recommend, and wallet to personalise results without repeating flags each time.
Display your current spending profile.
Set a single profile field. Run fleece profile fields to see all available field names.
| Argument / Option | Required | Description |
|---|---|---|
| <field> | required | Field name, e.g. dining_monthly. |
| <value> | required | Value to store. |
Clear a single profile field.
| Argument / Option | Required | Description |
|---|---|---|
| <field> | required | Field name to clear. |
List all 10 available profile fields and their descriptions.