Skip to main content
Glama
rightcard

rightcard-mcp

by rightcard
README.md
# RightCard MCP

[![npm](https://img.shields.io/npm/v/rightcard-mcp)](https://www.npmjs.com/package/rightcard-mcp)

The card-selection oracle for agents: **which of your credit cards should pay here?**
Answers come from RightCard's bank-published, two-source-verified reward data — the same
data the [RightCard iOS app](https://apps.apple.com/app/id6756834989) uses.

- **No bank login. No account. Nothing stored.** You pass card ids and a store name; you get an answer.
- Honest by construction: merchant-code caveats (Costco is a warehouse club, so the grocery bonus
  won't post), rotating quarters with activation flags, ties named, points valued per program.
- Cash value by default; `valuation: "points"` for conservative travel values.

## Use it

Hosted (stateless Streamable HTTP):

```
https://mcp.rightcard.ai/mcp
```

Local (stdio, nothing leaves your machine except a read of the public catalog):

```
npx rightcard-mcp
```

Claude Desktop / Claude Code / Cursor config:

```json
{ "mcpServers": { "rightcard": { "command": "npx", "args": ["-y", "rightcard-mcp"] } } }
```

## Tools

| tool | what it answers |
|---|---|
| `best_card` | which of the given cards earns most at a store or category, today, with caveats |
| `lookup_merchant` | how a store is coded (category, merchant type, MCC-trap caveat) |
| `search_cards` | find card ids by name/issuer; verified first, unverified flagged |
| `card` | one card's verified rates, rotating windows, choose-your-category spec |
| `rotating_calendar` | live + upcoming rotating windows and permanent merchant benefits |

Try: "I have the Amex Gold, Freedom Flex and Citi Double Cash. Which one at Costco?"

## Parity with the app

`src/engine.ts` is a port of the iOS app's Swift engine. `fixtures/engine_golden.json` holds
3,100+ answers produced by the Swift code over the real catalog and merchant directory;
`npm test` fails if the port disagrees on any of them. Offers (a user's personal bank offers)
are deliberately not part of this server — they live on the phone.

## Privacy

The hosted server logs request counts only. No identifiers, no cookies, no storage.
Full policy: https://rightcard.ai/privacy

TDQS

A3.7/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a clear, distinct purpose: best_card compares cards, lookup_merchant provides merchant category info, search_cards finds card IDs, card gives detailed card data, and rotating_calendar lists rotating offers. There is no overlap or ambiguity between them.

Naming Consistency4/5

All tool names use snake_case and are readable. Most follow verb_noun pattern (lookup_merchant, search_cards) but 'card' and 'rotating_calendar' differ slightly; still, the style is consistent and predictable.

Tool Count5/5

With 5 tools, the server is well-scoped for its purpose of card rewards recommendations. Each tool is necessary and not redundant, fitting comfortably in the ideal 3-15 range.

Completeness5/5

The domain of finding the best card for a merchant or category is fully covered: search for cards, retrieve card details, check merchant categories, compare cards, and consult rotating offers. There are no obvious missing operations for this specific use case.

Maintenance

ActivityMaintained
ResponsivenessNo issues