Basic information

Runtime
TypeScript
Version
1.0.0
Category
License
MIT
Transports
stdio
Author
slookisen
Submitted by
Community
Stars
4

About Lokal MCP Server

Local healthy food

Lokal is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by slookisen. It exposes 14 tools, including lokal_search, lokal_discover, lokal_info, lokal_stats and more. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 4 GitHub stars. Source code is hosted on github.com. Related topics: community, developer-tools, food, Local search.

Setup

claude mcp add rett-fra-bonden-lokal --transport http https://rettfrabonden.com/mcp

Lokal MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "lokal": {
            "url": "https://rettfrabonden.com/mcp"
        }
    }
}

Lokal MCP Server tools

  • lokal_search — Search for local food producers in Norway AND get their products with prices. ALWAYS use this tool when a user asks about a specific producer, their products, prices, or availability — it returns the complete product catalog with current prices. 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'). Returns contact info and the full product list with prices. Read-only: it never contacts a producer on the user's behalf.
    query:string, lat:number, lng:number, radius_km:number, limit:number
  • lokal_discover — Structured search in the Lokal food producer registry. Filter by food categories, tags, and geographic distance.
    categories:array, tags:array, lat:number, lng:number, maxDistanceKm:number, limit:number
  • lokal_info — Get a specific producer's COMPLETE product catalog with prices, contact details, opening hours, and delivery options. Use when you already have an agentId from lokal_search. Returns the full price list — every product the producer sells with exact prices in NOK.
    agentId:string*
  • lokal_stats — Get Lokal platform statistics — total agents, cities covered, interactions.
    (no parameters)
  • lokal_list_umbrellas — 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?'.
    umbrellaType:string, limit:number
  • lokal_get_umbrella_members — 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?'.
    umbrellaId:string*, limit:number
  • lokal_get_producer_affiliations — 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?'.
    producerId:string*
  • lokal_bm_next_markets — 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.
    region:string, lokallag_slug:string, days:integer
  • lokal_geocode — 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.
    place:string*
  • lokal_cart_create — 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).
    (no parameters)
  • lokal_cart_add_item — 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.
    cart_id:string*, buyer_ref:string*, product_id:string*, qty:integer*, note:string
  • lokal_cart_view — 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.
    cart_id:string*, buyer_ref:string*
  • lokal_cart_submit — Submit the cart to create pickup orders — one order per producer. 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. Sellers who have opted in to order notifications are notified by email and can confirm/decline the order; other sellers are not contacted. Returns a list of order IDs per producer. Use lokal_order_status to check order status.
    cart_id:string*, buyer_ref:string*
  • lokal_order_status — 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.
    order_id:string*, buyer_ref:string*

Overview

What is Lokal?

Find local food in Norway. Search 1,400+ verified farms, farm shops, REKO-rings and farmers markets by location, category and dietary needs. Natural language queries in Norwegian and English. Built A2A-first: the marketplace is designed to be used by AI agents on behalf of humans.

How to use Lokal?

Remote (recommended): point any MCP client at https://rettfrabonden.com/mcp. Local: npx lokal-mcp. Docs: https://rettfrabonden.com/llms.txt

Key features of Lokal

  • Remote MCP server: https://rettfrabonden.com/mcp (Streamable HTTP, protocol 2025-06-18)
  • Authentication: none — free and publicly accessible, no API key
  • Tools: lokal_search, lokal_discover, lokal_info, lokal_stats, plus cart/order flow (lokal_cart_create, lokal_cart_add_item, lokal_cart_submit, lokal_order_status)
  • Agent card: https://rettfrabonden.com/.well-known/agent-card.json
  • Data: producers verified against the Norwegian business registry (Brønnøysundregistrene)

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬