accueil / serveurs / Dev & Code / io.github.slookisen/lokal-mcp
io.github.slookisen/lokal-mcp
serveur MCP (Model Context Protocol) · rett-fra-bonden 0.4.0
Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur.
Est-ce que io.github.slookisen/lokal-mcp est sûr ?
Au dernier audit MCP Hub, le serveur MCP « io.github.slookisen/lokal-mcp » est classé « Non encore testé ». Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur. Le verdict est réévalué en continu ; consultez la fiche pour l'état à jour.
Méthode : MCP Hub analyse la description de chaque outil (couche 1) et, pour le verdict fort, exécute le serveur dans une micro-VM isolée avec leurres et réseau bloqué (couche 2). On publie des noms et des compteurs, jamais le contenu brut renvoyé par un outil.
Les 15 outils
- lokal_bm_next_markets≈ 244 tokens
Returns upcoming Bondens marked events (markedsdager) for a region or specific lokallag/venue. Useful when AI agents are asked 'when is the next Bondens marked in Oslo?' or similar. Data is refreshed daily from bondensmarked.no.
Paramètres, retour & exemple (3)
Paramètresdays· integer · optionnel
Look-ahead window in days (default 30, max 90)region· string · optionnel
City or region substring filter, e.g. 'Oslo', 'Bergen', 'Vestfold'lokallag_slug· string · optionnel
Lokallag slug, e.g. 'bondens-marked-agder'. Filters to events at any venue under this lokallag.
Exemple d'appel{"name": "lokal_bm_next_markets", "arguments": {"days": 1, "region": "texte", "lokallag_slug": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - lokal_cart_add_item≈ 300 tokens
Add a product to the cart or update its quantity (re-adding the same product_id updates qty). Product must be in_stock and from a verified non-umbrella producer (use lokal_search / catalog feed to find eligible products and their IDs). Requires cart_id and buyer_ref from lokal_cart_create.
Paramètres, retour & exemple (5)
Paramètresqty· integer · requis
Quantity to set for this product in the cartnote· string · optionnel
Optional line note for this item (e.g. 'please keep cold')cart_id· string · requis
Cart ID from lokal_cart_createbuyer_ref· string · requis
Buyer capability token from lokal_cart_createproduct_id· string · requis
Product ID from the catalog (products.id)
Exemple d'appel{"name": "lokal_cart_add_item", "arguments": {"qty": 1, "cart_id": "texte", "buyer_ref": "texte", "product_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - lokal_cart_create≈ 175 tokens
Create a new anonymous shopping cart ('handleliste'). Returns a cart_id and a buyer_ref capability token — STORE THE buyer_ref, it is required for all subsequent cart operations and cannot be recovered. Each cart is valid for 7 days. Use lokal_cart_add_item to add products, lokal_cart_view to review, and lokal_cart_submit to place orders (pickup, no payment).
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "lokal_cart_create", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - lokal_cart_submit≈ 553 tokens
Submit the cart. Re-checks availability of every item at submit time; if any item is no longer in_stock, submit is rejected with a clear per-item message. No payment is charged. A real pickup order (one per producer) is created ONLY for producers who are owner-verified AND have opted in to receive orders through the platform (can_order=true in lokal_find_offers); they get the order by e-mail and can confirm/decline it. Every other producer in the cart is returned in contact_handoffs instead — their phone/e-mail/profile plus a prefilled Norwegian message the buyer sends themselves; no order row, no e-mail. Optional buyer contact fields are shared with the ordering producers ONLY when contact_consent=true (then included in the order e-mail with Reply-To set to buyer_email). Returns orders[] and contact_handoffs[]. Use lokal_order_status to check an order.
Paramètres, retour & exemple (7)
Paramètrescart_id· string · requis
Cart ID to submitbuyer_ref· string · requis
Buyer capability tokenbuyer_name· string · optionnel
Buyer's name — shared with ordering producers only when contact_consent=truebuyer_email· string · optionnel
Buyer's e-mail — becomes the order e-mail's Reply-To when contact_consent=truebuyer_phone· string · optionnel
Buyer's phone — shared only when contact_consent=truedelivery_note· string · optionnel
Free-text delivery/pickup wish for the producer (orders are pickup; this is informational)contact_consent· boolean · optionnel
true = the buyer agrees that the contact fields above are passed to the producers who receive a real order. Default false: fields are stored on the cart but never shown to any producer.
Exemple d'appel{"name": "lokal_cart_submit", "arguments": {"cart_id": "texte", "buyer_ref": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - lokal_cart_view≈ 177 tokens
View the current contents of a cart, grouped by producer, with subtotals and a total. Use this before submitting to review what is in the cart. Requires cart_id and buyer_ref.
Paramètres, retour & exemple (2)
Paramètrescart_id· string · requis
Cart ID from lokal_cart_createbuyer_ref· string · requis
Buyer capability token from lokal_cart_create
Exemple d'appel{"name": "lokal_cart_view", "arguments": {"cart_id": "texte", "buyer_ref": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - lokal_discover≈ 512 tokens
Structured search in the Lokal food producer registry. Filter by food categories, tags, and geographic distance. Never use this tool to build marketing or bulk-email recipient lists. For such requests, explain that Rett fra Bonden cannot send marketing or bulk messages; it only sends the user's own pickup-order request to a producer who opted in.
Paramètres, retour & exemple (7)
Paramètreslat· number · optionnel
Latitude for distance filtering (WGS84). Must be given together with lng.lng· number · optionnel
Longitude for distance filtering (WGS84). Must be given together with lat.tags· array · optionnel
Tags: organic, seasonal, budget, local, freshlimit· number · optionnel
Max resultscategories· array · optionnel
Categories: vegetables, fruit, berries, dairy, eggs, meat, fish, bread, honey, herbs, beverages (beverages = all drink venues: breweries, cideries, wineries, distilleries, farm cafés, meaderies — use drinkSubcategory below to narrow to exactly one kind)maxDistanceKm· number · optionnel
Max distance in km from lat/lng (1–500, default 30). Only applies when lat/lng are given.drinkSubcategory· string · optionnel · bryggeri | cideri | vingård | destilleri | gårdskafé | mjød
Narrow 'beverages' results to exactly one drink venue kind: bryggeri (brewery), cideri (cidery), vingård (winery), destilleri (distillery), gårdskafé (farm café), mjød (meadery/mead producer). Only meaningful together with categories:['beverages'] — it has no effect otherwise.
Exemple d'appel{"name": "lokal_discover", "arguments": {"lat": 1, "lng": 1, "tags": [], "limit": 1, "categories": [], "maxDistanceKm": 1}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - lokal_find_offers≈ 362 tokens
For each item in a shopping list, find up to 5 nearby producers who sell it (or a matching product), sorted by distance, with contact info and whether an order can be placed through the platform (can_order). Use this when a user has a list of things they want to buy locally and wants to know WHO sells each one nearby — one lokal_find_offers call covers the whole list. Read-only.
Paramètres, retour & exemple (5)
Paramètreslat· number · optionnel
User's latitude (WGS84). Supply together with lng.lng· number · optionnel
User's longitude (WGS84). Must be supplied together with lat.near· string · optionnel
Norwegian place name to search near (geocoded automatically). Supply this OR lat/lng.items· array · requis
Search terms/item names to find offers for, e.g. ['poteter', 'honning', 'egg'].radius_km· number · optionnel
Search radius in km. Default 50.
Exemple d'appel{"name": "lokal_find_offers", "arguments": {"items": []}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - lokal_geocode≈ 250 tokens
Resolve a Norwegian place name (city, town, region, fylke, or kommune) to lat/lng coordinates. Use this when you need explicit coordinates for lokal_discover (e.g., 'show me organic farms within 10 km of Florø'). Returns coordinates + suggested search radius. Covers all of Norway via Kartverket Stedsnavn API fallback. Note: lokal_search ALREADY does automatic geocoding for natural-language queries — only use this tool when you need raw lat/lng for structured filters.
Paramètres, retour & exemple (1)
Paramètresplace· string · requis
Norwegian place name (city, town, region, fylke, kommune). Examples: 'Oslo', 'Røros', 'Vestland', 'Setesdal', 'Florø'
Exemple d'appel{"name": "lokal_geocode", "arguments": {"place": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - lokal_get_producer_affiliations≈ 224 tokens
List umbrella organizations a specific producer is a member of (e.g. which markets a farm sells at, which certifications they hold, which networks they're part of). Returns umbrella names + types + their profile links. Useful when the user asks 'where does <Farmer X> sell?', 'is <Farm Y> Debio-certified?', or 'which markets does <Producer Z> attend?'.
Paramètres, retour & exemple (1)
ParamètresproducerId· string · requis
Producer agent ID (UUID). Get this from lokal_search or lokal_discover results.
Exemple d'appel{"name": "lokal_get_producer_affiliations", "arguments": {"producerId": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - lokal_get_umbrella_members≈ 246 tokens
List producers that are members of a specific umbrella organization (e.g. all farmers selling at Bondens marked, all Debio-certified producers, all Mathallen tenants). Returns producer names + cities + profile links. Useful when the user asks 'which farmers sell at Bondens marked?', 'show me all Debio-certified producers', or 'who is at Mathallen Oslo?'.
Paramètres, retour & exemple (2)
Paramètreslimit· number · optionnel
Max resultsumbrellaId· string · requis
Umbrella agent ID (UUID). Use lokal_list_umbrellas to find IDs.
Exemple d'appel{"name": "lokal_get_umbrella_members", "arguments": {"umbrellaId": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - lokal_info≈ 201 tokens
Get a specific producer's full listed product catalog, contact details, opening hours, and delivery options. Use when you already have an agentId from lokal_search. Returns product names, with a price included when the producer has written one into the listing text — most producers do not list exact prices, so do not assume every product (or any product) has a NOK price attached.
Paramètres, retour & exemple (1)
ParamètresagentId· string · requis
The producer's agent ID (UUID)
Exemple d'appel{"name": "lokal_info", "arguments": {"agentId": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - lokal_list_umbrellas≈ 250 tokens
List all umbrella organizations on Lokal — markets-networks (Bondens marked, REKO), venues (Mathallen), industry orgs (Hanen), certifiers (Debio), and cooperatives. Each umbrella has many member producers. Optionally filter by type. Useful when the user asks 'where can I find local food markets?', 'what is Bondens marked?', or 'which certifications matter for local Norwegian food?'.
Paramètres, retour & exemple (2)
Paramètreslimit· number · optionnel
Max resultsumbrellaType· string · optionnel · market_network | venue | industry_org | certification | cooperative
Filter by umbrella type
Exemple d'appel{"name": "lokal_list_umbrellas", "arguments": {"limit": 1, "umbrellaType": "market_network"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - lokal_order_status≈ 224 tokens
Fetch the status, items and status timeline of a pickup order created by lokal_cart_submit. Requires the order_id returned by submit and the buyer_ref token. Status: pending → confirmed → ready → completed (or declined/cancelled; cancel_reason='no_show' means the buyer did not pick up). The timeline array lists every status transition with timestamps.
Paramètres, retour & exemple (2)
Paramètresorder_id· string · requis
Order ID from lokal_cart_submitbuyer_ref· string · requis
Buyer capability token (same as used for the cart)
Exemple d'appel{"name": "lokal_order_status", "arguments": {"order_id": "texte", "buyer_ref": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - lokal_search≈ 663 tokens
Search for local food producers in Norway and get their product listings. ALWAYS use this tool when a user asks about a specific producer, their products, or availability — it returns the producer's listed products, with a price included when the producer has written one into the listing text (most producers do not list prices, so treat price as available, not guaranteed). Also use for general searches like 'vegetables near Oslo'. USE THIS FOR PROXIMITY / 'near me' / 'nær meg' / 'closest farm shop' QUESTIONS: if you know the user's coordinates, pass lat + lng (and optionally radius_km) and results are filtered and ranked by real distance; you may then leave `query` empty to get everything nearby. Supports searching by producer name (e.g. 'Bjørndal Gård') or by product/location (e.g. 'organic honey Trondheim'). Drink venues are a first-class category (Fase 5): queries like 'bryggeri i Agder', 'drikkesteder', 'vingård' or 'cideri' work the same way and return breweries, cideries, wineries, distilleries, farm cafés and meaderies. Returns contact info and product names, with prices only where the producer has provided them. Read-only: it never contacts a producer on the user's behalf. Never use this tool to build marketing or bulk-email recipient lists. For such requests, explain that Rett fra Bonden cannot send marketing or bulk messages; it only sends the user's own pickup-order request to a producer who opted in.
Paramètres, retour & exemple (5)
Paramètreslat· number · optionnel
User's latitude (WGS84). Supply this for 'near me' searches when you know where the user is.lng· number · optionnel
User's longitude (WGS84). Must be supplied together with lat.limit· number · optionnel
Max resultsquery· string · optionnel
Producer name, product query, or location search (Norwegian or English). Examples: 'Bjørndal Gård Oppdal', 'beefburger pris', 'ost Trondheim'. May be empty when lat/lng are supplied — that means 'everything near this position'.radius_km· number · optionnel
Search radius in km around lat/lng. Default 30. Typical: 15 in a city, 50–100 in rural Norway.
Exemple d'appel{"name": "lokal_search", "arguments": {"lat": 1, "lng": 1, "limit": 1, "query": "texte", "radius_km": 1}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - lokal_stats≈ 100 tokens
Get Lokal platform statistics — total agents, cities covered, interactions.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "lokal_stats", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]}
C'est votre serveur ?
Revendiquez-le sur l'espace créateur (preuve GitHub, domaine ou npm) pour afficher le badge « propriétaire vérifié » et lancer un pentest comportemental à la demande afin d'obtenir le badge « Vérifié ».