CardPointers CLI
Query your CardPointers wallet — cards, offers, recommendations — from the terminal.
Setup
- Config:
~/.cardpointers/config (JWT token, auto-created on login)
- Requires:
curl, jq, bash
- Auth: Run
cardpointers login to authenticate (email/password or browser-based Apple/Google/passkey)
Commands
recommend — Best card for a purchase
cardpointers recommend groceries
cardpointers recommend "gas stations"
cardpointers recommend --merchant amazon
cardpointers recommend -m "whole foods" --amount 150
cardpointers recommend gas -p all # best gas card across all profiles
cards — List wallet cards
cardpointers cards # approved cards (default)
cardpointers cards --status all # all statuses
cardpointers cards --bank chase # filter by bank
cardpointers cards -b amex -s all -l 5 # combine filters + limit
offers — List and filter offers
cardpointers offers # active offers
cardpointers offers -s redeemed # redeemed offers
cardpointers offers --expiring # expiring within 7 days
cardpointers offers -e 14 # expiring within 14 days
cardpointers offers --bank amex # filter by bank
cardpointers offers --card "gold" # filter by card name
cardpointers offers --category dining # filter by category
cardpointers offers --type personal # personal offers only
cardpointers offers --favorite # favorited offers only
cardpointers offers --sort value --limit 10 # top 10 by value
search — Search offers by keyword
cardpointers search "whole foods"
cardpointers search "streaming" --favorite
cardpointers search "gas" --limit 5
profiles — List linked profiles
cardpointers profiles
Utility
cardpointers status # account info + connection test
cardpointers ping # test MCP connection
cardpointers tools # list available MCP tools
cardpointers login # authenticate
cardpointers logout # clear saved token
cardpointers --version # print version
Global Options
All data commands accept these flags:
| Flag |
Description |
--profile, -p |
Query by profile: number (-p 2), name (-p caroline), or all/any |
--limit, -l |
Cap number of results |
--json, -j |
Raw JSON output (for scripting / AI agents) |
Environment Variables
| Variable |
Description |
CARDPOINTERS_API |
Override API base URL (default: https://mcp.cardpointers.com) |
CARDPOINTERS_DEBUG |
Set to 1 for verbose output |
NO_COLOR |
Disable ANSI colors |
Reference
- Card statuses: approved, applied, denied, closed, all
- Offer statuses: active, snoozed, redeemed, expired, expiring_soon, all
- Offer bank filter (enum): amex, chase, citi, boa, usbank, wellsfargo
- Card bank filter: freeform text (partial match)
- Offer sort options: expiring, value, card
- Cards include
approval_date (YYYY-MM-DD)
Common Use Cases
- "What card should I use at Costco?" →
recommend -m costco
- "Show my Amex cards" →
cards -b amex
- "Offers expiring this week?" →
offers -e 7
- "Any Whole Foods offers?" →
search "whole foods"
- "Best dining card across all profiles?" →
recommend dining -p all
- "Top 5 offers by value" →
offers --sort value -l 5
- "Show redeemed offers as JSON" →
offers -s redeemed -j
1---2name: cardpointers3description: Query CardPointers card recommendations, wallet cards, and offers via the CardPointers CLI. Use when the user asks about which credit card to use for a purchase or category, listing their cards or wallet, viewing or filtering or searching card offers, checking expiring offers, comparing cards across linked profiles, or any credit card rewards optimization question. Requires a CardPointers+ (Pro) subscription.4---5
6# CardPointers CLI
7
8Query your CardPointers wallet — cards, offers, recommendations — from the terminal.
9
10## Setup
11
12- **Config:** `~/.cardpointers/config` (JWT token, auto-created on login)
13- **Requires:** `curl`, `jq`, `bash`
14- **Auth:** Run `cardpointers login` to authenticate (email/password or browser-based Apple/Google/passkey)
15
16## Commands
17
18### recommend — Best card for a purchase
19
20```bash
21cardpointers recommend groceries
22cardpointers recommend "gas stations"
23cardpointers recommend --merchant amazon
24cardpointers recommend -m "whole foods" --amount 150
25cardpointers recommend gas -p all # best gas card across all profiles
26```
27
28### cards — List wallet cards
29
30```bash
31cardpointers cards # approved cards (default)
32cardpointers cards --status all # all statuses
33cardpointers cards --bank chase # filter by bank
34cardpointers cards -b amex -s all -l 5 # combine filters + limit
35```
36
37### offers — List and filter offers
38
39```bash
40cardpointers offers # active offers
41cardpointers offers -s redeemed # redeemed offers
42cardpointers offers --expiring # expiring within 7 days
43cardpointers offers -e 14 # expiring within 14 days
44cardpointers offers --bank amex # filter by bank
45cardpointers offers --card "gold" # filter by card name
46cardpointers offers --category dining # filter by category
47cardpointers offers --type personal # personal offers only
48cardpointers offers --favorite # favorited offers only
49cardpointers offers --sort value --limit 10 # top 10 by value
50```
51
52### search — Search offers by keyword
53
54```bash
55cardpointers search "whole foods"
56cardpointers search "streaming" --favorite
57cardpointers search "gas" --limit 5
58```
59
60### profiles — List linked profiles
61
62```bash
63cardpointers profiles
64```
65
66### Utility
67
68```bash
69cardpointers status # account info + connection test
70cardpointers ping # test MCP connection
71cardpointers tools # list available MCP tools
72cardpointers login # authenticate
73cardpointers logout # clear saved token
74cardpointers --version # print version
75```
76
77## Global Options
78
79All data commands accept these flags:
80
81| Flag | Description |
82|------|-------------|
83| `--profile, -p` | Query by profile: number (`-p 2`), name (`-p caroline`), or `all`/`any` |
84| `--limit, -l` | Cap number of results |
85| `--json, -j` | Raw JSON output (for scripting / AI agents) |
86
87## Environment Variables
88
89| Variable | Description |
90|----------|-------------|
91| `CARDPOINTERS_API` | Override API base URL (default: `https://mcp.cardpointers.com`) |
92| `CARDPOINTERS_DEBUG` | Set to `1` for verbose output |
93| `NO_COLOR` | Disable ANSI colors |
94
95## Reference
96
97- **Card statuses:** approved, applied, denied, closed, all
98- **Offer statuses:** active, snoozed, redeemed, expired, expiring_soon, all
99- **Offer bank filter (enum):** amex, chase, citi, boa, usbank, wellsfargo
100- **Card bank filter:** freeform text (partial match)
101- **Offer sort options:** expiring, value, card
102- **Cards include** `approval_date` (YYYY-MM-DD)
103
104## Common Use Cases
105
106- "What card should I use at Costco?" → `recommend -m costco`
107- "Show my Amex cards" → `cards -b amex`
108- "Offers expiring this week?" → `offers -e 7`
109- "Any Whole Foods offers?" → `search "whole foods"`
110- "Best dining card across all profiles?" → `recommend dining -p all`
111- "Top 5 offers by value" → `offers --sort value -l 5`
112- "Show redeemed offers as JSON" → `offers -s redeemed -j`