Credit card research and redemption CLI — live data via Brave Search, PointsYeah URL generation, designed for humans and AI agents.
Project description
Fleece — Credit Card Research & Redemption
Find the best card for deal saviors.
Fleece is a free, open-source credit card research and award redemption toolkit. It provides live data via Brave Search — no stale training data. Every command outputs clean JSON, making it easy to plug into AI agent workflows.
Quick Start
pip install fleece-cli
export BRAVE_API_KEY=<your_key> # optional — offline commands work without it
fleece card "Amex Gold" # full card report
fleece wallet # portfolio analysis
fleece mcc 5812 # MCC lookup (no API key needed)
fleece flights JFK NRT --date 2026-06-01 --cabin business --open
Install as an agent skill (55+ agents)
npx skills add chenyuan99/fleece
Works with Claude Code, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, Codex, Warp, Kiro, and more — all from one command.
CLI Commands
Research (requires BRAVE_API_KEY)
| Command | Description |
|---|---|
fleece card "<name>" |
Fees, welcome offer, earning rates, credits, benefits |
fleece rates "<name>" |
Earning rates by spend category |
fleece partners "<name>" |
Transfer partners, ratios, and timing |
fleece credits "<name>" |
Statement credits and perks |
fleece news "<name>" |
Recent changes (past month) |
fleece compare "<A>" "<B>" |
Side-by-side card comparison |
fleece wallet |
Portfolio analysis — coverage, overlaps, gaps |
fleece roi "<name>" |
First-year ROI estimate |
fleece recommend "<profile>" |
Personalized card recommendations |
Offline (no API key needed)
| Command | Description |
|---|---|
fleece mcc <code> |
Look up a Merchant Category Code (981 codes bundled) |
fleece mcc <code> --wallet |
Cross-reference MCC with your saved cards |
fleece flights <ORIGIN> <DEST> --date <YYYY-MM-DD> |
PointsYeah award flight search URL |
fleece hotels "<location>" --checkin <date> --checkout <date> |
PointsYeah award hotel search URL |
fleece profile set <field> <value> |
Save your spending profile |
fleece profile show |
View your profile |
All commands support --json for agent-friendly output and - to read from stdin.
Spending Profile
Set your profile once — fleece wallet, fleece roi, and fleece recommend use it automatically:
fleece profile set dining_monthly 600
fleece profile set travel_monthly 300
fleece profile set home_airport JFK
fleece profile set goal "business class to Tokyo 2027"
fleece profile set annual_fee_tolerance 550
fleece roi "Amex Gold" # spend values pulled from profile
fleece wallet # gap analysis tailored to your spend
AI Agent Integration
Universal (55+ agents) — recommended
npx skills add chenyuan99/fleece
Installs to Claude Code, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, Codex, Warp, Kiro, Continue, and Junie in one command.
Platform-specific
bash install.sh --claude # Claude Code slash commands
bash install.sh --agents # OpenClaw / Codex SKILL.md
bash install.sh --gemini # Gemini CLI (GEMINI.md)
bash install.sh --copilot # GitHub Copilot
bash install.sh --cursor # Cursor
bash install.sh --windsurf # Windsurf
bash install.sh --all # everything above
ClawHub Registry
clawhub install fleece # fleece@1.5.0
Chatbot
A Streamlit conversational interface is also included:
pip install -r requirements.txt
OPENAI_API_KEY=<key> streamlit run fleece.py
Development
git clone https://github.com/chenyuan99/fleece.git
cd fleece
pip install -e .
export BRAVE_API_KEY=<your_key>
fleece --help
Running tests
pip install pytest
pytest -q
License
MIT — see LICENSE
Author
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fleece_cli-0.4.1.tar.gz.
File metadata
- Download URL: fleece_cli-0.4.1.tar.gz
- Upload date:
- Size: 100.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7291decf5caed2ef1539fd45056460fc3aeede63b17169ee8c02791f03332285
|
|
| MD5 |
704a65ddb001f1ad36718d67aacb0626
|
|
| BLAKE2b-256 |
84cbe1ce547ff648d1269847dd7955f0c17e4d6cd83523a5c6c03e2658e59644
|
Provenance
The following attestation bundles were made for fleece_cli-0.4.1.tar.gz:
Publisher:
publish.yml on chenyuan99/fleece
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fleece_cli-0.4.1.tar.gz -
Subject digest:
7291decf5caed2ef1539fd45056460fc3aeede63b17169ee8c02791f03332285 - Sigstore transparency entry: 1571150862
- Sigstore integration time:
-
Permalink:
chenyuan99/fleece@c21d29211f893c5218558131d4c25455a575b2d6 -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/chenyuan99
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c21d29211f893c5218558131d4c25455a575b2d6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file fleece_cli-0.4.1-py3-none-any.whl.
File metadata
- Download URL: fleece_cli-0.4.1-py3-none-any.whl
- Upload date:
- Size: 43.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af978f7c15389ae1c32ce82f79937595b737d1b88e472976689b9b25b107256e
|
|
| MD5 |
94bb8e5b53c287f751b912f2fdde1e78
|
|
| BLAKE2b-256 |
918e7e519315ca6abef74782991f1f29a7926da195ab0f3301057bb9ca63e207
|
Provenance
The following attestation bundles were made for fleece_cli-0.4.1-py3-none-any.whl:
Publisher:
publish.yml on chenyuan99/fleece
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fleece_cli-0.4.1-py3-none-any.whl -
Subject digest:
af978f7c15389ae1c32ce82f79937595b737d1b88e472976689b9b25b107256e - Sigstore transparency entry: 1571150902
- Sigstore integration time:
-
Permalink:
chenyuan99/fleece@c21d29211f893c5218558131d4c25455a575b2d6 -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/chenyuan99
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c21d29211f893c5218558131d4c25455a575b2d6 -
Trigger Event:
push
-
Statement type: