slookisen/lokal

πŸ›’ E-Commerce
0 Views
0 Installs

πŸ“‡ ☁️ 🍎 πŸͺŸ 🐧 - Search and discover 1,400+ verified local food producers in Norway β€” farms, REKO rings, farmers' markets, and farm shops. Natural-language search (NO/EN), geo-filtered discovery, and A2A protocol support, backed by rettfrabonden.com. Install via npx lokal-mcp.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "slookisen-lokal": {
      "command": "npx",
      "args": [
        "-y",
        "slookisen-lokal"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

πŸ₯¬ Rett fra Bonden β€” Local Food Agent Network for Norway

Live: https://rettfrabonden.com | MCP Server: https://rettfrabonden.com/mcp | API Spec: https://rettfrabonden.com/openapi.yaml

Rett fra Bonden is the discovery layer for local food in Norway. 1,371+ producers β€” farms, farm shops, REKO rings, farmers markets, and cooperatives β€” discoverable by AI agents and humans alike.

Not an app. Not a webshop. Infrastructure β€” the DNS for food agents.

Use Rett fra Bonden

From Claude (remote MCP via Claude Connectors)

The recommended setup for Claude.ai users: connect the remote MCP server directly, no local install required.

  • MCP Server URL: https://rettfrabonden.com/mcp
  • Transport: Streamable HTTP (MCP protocol 2025-06-18)
  • Authentication: None required β€” the server is publicly accessible

Once connected, ask Claude things like:

  • "Finn ΓΈkologiske grΓΈnnsaker nΓ¦r Oslo som leverer hjem"
  • "Which dairy farms in Rogaland sell raw milk directly to consumers?"
  • "Compare three honey producers in Innlandet β€” who ships nationwide?"

From Claude Desktop (MCP stdio)

If you prefer a local install over remote:

{
  "mcpServers": {
    "lokal": {
      "command": "npx",
      "args": ["lokal-mcp"]
    }
  }
}

From ChatGPT (Developer Mode / Custom GPT)

Developer Mode: Add https://rettfrabonden.com/mcp as the MCP server URL.

Custom GPT: Create a GPT with Actions pointing to https://rettfrabonden.com/openapi.yaml. Instructions in custom-gpt-instructions.md.

From your own agent (A2A / REST)

# Natural language search
curl "https://rettfrabonden.com/api/marketplace/search?q=organic+vegetables+near+Oslo"

# Structured discovery
curl -X POST https://rettfrabonden.com/api/marketplace/discover \
  -H "Content-Type: application/json" \
  -d '{"categories":["vegetables"],"tags":["organic"],"lat":59.91,"lng":10.75,"maxDistanceKm":30}'

# A2A JSON-RPC
curl -X POST https://rettfrabonden.com/a2a \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"message/send","params":{"message":{"role":"user","parts":[{"type":"text","text":"Find cheese near Bergen"}]}},"id":"1"}'

MCP Tools & Resources

The remote MCP endpoint at /mcp exposes four tools and two resources.

ToolPurposeRead/Write
lokal_searchNatural-language producer search (NO/EN). Auto-starts a conversation with top matches so sellers can respond.Read + Write
lokal_discoverStructured filter β€” categories, tags, geo-radius. Auto-starts conversations.Read + Write
lokal_infoFull producer profile β€” address, products, opening hours, certifications.Read only
lokal_statsPlatform-level metrics β€” total agents, cities covered.Read only
Resource URIMimeDescription
lokal://producers/overviewtext/plainAggregate view of producers by city
lokal://producers/{agentId}application/jsonDetailed info about a specific producer

HTTP API

EndpointMethodDescription
/mcpPOST/GET/DELETEMCP Streamable HTTP (remote MCP transport)
/api/marketplace/search?q=...GETNatural language search (NO/EN)
/api/marketplace/discoverPOSTStructured filtering
/api/marketplace/agents/:id/infoGETProducer details
/api/statsGETPlatform statistics
/a2aPOSTA2A JSON-RPC 2.0
/.well-known/agent-card.jsonGETA2A Agent Card
/.well-known/mcp/server-card.jsonGETMCP Server Card (human + machine-readable metadata)
/openapi.yamlGETOpenAPI 3.1 spec
/llms.txtGETAI-discovery index
/privacyGETPrivacy policy (NO/EN)

Full spec: https://rettfrabonden.com/openapi.yaml

Architecture

  • TypeScript + Express on Fly.io
  • SQLite with WAL mode, persistent volume
  • MCP 2025-06-18 over Streamable HTTP + stdio (remote + local)
  • A2A v1.0.0 compliant (JSON-RPC 2.0 + Agent Card)
  • Value-based matching β€” no ads, no pay-to-rank
  • 1,386+ agents across 374+ Norwegian cities

For producers

Your farm/market might already be listed. Visit https://rettfrabonden.com to check, and claim your agent to update your info and respond to buyer queries.

Troubleshooting

"The connector can't reach the server" Check that your client is pointed at https://rettfrabonden.com/mcp (HTTPS, no trailing slash). The server uses the Streamable HTTP transport β€” stdio clients should use the lokal-mcp npm package instead.

"CORS error in the browser" Browser-based MCP clients must send an Origin header. The server allow-lists https://claude.ai, https://www.claude.ai, https://chatgpt.com, and https://chat.openai.com. If you're hosting your own agent on a different origin, open an issue and we'll add it.

"tools/list returns an empty array" Hit POST /mcp with a proper initialize request first and capture the Mcp-Session-Id response header. Subsequent calls must include that header β€” session IDs are sticky per connection.

"Search returns no results for a Norwegian query" The server handles both NO and EN, but accents matter. Use ΓΈkologisk rather than okologisk for best relevance. Try widening with lokal_discover β€” it accepts lat/lng + radius instead of free text.

"I claimed my agent but the dashboard is empty" Claims are verified by email. Check spam for the verification code from kontakt@rettfrabonden.com. The token is valid for 24 hours.

Rate limits Public endpoints allow 150 searches and 300 general API calls per 15-minute window. MCP tools/call counts against the search bucket. If your agent hits the limit, back off for 15 minutes β€” we don't block IPs, only throttle.

Still stuck Open an issue at https://github.com/slookisen/lokal/issues with the request payload (redact anything sensitive) and the response status code.

Privacy, Terms & Support

License

MIT

Related MCP Servers

agentcentral-to/agent-central-mcp

πŸ“‡ ☁️ - Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, and other AI clients, exposing inventory, orders, catalog, finance, fulfillment, and advertising data through a remote MCP endpoint.

πŸ›’ E-Commerce0 views
agentlux/agentlux-mcp

πŸ“‡ ☁️ 🍎 πŸͺŸ 🐧 - Agent marketplace and services MCP server for AgentLux. Browse marketplace items, manage agent identity, creator workflows, service hires, social flows, and Base/x402 commerce through 33 tools. Install via npx -y @agentlux/mcp-server.

πŸ›’ E-Commerce0 views
anhmtk/agentshare-mcp

πŸ“‡ ☁️ - Solana DeFi intelligence MCP (Meteora DLMM meteorabrief + meteorapooldetail, Solana DEX + DefiLlama scout). Commerce tools are secondary. Hosted at https://agentshare.dev/mcp

πŸ›’ E-Commerce0 views
BuyWhere/buywhere-mcp

πŸ“‡ ☁️ 🍎 πŸͺŸ 🐧 - Cross-border e-commerce product catalog for AI agents. Search 3M+ products across Singapore, SEA, and US markets with price comparison and deal discovery. Install via npx @buywhere/mcp-server.

πŸ›’ E-Commerce0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

No check timestamp yet.

Unclaimed listing (imported or pending owner verification). Claim it β†’
β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.