Listed from the MCP registry; nobody on Odel publishes it.
Is this yours? Claim itWhich credit card earns the most at a merchant, from your cards or every card, and why.
One address for any MCP client. You sign in at mcp.earnrate.dev once, after adding it.
At most: creates or changes data: records, files, settings.
Odel charges nothing per call. The publisher may charge for its own service.
| Access to | Read | Change |
|---|---|---|
| Wallet | Not stated: wallet | |
From the sign-in at mcp.earnrate.dev, as the endpoint publishes it. You approve it there.
Odel could not list its tools without signing in.
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.
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.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.
Needs Node 22 or later (the published package is compiled JavaScript).
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:
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 counts as a supermarket (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 cheatsheet prints the card to use for each everyday kind of purchase this quarter (groceries, dining, gas, Amazon, Costco, travel, streaming, drugstores, everything else), with your caps, picks and activations as they are now. --cards uses cards you name instead, and --every-card picks from every card to show what's worth getting. It's also in the My wallet tab on earnrate.dev.
earnrate todo lists what your saved cards need this quarter, soonest first: bonuses to activate (with Chase's deadline), categories to pick, caps running low, welcome bonuses to finish, spend bonuses you're close to, statement credits to enroll in or use, first-year rates ending, and a renewal check for each fee card in the month before its anniversary. After those, for 60 days, it lists any change an issuer made to one of your cards' terms (the old and new terms, with the issuer's page; a new welcome offer only while you're tracking a bonus from the old one), and one line per card for corrections earnrate made to its own data about it. --ics earnrate.ics also writes the dates as a calendar file with reminders. My wallet on earnrate.dev shows the same list as "To do now", with an "Add the dates to your calendar" button.
The renewal check weighs your wallet with the card against your wallet without it, where your other cards pick up its spending: "Amex Gold renews around Nov 20 ($325 fee). At typical spending, it earns about $30 a year more than your other cards would, plus $184 in credits you use: about $111 a year short of the fee." A card that's well ahead gets one short line. It uses your spending from earnrate.dev's Best setups tab there and typical amounts elsewhere, and needs the card's anniversary (earnrate update amex-gold --anniversary 11-20) or its opening date. It gives the math, not a downgrade recommendation: issuers don't publish downgrade paths or retention offers.
earnrate missed lists the stores earnrate didn't recognize when you asked here, most asked about first. They're kept only on your computer; open an issue to suggest one for the data.
The wallet is a YAML file (~/.earnrate/wallet.yaml) listing your cards by ID, which is each card's file name in data/cards/. earnrate add, update, remove, memberships and values write it for you and keep your comments, or you can edit it by hand. Only the cards are required:
version: 1 # the file's format; earnrate writes it
valuations:
UR: 1.5 # cents per point; leave out to use earnrate's defaults
memberships: [amazon-prime] # unlocks Prime Visa's 5%
cards:
- id: chase-sapphire-preferred
- id: chase-prime-visa
- id: chase-freedom-flex
activated: [q4-2026-grocery] # rotating 5% categories you've activated
- id: usbank-cash-plus
chosen: # categories you picked for the quarter
period: 2026-Q4
picks:
five-percent: [tv-internet-streaming, movie-theaters]
two-percent: [gas-ev-charging]
Rule IDs for activated and the choice slots for chosen are in each card's file; membership IDs (such as bofa-rewards-premier for a BofA Rewards tier) are in data/memberships.yaml, and earnrate memberships lists them. earnrate values UR=1.5 saves what a program's points are worth to you; every answer uses it. Add costco if you have a Costco membership: Costco Anywhere needs one, and spending answers count its $65 a year unless you have it, hold the card or spend at Costco. Currencies and their default values are in data/currencies.yaml. Spending caps fill up as you record purchases from an AI assistant or import a statement with --apply, and reset with each period.
earnrate ships with a curated list of merchants. For anything else it falls back to each card's base rate and says so. Pass --llm (or set EARNRATE_LLM=on) to have Claude guess the category instead:
ANTHROPIC_API_KEY and sends only the merchant text you typed. Amounts, cards and wallet contents never leave your machine.~/.earnrate/merchant-cache.json, so a merchant is only looked up once.When you're working toward a card's sign-up bonus, tell earnrate when the account opened:
earnrate update chase-sapphire-preferred --bonus-opened 2026-10-01 --bonus-spent 400
Or tell your AI assistant ("I opened my Sapphire Preferred on October 1"), or check "I'm working on this card's welcome bonus" in My wallet on earnrate.dev. --no-bonus stops tracking it. In the wallet file it looks like this:
- id: chase-sapphire-preferred
bonus: { opened: 2026-10-01, spend: 5000, by: 2026-12-31, points: 75000 }
While the bonus is open and you're behind an even pace to the deadline, that card wins wherever it's accepted, and the answer says how much is left, the weekly pace to finish on time, what the bonus is worth at your point values, and what using it costs compared with your best earner. On pace, it's the pick only where it earns as much as your best card, and it's mentioned where it comes within a point; otherwise your best card wins. Spend counts up as you record purchases from an AI assistant or import a statement with --apply; refunds count down. Once it's met or the deadline passes, the card goes back to the normal ranking. With two open bonuses, one behind pace comes first, then the one needing more spend per day.
spend, by and the reward (points, or dollars for cash back) default to the card's published offer once earnrate has one; set them when your offer was different.
Some cards earn more for a stretch after the account opens: Discover it Cash Back's Cashback Match doubles every rate for the first 365 days, and BofA Customized Cash pays 6% in its choice category for the first year. earnrate uses them only for purchases inside that window, so it needs the opening date:
earnrate update discover-it-cash-back --opened 2026-03-04
In the wallet file that's opened: 2026-03-04 on the card; a tracked welcome bonus's opened counts too. Without a date, earnrate never assumes the card is new: it ranks it at its standard rates and says when a first-year rate would change the answer. The to-do list says when a first-year rate ends this quarter.
Many cards charge a foreign transaction fee, often 3%, on every purchase outside the U.S., which can wipe out what they earn. Give the country with --country (two letters, like FR) and earnrate ranks each card after its fee, says what a card with a fee nets, and points out cards that earn extra abroad:
earnrate restaurants --country GB
earnrate best groceries --country JP # every card earnrate knows
Each card's fee comes from its issuer's rates-and-fees table, and earnrate cards shows it. The cheat sheet has an "Abroad" line, on earnrate.dev a "Paying outside the U.S." box does the same, and in Claude, mention where you're paying.
Some cards pay a bonus once a year after you spend a set amount on them, like the IHG One Rewards cards' "10,000 bonus points after you spend $15,000 on purchases each calendar year". earnrate cards ihg lists each card's, with what it pays besides points (status, Elite Night Credits, free nights). Only the points are valued.
Every purchase on the card counts. Once earnrate knows how much you've spent on the card this year, an answer adds the bonus points to the purchase that reaches the total and says so, and earnrate todo lists a bonus once you're at least 75% of the way there. Without that tracking, a spend bonus never changes an answer: earnrate doesn't guess at spending it wasn't told about. Spending counts up as you record purchases from an AI assistant or import a statement with --apply. You can also set it in the card's settings on earnrate.dev, or in the wallet file:
- id: chase-ihg-one-rewards-premier
milestone_usage:
spend-15k: { period: '2026', spent: 11200 } # spend-40k counts the same purchases
earnrate simulate adds a bonus's points to a card's yearly rewards when the year's spending on it reaches the total.
Some cards give dollars back for spending at a named store, up to a limit each period: Amex Platinum's $75 a quarter at lululemon, Amex Gold's $7 a month at Dunkin', Blue Cash Preferred's $10 a month on Disney+, Hulu or ESPN subscriptions. The purchase still earns the card's rate; the credit comes on top. Asking about the store with no cards saved lists the cards with a credit there first, "With a statement credit", in dollars ("$75 back each quarter, then 1x Amex Membership Rewards"), then the usual ranking by rate. A search for a kind of purchase ("clothing") doesn't.
With a saved wallet, a credit that needs enrolling with the issuer counts only once you mark it enrolled, one that doesn't (like Amex Gold's Uber Cash) counts right away, and either only while some is left this period. Given an amount, its dollars count toward that card's return and can make it the pick; without one, the answer shows what's left. Recording a purchase from an AI assistant uses it up, and earnrate todo reminds you to enroll and to use what's left before the period ends:
earnrate update amex-platinum --enrolled lululemon --credit-used lululemon=40
In the wallet file that's enrolled: [lululemon] and credit_usage: { lululemon: { period: 2026-Q4, used: 40 } } on the card. On earnrate.dev it's in the card's settings, where each credit is "Enrolled", "Not yet" or "I don't use this" (or "Using it" for one that needs no enrolling).
A credit you don't use can be marked so: earnrate update amex-gold --skipped-credits dunkin, skipped_credits: [dunkin] in the file. It then counts nowhere: not toward a pick, not against the fee, and not on the to-do list. For cards named with --cards, --enrolled amex-platinum=lululemon and --skipped-credits amex-gold=dunkin do the same for one answer.
Some credits pay only on a purchase of a certain size (Citi Strata Premier's $100 off a Citi Travel hotel stay of $500 or more), and some end on a date the issuer sets (Sapphire Reserve's Lyft credit, through Sep 30, 2027). Card listings say so; a purchase too small earns no credit, and after the end date the credit counts nowhere. Rules work the same way: Amex Business Platinum's 2x on a purchase of $5,000 or more applies only when the amount is given, and an answer without one says what it would earn.
Annual-fee math counts the credits you use on cards you hold, a full period's worth each period: simulating spending with your own cards says "Amex Gold's fee counts $204 a year of credits you use: Dunkin' and Uber." For a card you don't hold, the ranking leaves its credits out, since they're worth it only if you'd spend at those places anyway, and shows what it would net if you used them all beside it: in simulate, offers, the annual-fee math on each card's page and the site's Best setups tab. The cheat sheet picks by rate alone and leaves credits out.
"Is the annual fee worth it?" has the same answer in earnrate cards and Claude's card search as on the card's page: the monthly spending in the card's bonus categories at which it nets more than the best no-fee card, then the same with all its credits used, at your point values (and for Amex and Chase points without a value of yours, again at what transferring them can be worth, 1.7¢). A search that finds 3 cards or fewer gives it with each card's rates; search for the card by name.
Some hotel cards give a free night each year after the account anniversary, with no spending needed: IHG One Rewards Premier's Anniversary Free Night (up to 50,000 points), Marriott Bonvoy Boundless's Free Night Award (up to 35,000 points), and the same on IHG Premier Select and Business and Marriott Bonvoy Brilliant and Business. earnrate values one at its point cap times your value for the hotel's points, always "up to": at IHG's default 0.5¢, the Premier's night is up to $250 a year. earnrate cards ihg lists each card's, with the id to mark it by.
Like a credit that needs no enrolling, a free night counts against the card's fee only once you say you use it: earnrate update chase-ihg-one-rewards-premier --enrolled anniversary-night (enrolled: [anniversary-night] in the file), or "Using it" in the card's settings on earnrate.dev. Until then the to-do list asks, in the card's "Do you use ...?" line, and a renewal check that comes up short says what the night would add. --skipped-credits anniversary-night (or "I don't use this") leaves it out everywhere. With it counted, the renewal check names the night when it's what puts the card ahead.
If a night is worth something else to you (you'd only use it at a cheaper hotel, or the hotels you'd pick cost more in cash), say so: earnrate update chase-ihg-one-rewards-premier --night-value anniversary-night=300 (night_values: { anniversary-night: 300 } in the file, "Worth to you" under the night in the card's settings on earnrate.dev, or tell Claude). It then counts at that, as yours rather than "up to", and is marked used; --night-value anniversary-night=none goes back to the cap. Hilton Honors Aspire's Annual Free Night Reward has no point cap ("one standard accommodation"), so it's listed but counts only once you give it a value this way.
For a card you don't hold, a free night is shown apart like credits, never ranked on: in simulate, the annual-fee math on each card's page and, from the second year, offers. Free nights earned by spending (Hilton's and Marriott's after $15,000 or more a year) are spend bonuses, shown but not valued.
These compare every card earnrate knows that's open to new applicants:
earnrate best groceries # every card, ranked for one purchase
earnrate simulate groceries=600 dining=300 other=1000 # best cards and pairs for a year
earnrate simulate groceries=600 other=1000 --wallet # what a new card would add to yours
best ranks every card earnrate knows for a merchant or a category, each set up at its best (the right category pick, activated, cap unused), with its annual fee and what earning the rate takes. Rates that need a membership like Amazon Prime are listed separately unless you've saved it (earnrate memberships amazon-prime) or pass --member amazon-prime, and a card you can only get with a membership (Verizon Visa, Costco Anywhere) is named after the ranking, not in it, unless you've given that membership, hold the card, or are buying at the store that implies it (Costco, for Costco's). simulate spends your monthly amounts for a year, applying caps as they fill and reset, and ranks single cards and two-card pairs by rewards minus annual fees, naming cards that need a membership apart the same way (spending at Costco counts as Costco's). Both take --no-fee, --cash or --points, --issuer, --business and --valuation. Welcome bonuses are left out of both; for those:
earnrate offers --cash
Ranks the cards you don't have by their first two years together, to answer "which card next?": what each adds to your cards at typical spending (it takes the purchases where it earns more than they do), plus its welcome bonus at your point values in year one if the minimum spend fits in the window with all your spending on it, less each year's annual fee. A card that needs a membership you haven't given is named after the ranking. Each card shows year one, year two, how many weeks of spending the minimum takes, and the bonus alone. Year one counts the card at its standard rates.
If you can't or won't get cards from an issuer (Chase, over its 5/24 rule), earnrate skip-issuers chase saves that, and next-card answers here, in "would another card help?" and in Claude leave its cards out; --skip-issuer chase does it for one answer, and --none clears the list. earnrate never assumes an issuer's application rules, since they aren't published as terms it can quote.
An offer the issuer rules out because of a card in your wallet (or one you name with --cards) is marked "likely not eligible" and listed last. --points, --no-fee and --business narrow it down. Each offer is the public one on the issuer's page, checked twice a week (the earning rules weekly), with the issuer's eligibility rules in its note and the highest public offer earnrate has recorded for the card since it started tracking it. Offers can differ by person and by how you apply, and it covers only the cards earnrate knows. There are no affiliate or apply links.
See what your purchases would have earned on earnrate's picks, using your cards' activity downloads:
earnrate import activity.csv --card amex-gold
earnrate import gold.csv:amex-gold sapphire.csv:chase-sapphire-preferred
It totals what each card earned against the best card in your wallet for each purchase, lists the merchants where another card would have earned the most, and flags merchants your issuer codes differently than earnrate assumes. Name several statements, each with its card, to get one report across them. It reads Amex and Chase activity CSVs. Download the CSV rather than a PDF statement: Chase's PDFs print the full card number in the payment coupon, and earnrate never handles card numbers.
--apply, which records cap usage for the current period and spending toward an open welcome bonus in your wallet. Refunds lower both.--apply writes cap, welcome-bonus and spend-bonus totals to your wallet, and a hash of each recorded purchase to imported.json beside it, so importing the same file twice never counts twice.--valuation points-heavy values Amex and Chase points at transfer rates instead of your wallet's values, which can change which card wins.On earnrate.dev, the statement check runs the same comparison in your browser, against the wallet saved there or cards you tap for that check. The page is a single file whose security policy forbids every request once it has loaded, so the file never leaves your device, and it saves nothing. Recording totals from a statement (--apply) stays on the command line.
101 cards, each modeled from the issuer's own terms and checked weekly against them:
Store cards (Target, Kohl's, Nordstrom) only come up at their own stores. Airline and hotel cards count only what the card itself earns, not the points a program gives members however they pay, and their perks (bags, lounges) aren't counted; a yearly free night counts only as described under Free nights.
Something the format can't express yet (Bilt's rent earning, Citi Nights) is listed as a todo: in that card's file rather than guessed.
Spotted a wrong rate, or want a card added? Open an issue with a link to the issuer's own page.
In Claude, nothing to install: add a custom connector (Settings → Connectors) with the address https://mcp.earnrate.dev. It works in Claude on the web, desktop and phone. When you add it, an earnrate page opens once, where you start an anonymous wallet: no email, just a recovery code you keep. Then ask anything: with no cards saved it answers from every card. Name your cards for answers about yours, and save them to track caps and welcome bonuses across your Claude apps. From the chat you can export the wallet for the command line, switch to another one, or delete it. To use the same wallet on earnrate.dev, choose "Use the same wallet as Claude" in My wallet there. In Claude Code:
claude mcp add --transport http earnrate https://mcp.earnrate.dev
Or install it as a Claude Code plugin, which connects Claude Code and Cowork to the same server: /plugin marketplace add cwasley/earnrate, then /plugin install earnrate@earnrate.
Use the connector (or plugin) or the local extension, not both: each keeps its own wallet, and with both connected Claude may answer from either. Each one says which wallet it used.
Or run it on your computer: earnrate mcp runs earnrate as a local MCP server over stdio, with 15 tools (the connector has the same ones, plus export_wallet, import_wallet, delete_wallet and switch_wallet for its saved wallets):
best_card_for_purchase: which card to use, with reasonsbest_cards_for and simulate_spending: compare every card earnrate knows, for one purchase or a year of spending, with no wallet neededresolve_merchant: how a merchant was identifiedlist_wallet: a to-do list for your cards right now, then your cards, caps left this period, chosen categories, statement credits left, welcome-bonus and spend-bonus progress and the point values you've setcheat_sheet: the card to use for each everyday kind of purchase this quartercompare_welcome_offers: the best public sign-up offers on cards you don't haverecord_purchase: books a purchase against its cap, any open welcome bonus, the card's yearly spend bonuses and an enrolled statement credit in your wallet file, keeping your commentssearch_cards, add_card, update_card, remove_card, set_memberships and set_point_values: set up the wallet in conversation, including what your points are worth (memberships and point values need no cards)set_card_history: cards you used to have, so compare_welcome_offers can check each issuer's published repeat-bonus rule ("Not before March 2027")Both servers also offer four prompts, ready-made questions you can pick in Claude instead of typing one. None needs your cards:
which-card: which credit card to use at a store or for a kind of purchase, with an optional amount, country and way of payingcheat-sheet: the card for each everyday kind of purchasethis-quarter: what to do with your saved cards now (activations, picks, caps, welcome bonuses)set-up: save your cards by name, with their picks and membershipsSaving cards is optional: name them in the conversation for one answer, or ask the assistant to save them, and it finds them, adds them, and asks about anything a card needs, like this quarter's Cash+ picks.
For a merchant earnrate doesn't know, the calling model can pass a category (e.g. grocery.supermarket). It's used only for unknown merchants and is labeled in the answer. The command line takes the same thing as --category.
Claude Desktop, running locally: download earnrate.mcpb and open it; Claude Desktop installs it (Settings → Extensions). No terminal or Node install needed. Its one setting is where your wallet file lives, by default ~/.earnrate/wallet.yaml, the same file the command line uses.
To run it locally in Claude Code:
claude mcp add --scope user earnrate -- npx -y earnrate mcp
Other MCP clients take the same command in their config:
{
"mcpServers": {
"earnrate": { "command": "npx", "args": ["-y", "earnrate", "mcp"] }
}
}
It reads the same wallet as the command line (~/.earnrate/wallet.yaml, or EARNRATE_WALLET set in the server's env).
merchant text
→ resolve category, channel, and the assumption behind them
→ evaluate every rule on every card: network, dates, caps, picks, activations
→ value your cents per point, with pooling
→ rank winner, runner-ups, flip points, warnings, confidence
The code is TypeScript run directly by Node 24 (src/), with the engine in src/engine/, merchant resolution in src/merchants/, and the CLI and MCP server as thin layers over them. site/ is earnrate.dev, which runs the same engine in the browser, and remote/ is the hosted server at mcp.earnrate.dev.
Every rule in data/cards/ carries a short quote from the issuer's own page. In a clone of this repo, yarn check-sources opens each issuer page in a headless browser and reports:
A GitHub Action runs it every Monday and opens a "Card source changes" issue when something moved or a page couldn't be read. After updating a card file, run yarn check-sources --update --cards <ids> to record the new baseline for those cards' pages. Some issuers block headless browsers on shared servers; those pages are listed as "couldn't check", and running the command locally covers them. The first run needs yarn playwright install chromium.
Rotating categories (Freedom Flex) are added each quarter once the issuer posts them. Until then, answers say that quarter's categories are missing rather than guessing.
earnrate needs no account. The local version has no telemetry; the hosted server counts requests and errors by tool or page, with the kind of app they came from, and how many wallets are started and used each day, never what was asked. The full policy is at earnrate.dev/privacy; in short:
~/.earnrate/wallet.yaml unless you set EARNRATE_WALLET). It lists cards by product ID, like amex-gold, plus your category picks, activations and how much you've spent toward caps. earnrate never asks for or stores card numbers, expiry dates, security codes or bank logins. When you ask about a store earnrate doesn't recognize, its name goes in ~/.earnrate/missed-merchants.json (earnrate missed lists them; EARNRATE_MISSED_MERCHANTS=off keeps no list).~/.earnrate/merchant-cache.json.Development needs Node 24 or later: the repo runs its TypeScript directly, with no build step. The published package is compiled and runs on Node 22 or later.
git clone https://github.com/cwasley/earnrate.git && cd earnrate
yarn install
yarn earnrate whole foods 80 # runs src/ directly, no build
yarn validate # typecheck, lint, format check and tests
See CONTRIBUTING.md before opening a pull request.
data/) is MIT.data/) is CC BY-NC 4.0. It's free for personal and non-commercial use, with attribution.Not legal advice; this is a good-faith structure.
earnrate isn't financial advice. Issuers change their terms, and every answer names the rule it used, so check the card's issuer page (linked in its file) before a big purchase.