Snappfood & SnappMarket

v0.4.2
io.github.sepehr071/snapp-mcp Checked 2 hours ago Published 13 days ago

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

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

find_location Find location

Turn a place name or address into latitude/longitude. Biased toward near_lat/near_long (default Tehran): pass a city center for other cities.

ParameterTypeDescription
query *stringPlace or landmark, e.g. 'میدان ونک'.
limitintegerMax places.
near_latnumber | nullBias latitude, e.g. a city center.
near_longnumber | nullBias longitude.

reverse_geocode Describe coordinates

Describe coordinates in words (point of interest, street, neighbourhood).

ParameterTypeDescription
lat *numberDelivery latitude.
long *numberDelivery longitude.

list_cities List cities

List cities Snappfood serves, with id, names and center coordinates. Centers work as a rough delivery point.

ParameterTypeDescription
querystring | nullPersian title or English code, e.g. 'شیراز'.

food_find_cheapest Find cheapest dish

Find the cheapest way to get a dish: scans menus of nearby open restaurants plus FoodParty deals. Ranks by total = food price after discount + packaging + delivery fee; check min_order. Slower than food_search.

ParameterTypeDescription
lat *numberDelivery latitude.
long *numberDelivery longitude.
query *stringDish word, e.g. 'پیتزا'.
limitintegerMax dishes.
max_restaurantsintegerMenus to scan (more = slower).

food_restaurants List restaurants

List restaurants delivering to a point, with rating, delivery fee, ETA and coupon info. Also finds a vendor code by name. No dish prices: use food_menu.

ParameterTypeDescription
lat *numberDelivery latitude.
long *numberDelivery longitude.
free_deliverybooleanFree delivery only.
has_couponbooleanWith a coupon only.
has_discountbooleanDiscounted only.
open_onlybooleanHide closed/non-delivering.
pageintegerPage of 20, from 0.
querystring | nullName filter, e.g. 'پیتزا'.
sortstring*_expensive rank by price class, not delivery fee.

food_menu Restaurant menu

Get one restaurant's menu: every item with price, discount, packaging fee and availability. final_price = price - discount; packaging is added per item at checkout.

ParameterTypeDescription
lat *numberDelivery latitude.
long *numberDelivery longitude.
vendor_code *stringVendor code, e.g. '947evd'.
limitintegerMax items.
querystring | nullTitle contains this.

food_order_costs Order costs

Get the extra costs and conditions of ordering from one restaurant. Delivery fee, ETA, minimum order and coupons (basket total needed, first-order only). Packaging is in food_menu.

ParameterTypeDescription
lat *numberDelivery latitude.
long *numberDelivery longitude.
vendor_code *stringVendor code, e.g. '947evd'.

food_reviews Restaurant reviews

Read recent customer reviews of a restaurant (rating, text, what they ordered, vendor reply).

ParameterTypeDescription
vendor_code *stringVendor code, e.g. '947evd'.
full_textbooleanText uncut (default 400 chars).
pageintegerPage of 10, newest first, from 0.

food_party_deals FoodParty deals

List today's FoodParty flash deals (deep discounts, limited stock, time window) still in stock. Deals run only inside starts/ends; outside it the list is empty.

ParameterTypeDescription
lat *numberDelivery latitude.
long *numberDelivery longitude.
limitintegerMax deals.
querystring | nullTitle contains this.
sortstringDeal order.

food_meal_for_one Meals for one

List single-person meals (at most 299k Toman, free delivery), cheapest first. Check min_order.

ParameterTypeDescription
lat *numberDelivery latitude.
long *numberDelivery longitude.
limitintegerMax meals.
max_priceinteger | nullMax final price, Toman.

food_discounted_vendors Discounted restaurants

List restaurants running a discount now, plus the short "Gem" hunt discount if one is live. Vendor-level only: food_menu has prices.

ParameterTypeDescription
lat *numberDelivery latitude.
long *numberDelivery longitude.

market_find_cheapest Find cheapest groceries

Find the cheapest in-stock offers for a grocery product near the point. Scans open delivering stores; one flat list by final price. Check delivery_fee and min_order.

ParameterTypeDescription
lat *numberDelivery latitude.
long *numberDelivery longitude.
query *stringProduct name, e.g. 'شیر کم چرب'.
limitintegerMax offers.
pagesintegerPages to scan, 12 stores each.

market_stores List grocery stores

List SnappMarket stores delivering to the point, with delivery fee, minimum order and rating.

ParameterTypeDescription
lat *numberDelivery latitude.
long *numberDelivery longitude.
pageintegerPage, from 0.
sortstringStore order.

market_store_info Grocery store details

Get one store's delivery fee, minimum order, opening hours, rating and coupons for the point. Basket cost = sum(final prices) + delivery_fee - coupon, and must reach min_order. is_applicable is false when logged out.

ParameterTypeDescription
lat *numberDelivery latitude.
long *numberDelivery longitude.
vendor_code *stringStore code, e.g. '32xxwe'.

market_store_products Browse a grocery store

Browse or search the products of one store. - query: search the store (wins over category ids). - category_id (+ optional subcategory_id): that category's products. - neither: the store's categories and sub-categories with ids.

ParameterTypeDescription
lat *numberDelivery latitude.
long *numberDelivery longitude.
vendor_code *stringStore code, e.g. '32xxwe'.
category_idinteger | nullCategory id (call without ids to list).
pageintegerPage, from 0.
querystring | nullSearch in this store, e.g. 'ماست'.
subcategory_idinteger | nullSub-category id; needs category_id.

market_categories Grocery categories

List SnappMarket product categories and sub-categories with their ids. Ids work as category_id / subcategory_id in market_store_products. 99999999 is the kalabarg e-coupon category.

ParameterTypeDescription
lat *numberDelivery latitude.
long *numberDelivery longitude.

market_product Grocery product details

Get one product's details and price in one store.

ParameterTypeDescription
product_id *integerProduct id from a market_* list.
vendor_code *stringStore code, e.g. '32xxwe'.
full_textbooleanText uncut (default 400 chars).

market_party_deals Grocery party deals

List current SnappMarket "market party" flash deals near the point, biggest discount first. An order holds at most capacity_per_order deal items; segment 'new_user' is for new customers only.

ParameterTypeDescription
lat *numberDelivery latitude.
long *numberDelivery longitude.
limitintegerMax deals.

market_reviews Grocery store reviews

Read a store's 30 most relevant customer comments, rating 0-5. No paging.

ParameterTypeDescription
vendor_code *stringStore code, e.g. '32xxwe'.
full_textbooleanText uncut (default 400 chars).