Which credit card earns the most at a merchant, from your cards or every card, and why.
MCPpedia last refreshed this data
io.github.cwasley/earnrate is an MCP server that which credit card earns the most at a merchant, from your cards or every card, and why. Its tool list has not been published yet over stdio and sse, requires no API key, and scores 91/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"earnrate": {
"args": [
"-y",
"earnrate",
"mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Which credit card earns the most at a merchant, from your cards or every card, and why.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked earnrate against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in finance / ecommerce
OKX trading MCP server — connect AI agents to spot, swap, futures, options & grid bots via the Model Context Protocol.
Ledger of AI-agent money on Base: agents, payments, detections, Gate, signed Pass, free checks
Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.
Crypto briefs and data, Solana pre-trade checks, sanctions, papers, NLP. 102 tools, USDC, 20 chains.
MCP Security Weekly
Get CVE alerts and security updates for io.github.cwasley/earnrate and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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