deal-hunter
Click on "Install 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., "@deal-hunterfind cheapest effective price for iPhone 15"
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.
Deal Hunter 🛒
An MCP-based agentic AI that finds the cheapest real cost to buy a product in India. Given something like "HP Victus gaming laptop", it:
Compares prices across Amazon.in, Flipkart, and the HP India store (live scraping).
Matches the listings to confirm they're the same product.
Finds coupons (codes + auto-applied cart discounts).
Evaluates payment cards — instant bank discounts + reward/cashback value.
Recommends the single cheapest combination: platform + coupon + card → net price.
The "brain" is Claude Opus 5, which orchestrates the tools; the tools live in a Model Context Protocol (MCP) server, so any MCP client (this agent, Claude Desktop, etc.) can drive them.
Architecture
Web browser Claude Opus 5
│ (agent/agent.py)
│ HTTP │ MCP (stdio)
┌────▼─────────────┐ ┌────────▼──────────┐
│ webapp/app.py │ │ mcp_server/ │
│ (FastAPI + SPA) │ │ server.py │
└────┬─────────────┘ └────────┬──────────┘
│ │
└──────────────┬────────────────────┘
▼
mcp_server/pipeline.py ← one shared core, two front doors
│
┌───────────┬───────┴───────┬─────────────┐
▼ ▼ ▼ ▼
scrapers/ matching.py coupons.py valuation.py
amazon (same-product) (codes) (best card + coupon math)
flipkart cards.py ← data/cards.json
hp📚 New to the concepts here?
docs/CONCEPTS.mdteaches every idea used — agentic AI, MCP, the Claude API, scraping, fuzzy matching, the valuation engine, FastAPI, the SPA front-end, async — each tied to the exact code that uses it.
Why this shape? The deal-finding logic lives in pipeline.py and is
framework-agnostic. The web app (FastAPI) and the Claude agent (MCP) are
just two front doors onto the same engine — so the demo you click and the AI that
reasons over it can never drift apart. And because the tools are exposed over MCP,
you can also drive them straight from Claude Desktop.
Related MCP server: Shopping Deals MCP Server
Setup
cd deal-hunter
pip install -r requirements.txt
cp .env.example .env # then put your ANTHROPIC_API_KEY in .envOptional (more reliable scraping of JS-heavy pages):
pip install playwright && playwright install chromiumRun
Web app (the showcase surface — enter a product, pick the cards you own, see the winning deal):
uvicorn webapp.app:app --reloadThen open http://127.0.0.1:8000. No API key needed — the web app talks to the engine directly (the Claude agent is the separate CLI below).
Full agent (natural language in, recommendation out — uses Claude Opus 5):
python -m agent.agent "HP Victus gaming laptop"Just the MCP server (for Claude Desktop or another MCP client):
python -m mcp_server.serverRegister it with Claude Desktop by adding to its MCP config:
{
"mcpServers": {
"deal-hunter": {
"command": "python",
"args": ["-m", "mcp_server.server"],
"cwd": "/absolute/path/to/deal-hunter"
}
}
}The tools
Tool | What it does |
| Live-scrape all three platforms; returns raw listings. |
| Match the same product across platforms + confidence score. |
| Coupon codes and auto-applied discounts per platform. |
| The card catalogue and how each earns value. |
| One-shot: the whole pipeline → the winning combination. |
The card catalogue lives in data/cards.json — edit it to add
your own cards, instant-discount rules, and reward rates.
The valuation math
For each platform's listing, every card is scored by net effective price:
listed price
− best coupon (auto/coded)
= after_coupon
− instant bank discount (card, applied on the post-coupon amount)
= amount charged to card
− reward/cashback value (on amount charged)
= NET EFFECTIVE PRICE ← ranked; lowest winsThe globally cheapest net price across all platforms is the recommendation.
Important caveats
Scraping is best-effort and fragile. Amazon.in and Flipkart rotate their markup and run bot detection; selectors will need maintenance, and requests get CAPTCHA-walled sometimes. Each scraper fails soft (returns nothing) rather than crashing.
Sample fallback. If all platforms block the scraper and
DEAL_HUNTER_ALLOW_MOCK=1, the server serves illustrative sample data so the pipeline still runs end-to-end. Tool results are labelled"source": "sample"vs"live"so you always know which you got.Card & coupon data is a starter set, not exhaustive or real-time. Bank offers change constantly — treat
data/cards.jsonas a template to maintain.Respect each site's Terms of Service and
robots.txt. This is a personal research tool; don't point it at sites that forbid scraping, and don't hammer them (there's a small retry/backoff, but no aggressive crawling).Not financial advice. Reward valuations are simplified; verify offers on the platform before buying.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
Alicense-qualityDmaintenanceMCP server for scraping product prices, offers, reviews, and details from Amazon, Google Shopping, Bol.com, and Coolblue via natural language commands, with spend-cap protections.191MIT- AlicenseBqualityBmaintenanceMCP server for finding, comparing, and ranking the cheapest real offers across eBay, Amazon, Craigslist, OfferUp, and Google Shopping, with tax estimation and exact-model filtering.6MIT
- FlicenseAqualityBmaintenanceMCP server that acts as a shopping assistant, enabling product search, comparison, deal finding, and price history tracking via Hound web search.6
- Flicense-qualityBmaintenanceMCP server that enables AI agents to search and compare products and generate Amazon affiliate purchase links.
Related MCP Connectors
MCP server aggregating developer infrastructure deals, free tiers, and startup programs
Shopping MCP for AI agents: search, compare, Amazon buy links. Auto-register.
Shopping search across 100M+ products, with every retailer's offer and live price in one place.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sujithsuresh-803/deal-hunter'
If you have feedback or need assistance with the MCP directory API, please join our Discord server