mcp-server-il-benefits
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-server-il-benefits I'm at Fox in Tel Aviv, what should I do before I pay?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
npx -y github:ofershap/mcp-server-il-benefitsWorks with Claude Desktop, Cursor, VS Code Copilot, and any MCP client. No API key. No account. Your wallet (a list of names) never leaves your machine.
Why this exists
You stand at the checkout at Castro with a bag of clothes. The person in front of you is fiddling with a coupon. You have a credit card, a club card and a few apps, and no idea which one saves you money. Some savings only work if you act before you pay: a friend of the author loaded a prepaid card with 250 shekels for 187.5 at a mall, bought a 100 shekel voucher for 59, and noticed another couple at every checkout doing the same dance.
Today it finds cashback and discounted gift cards for stores such as Fox, Golf, Terminal X, Home Center, Zer4u, adidas, ASOS, Shein, AliExpress, iHerb, Booking.com and Expedia (each one checked live through this server on 2026-10-16). Coverage is mostly online stores, and many chains, Castro included, return nothing yet.
The idea: you tell your agent "I'm at store X", and it checks what is available and tells you what to do before you pay. Sometimes that is "buy this discounted gift card first". Sometimes it is "open the store through this cashback link first".
The data for that already exists, aggregated by other people. Building a second database would be pointless and would copy someone else's work. So this project is only the connection: a small MCP server and a skill that let your agent ask an existing aggregator one question at a time, and answer you with the source and the link.
Related MCP server: social-services-il-mcp
What it does and does not do
Asks the connected source live, once per question. Nothing is cached, crawled or stored.
Ranks results with the providers you said you use first (cashback portals, gift card sellers). The wallet is a local list of names.
Always returns the source attribution and the original link, as the source's terms require.
Never buys anything, never generates a code, never logs in for you. You click the link.
Says so when a store has no result, instead of guessing.
Coverage today (read this first)
The only source shipped is GotCashback, because its terms explicitly welcome AI agents that fetch current information to answer a user's question (section 5). It covers cashback portals and discounted gift cards. In Israel it lists a few hundred stores, so many chains return nothing. Hebrew store names match better than English ones (for example סופר פארם found a result where Super-Pharm did not).
It does not know the benefits of your credit card, bank club or employer club at a given store. The databases that hold those are third-party sites whose terms do not allow automated access, so they are not connected. See DATA_SOURCES.md for each source, the terms clause that decided it, and the date it was checked. The server is built so another source can be added the day its owner permits it.
What makes it different
mcp-server-il-benefits | ||||
What it is | Mediator with a wallet and a "what do I do before I pay" answer | Hosted catalogue of club offers | Hosted cashback and gift card database | Static skill with category tips |
Knows what you use | Yes, local file | No | No | No |
Says when to act (before paying, after) | Yes | In terms text | Cashback only | Partly |
Own dataset | None | Yes | Yes | Yes |
Source and link on every answer | Yes | Varies | Yes | Per source |
GotCashback's own MCP server is the better choice if you only want cashback rates in a chat. This project adds the wallet, the "before you pay" framing and a place to plug in more sources.
Quick start
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"il-benefits": {
"command": "npx",
"args": ["-y", "github:ofershap/mcp-server-il-benefits"]
}
}
}Claude Desktop
Add the same block to claude_desktop_config.json.
Claude Code
claude mcp add il-benefits -- npx -y github:ofershap/mcp-server-il-benefitsVS Code
Add to user settings or .vscode/mcp.json:
{
"mcp": {
"servers": {
"il-benefits": { "command": "npx", "args": ["-y", "github:ofershap/mcp-server-il-benefits"] }
}
}
}First run
Tell your agent what you use: "I use the Cashdo and TopCash portals. Save that as my wallet."
Ask at the store: "I'm at Fox, buying about 400 shekels. What should I do before I pay?"
Tools
Tool | What it does |
| Store (Hebrew or English), optional country, basket size and channel. One live request per connected source. Returns ranked options, your providers first, with how to use each, a link and the source attribution |
| The connected sources, their terms page and attribution text |
| Read or replace the list of provider names you use. Names only, saved locally |
Examples
"I'm at Fox. What should I do before I pay?"
"אני בפוקס, איך הכי משתלם לשלם?"
"Is there a discounted gift card for this store?"
"Which of my cashback portals pays the most here?"
Privacy
The wallet is a list of names in
~/.config/mcp-server-il-benefits/wallet.json(override withIL_BENEFITS_HOME).No card numbers, balances or ID numbers are asked for or stored.
The only network call is the store name and a country code, sent to the connected source when you ask. Nothing else leaves your machine.
Agent skill
skills/which-card-to-pay/SKILL.md teaches an agent the in-store flow: read the wallet, ask for the store, answer with the best action and when to take it, show the links, and say when nothing was found. This repo is an Agent Plugins 1.0.0 package: plugin.json, mcp.json and skills/.
Adding a source
A source is one file implementing BenefitSource in src/sources/. It must make one live request per question and keep no copy. It may be added only if the source's own terms allow automated, per-request access, or the owner gave written permission. See CONTRIBUTING.md.
FAQ
What is mcp-server-il-benefits?
An MCP server and agent skill that lets an AI agent ask an existing benefits aggregator, live, what discount, cashback or gift card deal applies at a store in Israel, and tells you what to do before you pay.
Which credit card should I use at a store in Israel?
This tool cannot tell you yet. It does not have credit card or club data, because those databases do not permit automated access. It finds cashback and discounted gift cards. Your card issuer's app is still the place for card benefits.
Does it scrape websites?
No. It calls the public MCP endpoint that GotCashback publishes for AI assistants, one request per question, and follows its attribution and no-caching rules.
Can it buy the gift card or generate a coupon code for me?
No, by design. It returns the link and the steps. You decide and you pay.
Is it commercial?
No. MIT licensed, no ads, no affiliate links of its own. The links returned are the source's own tracked links, shown unchanged, as its terms require.
Does it work in Hebrew?
Yes. Store names are passed through as you type them.
Do I need API keys or an account?
No.
Development
git clone https://github.com/ofershap/mcp-server-il-benefits.git
cd mcp-server-il-benefits
npm install
npm test
npm run buildTests use recorded fixtures and a fake network. No test calls a live service.
See also
More MCP servers and developer tools on my portfolio.
Author
License
Available Tools
4 toolsbest_way_to_payBest way to pay at a storeA
Use when the user is in or heading to a store and asks which card, club, cashback portal or discounted gift card to use. Takes a store or chain name in Hebrew or English. Makes one live request to the connected benefit sources and returns ranked options (the user's own providers first), how to use each, and a link. Always show the links and the source attribution, and tell the user to confirm at checkout. Never buys anything.
Inputs: store (required), amount, channel, country.
list_sourcesList connected benefit sourcesA
Show which existing benefit databases this server asks, their terms page and what they cover. Use to explain where an answer came from or why a store has no result.
Inputs: no named parameters.
wallet_getShow the saved walletA
Show the cashback portals, clubs and sellers the user said they use. The wallet is a local file of names. It never leaves the machine.
Inputs: no named parameters.
wallet_setSave the providers the user usesA
Replace the saved wallet with provider names as they appear in results (for example a cashback portal name or a gift card seller). Used to rank the user's own providers first. Store names only. Never ask for or store card numbers, balances or personal details.
Inputs: providers (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: best_way_to_pay queries benefits, list_sources explains data origins, wallet_get reads the saved wallet, and wallet_set writes it. The read/write pair is unambiguous, and there is no meaningful overlap between tools.
The set mixes three conventions: a natural-language phrase (best_way_to_pay), verb_noun (list_sources), and noun_verb (wallet_get, wallet_set). Names are readable but not predictable as a pattern.
Four tools map neatly onto the narrow domain (query benefits, inspect sources, read/write a wallet). It is slightly thin but each tool earns its place with no redundancy.
The surface covers query, source explanation, and wallet read/write for the benefits domain. Minor gaps exist, such as no way to add or remove individual providers (wallet_set replaces the whole list), but core workflows are served.
Maintenance
Related MCP Connectors
Verified deals, store policies & a trust score for thousands of online retailers. No auth.
AI shopping agents find coupon codes, test each in a real cart, track prices at 145,000+ stores.
AI-agent product catalog: search, lookup & purchase routing over verified merchant data.
Search live store shelves, verify delivery windows, and run instant AI agent checkouts.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables searching and comparing live credit card merchant offers (cash back, points, statement credits) across Amex, Chase, Citi, PayPal, Rakuten, and Capital One from any AI agent.-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to search and retrieve Israel's social services data, including service details, taxonomy, and location-based queries.MIT
- AlicenseAqualityBmaintenanceEnables an LLM agent to search products, manage a shopping cart, and reorder from purchase history at the Rami Levy supermarket chain via its real API.7MIT
- AlicenseBqualityBmaintenanceEnables AI agents to compare prices across Iranian online and in-person shops, inspect each seller's offer with warranty and installment details, review roughly a year of price history, score deals, and find the cheapest shop for a whole basket. It is read-only, requires no account or API key, and runs locally for Claude, Cursor or Copilot.26450 PyPI1PolyForm Noncommercial 1.0.0