Snappfood & SnappMarket

io.github.sepehr071v0.1.1Updated Oct 2, 2026

Unofficial read-only Snappfood & SnappMarket: search food and groceries, compare prices, deals.

Overview

AI-generated overview

Read-only search and price comparison for Snappfood restaurants and SnappMarket groceries in Iran, including delivery fees and flash deals.

What it does
Runs locally and calls the public Snappfood and SnappMarket endpoints to search dishes and grocery products near a given address in Iran. Tools cover location lookup, restaurant and store browsing with filters, full menus and catalogs, delivery fees, minimum orders, ETAs, coupons, reviews, and flash deals such as FoodParty and Market Party. It computes the true total cost of a food order (price minus discount plus packaging plus delivery minus coupon) and finds the cheapest in-stock grocery offers. All tools are read-only and return compact structured JSON.
When to use it
Use it when you want an assistant to compare restaurant or grocery prices, menus, delivery fees and active discounts in Iran before ordering in the app yourself. It suits questions like the cheapest pizza delivered to a specific address, stores with free delivery and high ratings, or current flash deals near a location.
Requirements
A local Python runtime with uv or uvx (or pip install snapp-mcp), run over stdio. An Iranian IP address is required because Snappfood blocks most foreign IPs; the optional SNAPP_MCP_PROXY environment variable can point to an HTTP proxy exiting in Iran, since system proxy settings are ignored. No account or API key. Desktop only.
Before you install
Read-only by design: no login, basket, order or payment endpoints are touched, so it cannot place orders. It sends requests to Snappfood and SnappMarket public endpoints from your machine using your IP. The optional SNAPP_MCP_PROXY value may embed proxy credentials, so treat it as a secret. Prices and deals change constantly and results may be blocked or unavailable outside Iran.

Installation

In SourceWeft

  1. Open Snappfood & SnappMarket in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

🍕 snapp-mcp

Let your AI agent shop around on Snappfood and SnappMarket.
Search dishes and groceries, compare real prices across hundreds of restaurants and stores,
read menus and reviews, and catch today's flash deals, all from Claude, Cursor or Copilot.

[PyPI] [Python] [CI] [MCP Registry] [License: MIT]

[Install in Cursor] [Install in VS Code]

Quick start · What it can do · Tools · FAQ · فارسی


Why

Snappfood shows you one restaurant at a time. Finding the cheapest pizza that actually reaches your door means opening dozens of menus, adding packaging and delivery fees in your head, and checking each restaurant's minimum order. An agent with snapp-mcp does that in seconds:

You: Cheapest pizza delivered to Vanak Square right now, including delivery?

Agent: calls find_location(query="میدان ونک") → food_find_cheapest(query="پیتزا", lat=35.7577, long=51.4095)

TotalDishRestaurantBreakdown
296,400پیتزا سوسیس مینی + نوشابهپیتزاتو (گاندی)food 296,400 · free delivery
410,000پیتزا اسمارت وجی لاورپیتزا دومینوز (جردن)food 360,000 + delivery 50,000
464,000پیتزا پپرونی اسلایسیتله پیتزا (سعادت آباد)food 315,000 + delivery 149,000

The Pizzato combo is cheapest overall. Want me to check its minimum order and coupons with food_order_costs?

Real tool output from 2026-10-02; prices change all the time. Prices are in Toman.

What it can do

  • 🔎 Search dishes and grocery products by name near any address in Iran
  • 💸 Find the true cheapest option: food price after discount + packaging + delivery, checked against live menus
  • 🏪 Browse restaurants and stores with filters: free delivery, discount, coupon, rating, distance
  • 📋 Read full menus, store catalogs, minimum orders, delivery fees, ETAs and coupons
  • ⚡ Catch deals: FoodParty flash deals, meals for one, Gem hunts, Market Party
  • ⭐ Check quality with customer reviews before recommending anything
  • 🔒 Read-only by design: no login, no basket, no orders, no payment

Quick start

You need uv and an Iranian IP address (Snappfood blocks most foreign IPs; see FAQ).

Claude Code
bash
claude mcp add snapp -- uvx snapp-mcp
Claude Desktop

Settings → Developer → Edit Config, then add:

json
{  "mcpServers": {    "snapp": { "command": "uvx", "args": ["snapp-mcp"] }  }}
Cursor

Click Install in Cursor above, or add the Claude Desktop block to ~/.cursor/mcp.json.

VS Code (Copilot agent mode)

Click Install in VS Code above, or add to .vscode/mcp.json:

json
{  "servers": {    "snapp": { "type": "stdio", "command": "uvx", "args": ["snapp-mcp"] }  }}
Anything else

It's a standard stdio MCP server: run uvx snapp-mcp, or pip install snapp-mcp and run snapp-mcp.

Then just ask:

  • "Which restaurants near Tajrish have free delivery and at least 4.5 stars?"
  • "Show FoodParty deals with more than 40% off near me."
  • "Where is low-fat milk cheapest near Jordan, Tehran? Include delivery."
  • ارزان‌ترین کباب نزدیک میدان آزادی شیراز با هزینه ارسال؟

How it works

text
  AI agent  (Claude, Cursor, Copilot, ...)      │      │  MCP over stdio      ▼  snapp-mcp  (runs on your machine, uses your IP)      │      │  HTTPS      ├──────▶  snappfood.ir    restaurants      └──────▶  snapp.market    groceries

snapp-mcp runs locally and calls the same public endpoints the Snappfood and SnappMarket web apps use. There's no hosted server in between, no API key, and nothing about you is sent anywhere else.

Tools

Every food and grocery tool takes lat / long, because menus, prices and delivery fees depend on the delivery point. The agent gets them from find_location or list_cities first.

📍 Location (3)
ToolWhat it does
find_locationAddress, landmark or street → coordinates
reverse_geocodeCoordinates → street / neighbourhood names
list_citiesEvery served city with its center point
🍔 Snappfood: restaurants (9)
ToolWhat it does
food_searchSearch dishes by name; price sorts are re-checked against live menus
food_find_cheapestScan nearby menus + FoodParty for the lowest total price (food + packaging + delivery)
food_restaurantsRestaurants with filters (free delivery, discount, coupon) and sorting
food_menuOne restaurant's full menu with prices, packaging fees and availability
food_order_costsDelivery fee, ETA, minimum order and coupons of one restaurant
food_reviewsCustomer reviews, with what they ordered and the restaurant's reply
food_party_dealsFoodParty flash deals still in stock, with the deal window
food_meal_for_oneSingle-person meals up to 299k Toman with free delivery
food_discounted_vendorsRestaurants running discounts now, plus live Gem deals
🛒 SnappMarket: groceries (9)
ToolWhat it does
market_searchSearch a product across stores, grouped by store
market_find_cheapestCheapest in-stock offers for a product, one flat list
market_storesStores delivering to a point, by delivery fee or rating
market_store_infoDelivery fee, minimum order, opening hours and coupons of a store
market_store_productsSearch inside a store, or browse it by category
market_categoriesProduct categories and their ids
market_productOne product's details and price in a store
market_party_dealsMarket Party flash deals, biggest discount first
market_reviewsCustomer comments on a store

All tools are annotated readOnlyHint: true and return compact structured JSON, so they don't flood the agent's context.

Good to know

  • Prices are in Toman (1 Toman = 10 Rial). Ratings are normalized to 0–5, like the apps; null means not rated yet.
  • True cost of a food order = price − discount + packaging + delivery − coupon, and the basket must reach the restaurant's minimum order. food_find_cheapest and food_order_costs give the agent every piece of that.
  • Persian queries match best (پیتزا, کباب, شیر). Name filters treat Arabic ي/ك and half-space vs space as equal.

FAQ

I get "blocked the request (HTTP 403)"

Snappfood's firewall only accepts Iranian IP addresses. Run the server on a machine in Iran with the VPN off. If you must use a VPN, set SNAPP_MCP_PROXY to an HTTP proxy that exits in Iran. Normal system proxy variables are ignored on purpose, because a foreign VPN exit would get blocked. SnappMarket is less strict.

Can it place an order for me?

No, and that's deliberate. It has no login and never touches the basket, order or payment endpoints. The agent finds the best option; you tap order in the app.

FoodParty or Gem results are empty

Those deals only run in time windows. active: false or gem: null means no window is live right now.

Claude Desktop says uvx is not found

Use the full path to uvx (where uvx on Windows, which uvx on macOS/Linux) as command.

How do I debug what the agent sees?
bash
npx @modelcontextprotocol/inspector uvx snapp-mcp

Configuration

VariableDefaultMeaning
SNAPP_MCP_PROXYunsetHTTP proxy for every request, e.g. http://user:pass@host:port

فارسی

snapp-mcp به دستیار هوش مصنوعی شما (Claude، Cursor، Copilot و ...) اجازه می‌دهد در اسنپ‌فود و اسنپ‌مارکت جستجو کند، قیمت واقعی غذا و کالا را بین صدها رستوران و فروشگاه مقایسه کند، منو و نظرات را بخواند و تخفیف‌های فعال (فودپارتی، جم، مارکت‌پارتی) را پیدا کند.

  • فقط خواندنی است: وارد حساب نمی‌شود، سبد خرید نمی‌سازد و سفارش ثبت نمی‌کند.
  • قیمت نهایی را با بسته‌بندی، هزینه ارسال و حداقل سفارش حساب می‌کند.
  • روی سیستم خود شما اجرا می‌شود و به هیچ سرور واسطی داده نمی‌فرستد.

نصب در Claude Code:

bash
claude mcp add snapp -- uvx snapp-mcp

بعد بپرسید: «ارزان‌ترین پیتزا با هزینه ارسال نزدیک میدان ونک کجاست؟»

نکته: سرور باید روی سیستمی با IP ایران و بدون VPN اجرا شود، چون اسنپ‌فود درخواست‌های خارج از ایران را مسدود می‌کند.

Development

bash
git clone https://github.com/sepehr071/snapp-mcp && cd snapp-mcpuv syncuv run pytest            # offline, against recorded responsesuv run pytest -m live    # real APIs (needs an Iranian IP)uv run ruff check .

Tools live in src/snapp_mcp/food.py, market.py and location.py; each is a typed async function with a docstring that tells the agent when to use it. Issues and PRs are welcome, especially new tools and fixes for API changes.

Releases: bump the version in pyproject.toml and server.json, then push a v* tag. GitHub Actions tests, publishes to PyPI and the MCP Registry, and creates the GitHub Release.

Disclaimer

Unofficial and not affiliated with or endorsed by Snapp. It uses the public endpoints of the snappfood.ir and snapp.market web apps, which can change without notice. Please keep request rates reasonable.

License

MIT

Source: README.md at commit 1dab3f9

Tools

0
Tool metadata has not been indexed yet.

Version history

1
  1. v0.1.1LatestOct 2, 2026