Your wallet in connected AI apps
Miles works inside Claude, ChatGPT, Codex, and OpenClaw. Your AI reads your cards, credits, and point values, and updates your wallet from your statements when you allow it.
Requires a free Miles account · Read-only unless you say otherwise · 63 tools
https://mcp.askmiles.ai/mcpclaude mcp add --transport http Miles https://mcp.askmiles.ai/mcp
Miles connected · signed in with OAuth · 63 tools
Check @statements/ for credits I’ve used.
miles · get_credit_usage (only_unused: true)
5 credits open this period, on 2 cards
Record the credits found on your statements?
Yes, record them.
miles · set_credit_usage (entries: 4 rows)
Recorded travel, airline fee (partly used), hotel and shopping
miles · set_free_night_status (status: "available")
Free night confirmed earned
$203 left to use this year.
One correction: the hotel charge was refunded on my October statement.
miles · clear_credit_usage (entries: 1 row)
Hotel credit open again for Jul to Dec
Full transcript
claude mcp add --transport http Miles https://mcp.askmiles.ai/mcp
Miles connected · signed in with OAuth · 63 tools
claude
@statements/ Here are my card statements for the last three months. Use them to reconcile my Miles credits and free nights.
1. Ask Miles for every tracked credit with nothing recorded for its current period and every spend-triggered free night still pending. 2. For each credit, search the statements for a transaction on the right card, from a matching merchant or activity, within the period, and near the credit amount. A smaller transaction can still match. An issuer statement-credit line also counts as proof. 3. For each free night, add up qualifying purchases on that card during its window and compare the total with the threshold. If the statements do not cover the whole window, say so and call the total partial. 4. Before writing anything, show me a table with each result, its status (used, partly used, unused, or no match), and any matched transaction. Record the results after I confirm. Mark an item used only when you find the transaction. Record it as unknown when you search and cannot determine the result.
miles · get_credit_usage (only_unused: true)
5 credits open this period, on 2 cards
miles · get_free_nights (status: "pending")
1 pending: $15,000 card-year spend since Aug 1
From the Aug to Oct statements, before I write anything:
- Travel credit · used, $300
- Airline fee credit · partly used, $47 of $200
- Hotel credit · used, $50
- Shopping credit · used, $75
- Dining credit · no match, still open
- Free night · $15,240 of $15,000, earned
Record these?
Yes, record them.
miles · set_credit_usage (entries: 3 rows)
Recorded travel, airline fee (partly used) and hotel
miles · set_credit_usage (entries: 1 row)
Recorded shopping
miles · set_free_night_status (status: "available")
Free night confirmed earned
Recorded. $203 is left to use this year: $153 of the airline fee credit and the $50 dining credit, both through Dec 31.
One correction: the hotel charge was refunded on my October statement.
miles · clear_credit_usage (entries: 1 row)
Hotel credit open again for Jul to Dec
Done. The hotel credit is open again, so $253 is left to use this year.
Credits, from your statements
2 marked used · 1 partly used · free night earned
| Credit | Status |
|---|---|
| Travel credit2026 · $300 | used |
| Airline fee credit2026 · $200 | partly used $47 |
| Hotel creditJul to Dec · $50 | refunded · open |
| Shopping creditOct to Dec · $75 | used |
| Dining creditJul to Dec · $50 | no match · open |
| Left to use this year$153 airline fee + $50 dining + $50 hotel | $253 |
More workflows on What’s possible.
Use Miles inside your AI app
Choose your app for the setup steps, or copy a prompt for your AI.
claude.ai and Claude Desktop
Before you start: A free Miles account. Free plans allow one custom connector at a time.
- Open Customize → Connectors, click + Add → Add custom connector, name it, and paste the server URL.Server URL
https://mcp.askmiles.ai/mcp - Under OAuth client, choose Register automatically: Miles cannot use the recommended option, Claude’s published identity.
- Leave Request headers empty; Miles signs you in through your browser.
Add Miles on desktop or web to use it in Claude’s mobile app too. Use the Connectors menu to pause Miles without disconnecting it.
To check it worked, ask your AI:
“Which of my cards should I use for dinner?”
Claude Code
Before you start: A free Miles account, and Claude Code.
- Run:
claude mcp add --transport http Miles https://mcp.askmiles.ai/mcp - Start Claude Code, run
/mcp, select Miles and choose Authenticate. - Approve the connection in the browser window that opens.
Add --scope user to use it in every project.
To check it worked, ask your AI:
“Which card should I use at Costco?”
Codex CLI
Before you start: A free Miles account, and the Codex CLI.
- Run:
codex mcp add Miles --url https://mcp.askmiles.ai/mcp - Opens your browser to approve. Codex requests write access by default; leave that toggle off on the approval screen unless you want it.
To check it worked, ask your AI:
“Which programs transfer to United?”
OpenClaw
Before you start: A free Miles account, and OpenClaw.
- Stop the local OpenClaw Gateway first, then run:
openclaw mcp set miles '{"url":"https://mcp.askmiles.ai/mcp","transport":"streamable-http","auth":"oauth"}' - With the Gateway still stopped, run
openclaw mcp login milesand approve in your browser. Login completes on its own; on a remote or headless machine, finish with the--codecommand it prints.
Miles for OpenClaw is the full walkthrough, including Miles’ own reasoning as a skill.
To check it worked, ask your AI:
“Should I keep my Venture X or downgrade it?”
ChatGPT
Before you start: A free Miles account. ChatGPT adds a custom MCP server without Developer mode.
- Go to chatgpt.com/plugins, click +, choose Add custom MCP server, name the connector, choose Server URL, and paste the URL.Server URL
https://mcp.askmiles.ai/mcp - Set authentication to OAuth. ChatGPT fills in the remaining sign-in settings.
Turn on Ask Miles in each new chat. Connectors work in text chats and are unavailable in ChatGPT voice mode.
Save the Miles icon for the connector’s manual upload (256×256, under 10KB).
To check it worked, ask your AI:
“Which of my cards should I use for dinner?”
https://mcp.askmiles.ai/mcpLet your AI set it up
Paste this into Claude, Codex, or ChatGPT. Your AI connects Miles itself or walks you through the steps.
Connect Miles to this app for me. Miles is a credit card rewards assistant that plugs into AI apps over MCP; the server URL is https://mcp.askmiles.ai/mcp and the setup steps for every app are at https://askmiles.ai/mcp.txt. Read that first, then add the server yourself if this app lets you, or tell me exactly where to click if it doesn't. It's free with a Miles account and read-only unless I say otherwise.When you connect, Miles opens an approval screen in your browser. It lists what the app can see. Write access is off unless you turn it on. Read what a connected app can see.
Once you’re connected
- “Should I keep my Venture X or downgrade it?”
- “Which programs transfer to United?”
- “Which card should I use at Costco?”
Running other connectors beside Miles (award search, trip planning, spending)? See what chains together.
What a connected app can see
What an AI app sends Miles, and what never leaves your device: Your data and your AI.
It can see
- Your wallet: cards and per-card details (including the last four digits, your notes, any retention offers you've recorded, and who in your household holds each card), fees (including any military fee waiver you've recorded), benefits, spending strategy, gift cards (merchant and balance only), and cards you're watching but haven't applied for
- Your point valuations
- Card data, transfer partners, current offers, and what changed this week
- Next-card recommendations, spending analysis, what needs attention right now, upgrade and downgrade paths, and travel-day checklists
- Points-transfer planning: ranks the currencies you hold by cheapest path to an award, and where to focus your points across every balance you've reported
- Credit a flight: for a flight you're taking, which program to credit a flight to, ranked by what the miles are worth to you. Earning rates come from wheretocredit.com, so the airline and booking class you ask about are sent there.
- Your points ledger: balances you've reported, the elite status you've told Miles about for yourself and your household, which credits you've used, reconciliation questions, certificates, and lounge passes
- Points and miles guides: indexed articles and reviews, falling back to a paid web search when nothing relevant is indexed
It can’t see
- Your email, phone, or chat history
- Applying for cards or making payments
- Your military service records, or changes to your wallet, unless you allow it
Read access is the default. Letting an app change your wallet is a separate toggle on the approval screen, off unless you turn it on. With Membership, an app with that permission can add or edit household profiles and choose whose cards appear in recommendations. Codex requests write access by default; Claude Code and ChatGPT don’t. Pause or disconnect any app anytime in Settings → Connected AI Apps.
Update your wallet from your AI
Add a card or record this month’s credits in the conversation you’re already having, and your Miles wallet stays current. On the approval screen, grant wallet changes, or limit access to recording credit, certificate, and balance usage.
Pause or disconnect
“Allow AI app connections” in Settings → Connected AI Apps pauses every connected app at once. Turn it back on and they resume; nothing is lost. To remove a single app permanently, disconnect it there.
Running your own agent
Running your own agent against this connection? The miles-wallet skill is the conduct that goes with the tools: which fields replace existing data and which merge with it, how to record one benefit selection without deleting the rest, and how closing a card differs from removing it. Paste this to your agent:
Fetch https://askmiles.ai/skills/miles-wallet.md and install it as a skill named miles-wallet. Then tell me whether my Miles connection has wallet-change access.Already keep your cards somewhere else?
Add your existing cards to Miles in one conversation. The AI app reads your card list from its current source and adds each card to Miles. If a name matches multiple cards, the app asks which one to add.
From CardPointers
CardPointers+ subscribers can use CardPointers’ connector with Claude and other AI apps at no extra charge as of September 2026. Check CardPointers’ site for current terms. Connect CardPointers and Miles to the same AI app, then paste this:
I keep my credit cards in CardPointers, and Miles is connected too. Read my full card list from CardPointers: issuer, card name, and the open date for each card if you can see it. Then add every card to my Miles wallet with Miles' add_card tool, all in one call. If a name could match more than one card in Miles' catalog, ask me before adding it instead of guessing. When you are done, list what you added and anything you skipped.From AwardWallet, a spreadsheet, or a list
No connector needed. Export or type your card list, paste it under this prompt, and send both together. Issuer and card name are enough; an open date helps with eligibility rules.
Here is my credit card list from another app. Add every card to my Miles wallet with Miles' add_card tool in one call. Use the issuer and card name, plus the open date when provided. If a name matches multiple cards in Miles' catalog, ask me which card to add before proceeding. When finished, list each card you added and anything you skipped.
My cards:
Miles only reads the card names and dates you hand it. Balances, logins, and account numbers stay where they are.
If something isn’t working
- The app says it has no access, and nothing happens
- Check whether “Allow AI app connections” is off in Settings. This pauses every connected app.
- Your wallet looks empty
- Check the “Connecting as” line on the approval screen: it’s easy to approve with a second account. Use Switch to change it.
- Sign-in fails right after adding the server
- Close the window and click sign in again. The first attempt can fire before setup finishes.
- Codex is stuck in a login loop
- Don’t delete
~/.mcp-auth. Codex keeps its tokens in the macOS login Keychain. Runcodex mcp logout Milesto clear them.
The 63 tools your AI can use
Each group holds the tools for one decision. Every unmarked tool only reads, and works as soon as you connect. A tool marked “Changes your wallet” or “Records usage” works only after you turn that access on at the approval screen.
Every tool’s parameters: MCP tools reference.
Your next card
10 tools · 3 write
What to apply for next, and the issuer rules that apply to you.
get_wallet_complementFind the card that fills a gap in your walletReadsplan_welcome_offersPlan which welcome offers to earn with your spendReadsget_top_offersRank current sign-up bonuses by first-year valueReadsget_eligibilityCheck issuer rules such as Chase 5/24Reads
Show all 10Show fewer
search_cardsSearch the card catalog by issuer, fee, or rewardsReadsget_card_infoRead one card's fees, earning, credits, and benefitsReadsget_watchlistList the cards you are consideringReadsadd_to_watchlistAdd a card you are consideringChanges your walletupdate_watchlist_entryEdit a watched card's notes or decision dateChanges your walletremove_from_watchlistRemove a card from your watchlistChanges your wallet
Keep or cancel
11 tools · 2 write
Whether a card still earns its annual fee, and what to use before it renews.
analyze_keep_cancelWeigh one card's value against its annual feeReadsget_product_changesList upgrade and downgrade paths for a cardReadsget_credit_usageSee which card credits are still unusedReadsget_needs_attentionList what needs attention in your wallet nowReads
Show all 11Show fewer
get_dated_eventsList fees, deadlines, and expiring credits by dateReadsget_wallet_summaryRead your wallet's cards, fees, credits, and benefitsReadsget_wallet_benefitsLook up the benefits and credits your cards carryReadsget_reconciliation_needsList wallet questions your transactions could answerReadsset_credit_usageRecord which card credits you usedRecords usageclear_credit_usageRemove a recorded credit useRecords usageget_weekly_updateRead what changed in points and miles recentlyReads
Points and transfers
14 tools · 4 write
What your points are worth, and where to send them.
plan_transferFind the cheapest of your currencies for an awardReadscompare_transfer_optionsCompare what your points are worth across transfersReadsget_valuationsRead point values, using yours where you set themReadsportfolio_reviewRank your balances against a redemption goalReads
Show all 14Show fewer
get_transfer_partnersLook up where a currency transfersReadsset_valuationSet your own value for a points currencyChanges your walletNeeds Membershipreset_valuationReset a point value to Miles' defaultChanges your walletNeeds Membershipget_balancesRead the points balances you have recordedReadsset_balancesRecord a points balanceRecords usageundo_balance_writeUndo the last balance recordedRecords usagewhere_to_creditChoose which program to credit a flight toReadscompare_atmos_earningCompare Alaska Atmos earning on your flightsReadscompare_bilt_optionsCompare the two 2027 Bilt optionsReadsknowledge_searchSearch indexed points and miles guidesReads
Which card to use
6 tools · 2 write
The best card for a purchase, from your own wallet.
get_best_cardPick the best card for a purchase or merchantReadsget_spending_strategyMap which card to use in every categoryReadsanalyze_spendingEstimate a year's rewards on your spendingReadsget_travel_day_summaryList lounges and perks for a travel dayReads
Show all 6Show fewer
set_cap_statusRecord that a card's bonus cap is used upRecords usageclear_cap_statusRemove a recorded bonus capRecords usage
Your wallet record
22 tools · 15 write
The cards, statuses, and certificates every answer works from.
get_wallet_cardsList the cards in your walletReadsadd_cardAdd one card, or a batch of cardsChanges your walletupdate_cardUpdate a card's notes, dates, or statusChanges your walletget_certificatesTrack companion certificates and lounge passesReads
Show all 22Show fewer
get_wallet_cardRead one card with your own notes and datesReadsremove_cardRemove a card from your walletChanges your walletmilitary_serviceRead or set military fee-waiver factsChanges your walletadd_household_memberAdd a household profile (Membership)Changes your walletNeeds Membershipupdate_household_memberEdit a household profile (Membership)Changes your walletNeeds Membershipget_gift_cardsList your gift cards and balancesReadsadd_gift_cardSave a gift cardChanges your walletupdate_gift_cardChange a gift card's balance or detailsChanges your walletremove_gift_cardDelete a gift cardChanges your walletset_certificate_statusRecord a certificate or lounge pass as usedRecords usageNeeds Membershipget_free_nightsTrack free-night hotel certificatesReadsset_free_night_statusRecord a free night as used or earnedRecords usageNeeds Membershipget_elite_statusRead your elite status, stated and card-grantedReadsget_status_benefitsLook up what an elite tier grantsReadsset_elite_statusRecord elite status you holdChanges your walletNeeds Membershipremove_elite_statusForget a stored elite statusChanges your walletNeeds Membershipset_status_entitlementRecord a certificate your elite tier grantsRecords usageNeeds Membershipundo_status_entitlementUndo the last status certificate recordedRecords usageNeeds Membership
Building your own app?
Building something other people will use? Developers documents the catalog, these same tools, and Miles’ own answer in one call.
The catalog API is free and needs no key. The chat endpoint is OpenAI-compatible and returns Miles’ own answer. Try it for yourself. Before you ship an app, site or service that other people use, free or paid, ask first. See the Terms.
Ask your first question from your own AI.
Requires a free Miles account. Read-only unless you say otherwise.