Skip to main content

Fleece — Credit Card Research & Redemption

PyPI version PyPI downloads Python License: MIT Publish to PyPI ClawHub Website

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

@chenyuan99 · getfleece.io

Metadata

Release files for fleece-cli 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fleece-cli 0.4.1
File Size Uploaded
fleece_cli-0.4.1.tar.gz 100.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fleece-cli 0.4.1
File Interpreter ABI Platform
fleece_cli-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 142.9 kB

Release files / fleece_cli-0.4.1.tar.gz

Download URL fleece_cli-0.4.1.tar.gz
Size 100.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7291decf5caed2ef1539fd45056460fc3aeede63b17169ee8c02791f03332285
BLAKE2b-256 checksum
How to use checksums
84cbe1ce547ff648d1269847dd7955f0c17e4d6cd83523a5c6c03e2658e59644
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 19, 2026.

Transparency log

Release files / fleece_cli-0.4.1-py3-none-any.whl

Download URL fleece_cli-0.4.1-py3-none-any.whl
Size 43.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af978f7c15389ae1c32ce82f79937595b737d1b88e472976689b9b25b107256e
BLAKE2b-256 checksum
How to use checksums
918e7e519315ca6abef74782991f1f29a7926da195ab0f3301057bb9ca63e207
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 19, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page