C
cwasley/earnrate
Picks the credit card in your wallet that earns the most at a merchant, and says why
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
取自该仓库的安装命令
claude mcp add --scope user earnrate -- npx -y earnrate mcp
解析自我们于 2026-11-09 抓取的该仓库 README;我们未执行过。
这条是仓库自己写的安装方式,不是 MCP 客户端配置,所以不生成 JSON。
配置项的键名以你的客户端为准:客户端与 CLI
- ★ 数取值
- 1 ★ · cwasley/earnrate · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
- 来源明细
- 从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
- 收录与活跃
- 收录于 2026-11-10 · 最近见到 2026-11-14 · 共见到 5 次 · 被 1 个来源列出
- 评分构成
- 综合分 103 · 1 ★ · 1 个来源 · repo
- 安装
claude mcp add --scope user earnrate -- npx -y earnrate mcp
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是
claude mcp add --scope user earnrate -- npx -y earnrate mcp。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库
cwasley/earnrate;我们收录于 2026-11-10;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。# earnrate
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
I wanted a ghost card: one card that always charges the best of my cards. The card networks won't allow one, so I built the next best thing.
earnrate is the best-card decision layer for people and AI agents. Give it a merchant, and it tells you which credit card earns the most there, from your own cards or from every card it knows, and why. Save your cards and it tracks your caps and chosen categories. It's valuation-aware and transparent about its assumptions. It never sees a card number.
Runs on your machine, in your browser at earnrate.dev (which you can add to your phone's Home Screen and use offline), or in Claude as a connector at https://mcp.earnrate.dev, with nothing to install. earnrate.dev and Claude can share one wallet. No account and no affiliate links; the hosted server counts requests by tool name, nothing about what you ask. See the privacy page.
U.S. cards and U.S. merchants, for now.
> Status: early, and it works: the engine, CLI, optional Claude merchant lookup, MCP server and the hosted Claude connector. See the benchmark (run 2026-11-03) for how it compares to an existing card-picking MCP server.
## Try it
Needs Node 22 or later (the published package is compiled JavaScript).
sh
npm install -g earnrate
earnrate restaurants # the best cards earnrate knows, no setup
earnrate trader joes --cards amex-gold,chase-prime-visa # just these cards
earnrate whole foods 80 # add an amount to see the dollars back
You never have to enter your cards: with none, every answer covers every card earnrate knows. To have earnrate remember yours, track caps and welcome bonuses, and give a cheat sheet for your own wallet, save them:
sh
earnrate cards sapphire # find your cards' IDs
earnrate add chase-sapphire-preferred
earnrate add amex-gold
earnrate whole foods 80
Adding a card tells you anything else it needs to earn correctly, such as the categories you picked on Cash+, Amazon Prime for Prime Visa's 5%, or which rotating categories you've activated. earnrate update and earnrate memberships set those. Memberships and point values (earnrate values) can be saved without any cards, and every answer uses them. Using an AI assistant instead? Add earnrate to it and ask; name your cards or save them there.
With the example wallet, it prints:
Whole Foods Market · $80
Use Blue Cash Preferred: 6% back, about $4.80. High confidence.
1. Blue Cash Preferred 6% $4.80
6% cash back on supermarkets. ...
2. Prime Visa 5% $4.00
5% cash back on Whole Foods Market, with Amazon Prime. ...
3. Amex Gold 4% $3.20
4x Amex Membership Rewards on supermarkets. ...
Valued at 1¢ per point: 4% back.
6 more cards (--all lists them)
Amex Gold beats Blue Cash Preferred here if Amex Membership Rewards (MR) points are worth more than 1.5¢ (you value them at 1¢).
Assumes Whole Foods Market codes as supermarkets (MCC 5411).
Point values: Amex Membership Rewards (MR) at 1¢, SoFi Member Rewards at 1¢ and Chase Ultimate Rewards (UR) at 1¢.
Options: --online or --in-store, --paying card|apple-pay|google-pay|paypal, --valuation flat|points-heavy, --cards, --member, --category, --all, --json, --date, --country. Run earnrate --help for details. To keep the wallet somewhere else, set EARNRATE_WALLET to its path.
earnrate is the best-card decision layer for people and AI agents. Give it a merchant, and it tells you which credit card earns the most there, from your own cards or from every card it knows, and why. Save your cards and it tracks your caps and chosen categories. It's valuation-aware and transparent about its assumptions. It never sees a card number.
Runs on your machine, in your browser at earnrate.dev (which you can add to your phone's Home Screen and use offline), or in Claude as a connector at https://mcp.earnrate.dev, with nothing to install. earnrate.dev and Claude can share one wallet. No account and no affiliate links; the hosted server counts requests by tool name, nothing about what you ask. See the privacy page.
U.S. cards and U.S. merchants, for now.
> Status: early, and it works: the engine, CLI, optional Claude merchant lookup, MCP server and the hosted Claude connector. See the benchmark (run 2026-11-03) for how it compares to an existing card-picking MCP server.
## Try it
Needs Node 22 or later (the published package is compiled JavaScript).
sh
npm install -g earnrate
earnrate restaurants # the best cards earnrate knows, no setup
earnrate trader joes --cards amex-gold,chase-prime-visa # just these cards
earnrate whole foods 80 # add an amount to see the dollars back
You never have to enter your cards: with none, every answer covers every card earnrate knows. To have earnrate remember yours, track caps and welcome bonuses, and give a cheat sheet for your own wallet, save them:
sh
earnrate cards sapphire # find your cards' IDs
earnrate add chase-sapphire-preferred
earnrate add amex-gold
earnrate whole foods 80
Adding a card tells you anything else it needs to earn correctly, such as the categories you picked on Cash+, Amazon Prime for Prime Visa's 5%, or which rotating categories you've activated. earnrate update and earnrate memberships set those. Memberships and point values (earnrate values) can be saved without any cards, and every answer uses them. Using an AI assistant instead? Add earnrate to it and ask; name your cards or save them there.
With the example wallet, it prints:
Whole Foods Market · $80
Use Blue Cash Preferred: 6% back, about $4.80. High confidence.
1. Blue Cash Preferred 6% $4.80
6% cash back on supermarkets. ...
2. Prime Visa 5% $4.00
5% cash back on Whole Foods Market, with Amazon Prime. ...
3. Amex Gold 4% $3.20
4x Amex Membership Rewards on supermarkets. ...
Valued at 1¢ per point: 4% back.
6 more cards (--all lists them)
Amex Gold beats Blue Cash Preferred here if Amex Membership Rewards (MR) points are worth more than 1.5¢ (you value them at 1¢).
Assumes Whole Foods Market codes as supermarkets (MCC 5411).
Point values: Amex Membership Rewards (MR) at 1¢, SoFi Member Rewards at 1¢ and Chase Ultimate Rewards (UR) at 1¢.
Options: --online or --in-store, --paying card|apple-pay|google-pay|paypal, --valuation flat|points-heavy, --cards, --member, --category, --all, --json, --date, --country. Run earnrate --help for details. To keep the wallet somewhere else, set EARNRATE_WALLET to its path.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/cwasley-earnrate/)
- 来源
- github · https://github.com/cwasley/earnrate
- 按领域浏览
- 开源项目
- Traction
- 1 ★
- 收录于
- 今天
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。