npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@cardpointers/cli

v1.0.7

Published

CardPointers CLI — manage your credit card rewards from the terminal

Downloads

224

Readme


CardPointers CLI lets you manage your CardPointers wallet from the command line — get card recommendations, browse your offers, search for deals, and more. Powered by the CardPointers MCP API.

Requires a CardPointers+ subscription.

Install

Choose your preferred method:

Homebrew (macOS/Linux)

brew tap cardpointers/tap
brew install cardpointers

npm

npm install -g @cardpointers/cli

Quick install script

curl -fsSL https://raw.githubusercontent.com/cardpointers/cli/main/install.sh | bash

Installs to ~/.local/bin by default (or XDG_BIN_HOME if set). Override with:

curl -fsSL https://raw.githubusercontent.com/cardpointers/cli/main/install.sh | bash -s -- --bin-dir ~/bin

To install to /usr/local/bin (may require sudo):

curl -fsSL https://raw.githubusercontent.com/cardpointers/cli/main/install.sh | bash -s -- --system

Manual download

curl -fsSL https://github.com/cardpointers/cli/releases/latest/download/cardpointers -o cardpointers
chmod +x cardpointers
mkdir -p ~/.local/bin
mv cardpointers ~/.local/bin/

Quick start

1. Log in

cardpointers login

Sign in with email/password, or use the browser flow for Apple, Google, or passkey authentication.

2. Get card recommendations

# Best card for a category
cardpointers recommend supermarket

# Best card for a specific merchant
cardpointers recommend --merchant "whole foods"

# Include estimated spend for value calculation
cardpointers recommend restaurant --amount 75

3. View your cards

# Show approved cards
cardpointers cards

# Filter by bank
cardpointers cards --bank chase

# Show all cards (including closed/denied)
cardpointers cards --status all

# Limit results
cardpointers cards --limit 5

# Recently added cards (last 30 days)
cardpointers cards --added 30

# Sort cards
cardpointers cards --sort added

Cards supports --added / -a N and --sort / -r (added, name, bank).

Profiles

Use --profile / -p to target a specific profile by number, name, or across all profiles:

cardpointers cards -p 2              # cards from profile 2
cardpointers cards -p caroline       # cards from profile "Caroline"
cardpointers offers -p all           # offers from all profiles
cardpointers recommend gas -p any    # best gas card across all profiles

4. Browse your offers

# Active offers
cardpointers offers

# Expiring soon (within 7 days)
cardpointers offers --expiring

# Filter by bank or card
cardpointers offers --bank amex
cardpointers offers --card "gold"

# Only favorites
cardpointers offers --favorite

# Sort and limit offers
cardpointers offers --sort value --limit 10

# New offers this week
cardpointers offers --added 7 --sort added

Offers supports --added / -a N and --sort added.

5. Search offers

cardpointers search "streaming"
cardpointers search "whole foods" --favorite
cardpointers search "gas" --limit 5

# Search with offer filters
cardpointers search "dell" --status active --bank amex

Search supports the same filters as offers:

  • --status / -s (active default, snoozed, redeemed, expired, all)
  • --expiring / -e [days] (expiring within N days, default 7)
  • --card / -c (filter by card name)
  • --category / -y (filter by category)
  • --type / -t (standard/personal)
  • --bank / -b (amex, chase, citi, boa, usbank, wellsfargo)
  • --sort / -r (expiring, value, card, added)
  • --added / -a N (added within last N days)

Common Use Cases

  • New offers this week? → offers --added 7 --sort added
  • Recently added cards? → cards --added 30

Global options

cardpointers --version
NO_COLOR=1 cardpointers help

JSON output

Add --json (or -j) to any data command to print raw JSON instead of the formatted output:

cardpointers cards --json
cardpointers offers -j
cardpointers recommend restaurant -j

All commands

| Command | Description | |---------|-------------| | login | Authenticate (email/password or browser OAuth) | | logout | Clear saved credentials | | status | Show account info and connection status | | recommend <category> | Get best card for a purchase category | | cards | List your wallet cards | | offers | List your active offers | | search <query> | Search offers by keyword | | ping | Test API connection | | tools | List available MCP tools | | version | Show CLI version |

Run cardpointers help or cardpointers <command> --help for full option details.

Configuration

| Item | Location | |------|----------| | Auth token | ~/.cardpointers/config | | User info | ~/.cardpointers/user.json |

Override the API endpoint with:

export CARDPOINTERS_API=https://mcp.cardpointers.com

Disable ANSI colors in output with:

export NO_COLOR=1

Requirements

  • bash (macOS/Linux — Windows via WSL)
  • curl
  • jq

What is CardPointers?

CardPointers helps you maximize your credit card rewards by telling you which card to use for every purchase. Available on iOS, Android, and as a browser extension for Chrome, Firefox, Safari, and Edge.

The CLI brings your wallet to the terminal — perfect for quick lookups, scripting, and AI agent integrations via the MCP protocol.

MCP integration

CardPointers CLI talks to the same MCP (Model Context Protocol) server that powers integrations with Claude, ChatGPT, and other AI assistants. You can use the CLI as a standalone tool or as part of an AI agent workflow.

Contributing

Issues and pull requests are welcome! Please open an issue first to discuss what you'd like to change.

License

BSL 1.1 © CardPointers