wolt-mcp

v0.1.3
wolt-mcp Checked 4 days ago Published 4 months ago

MCP server for Wolt shopping: search grocery products near you, plan a single-store cart, and write it to your Wolt basket.

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

search_products

Search Wolt grocery products for a single ingredient near a location. Returns candidates across nearby stores with itemId, name, price (minor units), venueId, venueName, whether it's sold by weight, and unit size. Call once per ingredient, then pick the best match yourself. A basket must be all from ONE venueId. MATCHING RULES when picking: (1) Match the ingredient ITSELF — never a plant-based, vegan, imitation, or flavored substitute unless the user explicitly asked. e.g. 'Redefine Meat'/'plant-based mince' is NOT ground beef; margarine is NOT butter; imitation crab is NOT crab. (2) Do NOT…

ParameterTypeDescription
query *stringProduct search term, e.g. 'crushed tomatoes'
latnumberOverride latitude; defaults to the saved location
lonnumberOverride longitude; defaults to the saved location

search_restaurant_dishes

Search RESTAURANT dishes (prepared food) near a location — separate from search_products, which is groceries only. Returns dishes with itemId, price, venueId/venueName. A basket is per-venue: don't mix dishes with grocery items. For dishes that likely have choices (burgers, pizzas, combos), call get_dish_options first and pass the user's selections to add_to_cart.

ParameterTypeDescription
query *stringDish or cuisine search term, e.g. 'pad thai'
latnumberOverride latitude; defaults to the saved location
lonnumberOverride longitude; defaults to the saved location

use_saved_address

Fetch the user's saved Wolt delivery addresses (needs a token) and set one as the default search location. With no address_id: lists all addresses and auto-saves the one Wolt marks selected (or the only one). Call this right after connecting the account so searches use the user's real address instead of the default.

ParameterTypeDescription
address_idstringAddress id from a previous call, to pick a specific one

plan_cart

One-shot convenience: given a list of ingredient lines, search each, pick the single store with best coverage (heuristic), and return a ready-to-write plan (venue + line items + basket). Prefer search_products + your own matching for better quality; use this for a quick pass.

ParameterTypeDescription
ingredients *arrayIngredient lines, e.g. ['800 g crushed tomatoes', '1 onion']
latnumberOverride latitude; defaults to the saved location
lonnumberOverride longitude; defaults to the saved location

add_to_cart

Write items to the user's Wolt basket for one venue. All items must share the venue_id. Needs a valid Wolt bearer token (WOLT_BEARER_TOKEN). After success, the user opens Wolt to review and check out — nothing is ordered automatically.

ParameterTypeDescription
items *array
venue_id *string
city_slugstringcitySlug from search results
countrystring3-letter country from search results, e.g. 'isr'
currencystringCurrency from search results (e.g. 'ILS', 'EUR'); resolved from the venue if omitted
venue_slugstringvenueSlug from search results — used to build the checkout link

get_baskets

List the user's current Wolt baskets (needs a token): basket id, venue, and line items with names, counts, and prices (minor units). Use before add_to_cart to see what's already there, or after to confirm the write persisted.

ParameterTypeDescription
latnumberOverride latitude; defaults to the saved location
lonnumberOverride longitude; defaults to the saved location

clear_basket

Delete one of the user's Wolt baskets entirely (needs a token). Get the basketId from get_baskets. Confirm with the user before clearing a basket they built themselves.

ParameterTypeDescription
basket_id *stringBasket id from get_baskets

get_venue

Venue details by slug (from search results): rating, address, currency, delivery price, and opening hours per day with timezone. Check hours before adding food from a restaurant that might be closed.

ParameterTypeDescription
venue_slug *string

get_venue_menu

Browse a venue's full menu by slug: categories and items with prices. Optional query (free-text filter) and category (slug). Items flag requiredOptions=true when the dish needs choices — fetch those with get_dish_options before add_to_cart.

ParameterTypeDescription
venue_slug *string
categorystringCategory slug from get_venue_categories or a previous call
limitinteger
querystringSearch items by name/description (uses Wolt's in-venue search for large catalogs)

get_venue_categories

List a venue's categories (nested: depth, parent, subcategories, item counts). Start here to browse a large grocery store, then call get_venue_menu with a category slug. Restaurants usually have a handful of flat categories.

ParameterTypeDescription
venue_slug *string

find_item

Resolve one item in a venue by name, item id, or a wolt.com item URL (…/venue/<slug>/itemid-<id>). Exact name matches win; an ambiguous name returns the top candidates so you can ask the user which they meant. Use when the user pastes a Wolt link or names a dish loosely.

ParameterTypeDescription
item *stringItem name, 24-hex item id, or full wolt.com item URL
venue_slugstringRequired unless the URL contains /venue/<slug>/

get_dish_options

Option groups for one menu item (sizes, toppings, sides): group ids, required/min/max, and each value's id/name/price. Ask the user for required choices, then pass options to add_to_cart as [{id: groupId, values: [{id: valueId, count: 1, price}]}].

ParameterTypeDescription
item_id *stringitemId from get_venue_menu — availability varies by hour, so fetch the menu first
venue_slug *string

get_order_history

The user's past Wolt orders (needs a token): venue, date, total, status, purchase_id. Use get_order for line items — together these enable 'order my usual again'.

ParameterTypeDescription
limitinteger
skipinteger

get_order

Full detail for one past order by purchase_id (from get_order_history), including line items — feed them back into add_to_cart to reorder.

ParameterTypeDescription
purchase_id *string

resolve_address

Geocode a free-form address to coordinates via OpenStreetMap (no Wolt account needed). Use the result with set_location. Returns up to 3 candidates — confirm with the user if ambiguous.

ParameterTypeDescription
address *stringe.g. 'Aleksanterinkatu 1, Helsinki'

get_feed

Wolt's discovery feed near the user: sections like 'Order again', 'Popular right now' with venues (name, slug, rating, delivery estimate). Good for 'what should I eat?' questions.

ParameterTypeDescription
latnumber
lonnumber
sectionstringReturn only the section whose title contains this text

top_venues

Top venues near the user with real filters: open now, min score (0-10), max delivery fee, Wolt+ only, restaurant vs grocery, tag/name text. Sorted by score by default. THE tool for 'what's good and open near me right now?'.

ParameterTypeDescription
kindstring
latnumber
limitinteger
lonnumber
max_delivery_feenumberMax delivery fee in minor units
min_scorenumberMinimum rating score, 0-10 (e.g. 8.5)
open_nowboolean
querystringFilter by name/tags/description substring, e.g. 'sushi'
sortstring
wolt_plus_onlyboolean

search_venues

Search venues (stores AND restaurants) by name or cuisine near the user. Returns name, slug, venueId, rating, online status. Use get_venue for hours, get_venue_menu to browse.

ParameterTypeDescription
query *string
latnumber
lonnumber

get_payment_methods

The user's saved Wolt payment methods (needs a token). Read-only — payment always happens on wolt.com.

get_favorites

The user's favorited Wolt venues (needs a token).

add_favorite

Add a venue to the user's Wolt favorites (needs a token).

ParameterTypeDescription
venue_id *stringVenue id (24 hex)

remove_favorite

Remove a venue from the user's Wolt favorites (needs a token).

ParameterTypeDescription
venue_id *stringVenue id (24 hex)

checkout_preview

Preview the checkout for the user's current basket at one venue: total payable amount including delivery fees and service charges, delivery options, and active offers. Read-only — never places an order. Use after add_to_cart to tell the user their real total before they open wolt.com.

ParameterTypeDescription
latnumber
lonnumber
promo_codestring
tipintegerCourier tip in minor units
venue_idstringVenue id (24 hex) of the basket to price; defaults to the user's only/first basket
venue_slugstringvenueSlug from search results — improves category resolution

update_cart_item

Set the count of one item in the user's basket at a venue, or remove it (count 0). Uses read-merge-write like add_to_cart. If removing the LAST line, the whole basket is deleted instead (Wolt has no empty-basket state).

ParameterTypeDescription
count *integerNew count; 0 removes the line
item_id *stringItem id of the line to change
venue_id *stringVenue id (24 hex) from get_baskets

login_via_chrome

Zero-paste Wolt login: launches a Chromium-based browser with wolt.com open; the user logs in normally and the refresh token is picked up automatically and exchanged for an API token. Tell the user two things: (1) a browser window will open in a SEPARATE, EMPTY profile, so they log into Wolt fresh there — their everyday profile, cookies and extensions are untouched; (2) this tool waits up to 2 minutes — if it times out the window stays open, so if they need longer (waiting on an emailed code), let them finish signing in there and call this again. Requires Chrome, Edge, Brave, Vivaldi or Ch…

set_wolt_token

Store the user's Wolt tokens (persisted locally, chmod 600). Prefer login_via_chrome; use this when the user pastes a token themselves. Accepts access_token and/or refresh_token, or a JSON blob containing either. With a refresh token stored, the server auto-refreshes forever — the user pastes once.

ParameterTypeDescription
access_tokenstringWolt access JWT (eyJ..., 'Bearer ' prefix ok)
blobstringA JSON blob containing the tokens, e.g. {"refresh_token":"..."}
refresh_tokenstringWolt refresh token — enables permanent auto-refresh

get_wolt_profile

Fetch the logged-in user's Wolt profile (GET /v1/user/me; needs a token). If the response includes saved delivery addresses/locations, offer to save one as the default via set_location.

set_location

Save the user's delivery location (persisted; used as the default for all searches). When the user gives an address or city, resolve it to coordinates yourself and pass them here with the human-readable text as label.

ParameterTypeDescription
lat *numberLatitude
lon *numberLongitude
labelstringHuman-readable place, e.g. 'Aleksanterinkatu 1, Helsinki'

wolt_status

Report Wolt token state (stored? minutes left? auto-refresh enabled?) and the configured location. Search works without a token; the cart write needs one.