Skip to main content
Glama

🥬 Lokal — 挪威当地食品代理网络

在线访问: https://rettfrabonden.com | API 规范: https://rettfrabonden.com/openapi.yaml

Lokal 是挪威当地食品的发现层。400 多家生产商(农场、市场和商店)可供 AI 代理和人类发现。

这不是一个应用程序,也不是一个网店。它是基础设施——食品代理的 DNS。

使用 Lokal

从 Claude Desktop (MCP) 使用

添加到您的 Claude Desktop 配置中:

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

然后询问 Claude:"Finn økologiske grønnsaker nær Oslo"(查找奥斯陆附近的有机蔬菜)

从 ChatGPT (Custom GPT) 使用

创建一个指向 https://rettfrabonden.com/openapi.yaml 的 Custom GPT 操作。说明请参考 custom-gpt-instructions.md。

从您自己的代理 (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"}'

Related MCP server: datakilder-mcp

API

端点

方法

描述

/api/marketplace/search?q=...

GET

自然语言搜索 (NO/EN)

/api/marketplace/discover

POST

结构化筛选

/api/marketplace/agents/:id/info

GET

生产商详情

/api/stats

GET

平台统计数据

/a2a

POST

A2A JSON-RPC 2.0

/.well-known/agent-card.json

GET

A2A 代理卡片

/openapi.yaml

GET

OpenAPI 3.1 规范

完整规范:https://rettfrabonden.com/openapi.yaml

架构

  • TypeScript + Express 运行于 Fly.io(斯德哥尔摩区域)

  • SQLite 使用 WAL 模式,持久化存储卷

  • 符合 A2A v1.0.0 标准 (JSON-RPC 2.0 + 代理卡片)

  • 基于价值的匹配 — 无广告,无付费排名

  • 400 多家代理 遍布挪威 150 多个城市

给生产商

您的农场/市场可能已经被列出!请访问 https://rettfrabonden.com 进行查看,并认领您的代理以更新信息。

许可证

MIT

Available Tools

4 tools
lokal_discoverBInspect

Structured search in the Lokal food producer registry. Filter by food categories, tags, and geographic distance. Returns ranked producers with contact info and vCard links.

Inputs: categories, tags, lat, lng, +2 more.

lokal_infoAInspect

Get detailed information about a specific Lokal producer — address, products, opening hours, certifications, and a vCard link the user can add to their contacts.

Inputs: agentId (required).

lokal_statsBInspect

Get Lokal platform statistics — total agents, cities covered, interactions.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 4 tools

    Disambiguation3/5

    The tools have overlapping purposes that could cause confusion. 'lokal_discover' and 'lokal_search' both search for producers, with 'discover' offering structured filtering and 'search' using natural language, making them potentially ambiguous. 'lokal_info' and 'lokal_stats' are distinct, but the two search tools may lead to misselection due to unclear boundaries in their use cases.

    Naming Consistency5/5

    All tool names follow a consistent 'lokal_' prefix with a descriptive suffix pattern (e.g., discover, info, search, stats). This predictable verb_noun-like structure is clear and uniform throughout the set, with no deviations in style or convention.

    Tool Count4/5

    With 4 tools, the count is reasonable and well-scoped for a food producer registry server. It covers key operations like searching, retrieving details, and getting platform stats, though it might feel slightly thin if more advanced features are expected, but overall it's appropriate for the domain.

    Completeness3/5

    The tool set covers basic search and retrieval functions but has notable gaps. There is no ability to create, update, or delete producer data, which limits CRUD coverage. However, for a read-only registry focused on discovery and information, it handles core workflows adequately, leaving agents to work around the lack of write operations.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides LLM-friendly weather tools and Norwegian place name resolution via MCP, enabling weather forecasts, air quality, marine conditions, and activity planning.
      1
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      MCP server providing typed tools for Norwegian public data sources, enabling natural language queries to official datasets like SSB, Brønnøysund, MET, Kartverket, Entur, and more, without requiring API keys.
      47
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables searching products, viewing product details, managing the basket, and accessing order history on nemlig.com through natural language. It does not support placing orders or accessing payment cards.
      6
      42
      MIT