lokal
🥬 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
端点 | 方法 | 描述 |
| GET | 自然语言搜索 (NO/EN) |
| POST | 结构化筛选 |
| GET | 生产商详情 |
| GET | 平台统计数据 |
| POST | A2A JSON-RPC 2.0 |
| GET | A2A 代理卡片 |
| 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 toolslokal_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_searchAInspect
Search for local food producers in Norway using natural language. Supports Norwegian and English. Returns ranked producers with contact info and a vCard link so the user can add them to their contacts. Examples: 'fresh vegetables near Grünerløkka', 'organic honey Oslo', 'ost Trondheim'.
Inputs: query (required), limit.
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
Scored across 4 tools
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.
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.
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.
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
Related MCP Connectors
Norwegian transport (Entur) and geodata (Kartverket): trips, departures, addresses, elevation.
Norwegian public data for AI agents: companies, tenders, addresses, laws, exchange rates.
Open guide to businesses in any country, plus Norwegian public services and parties. Never ranks.
Order from local Danish shops: products, pickup times, card payment and AltID age verification.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides LLM-friendly weather tools and Norwegian place name resolution via MCP, enabling weather forecasts, air quality, marine conditions, and activity planning.1MIT
- AlicenseBqualityBmaintenanceMCP 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.47MIT
- AlicenseAqualityCmaintenanceEnables 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.642MIT
- AlicenseAqualityDmaintenanceEnables AI agents to access Norwegian public transport and geospatial data, including trip planning, stop departures, address search, elevation, and administrative boundaries, via the Entur and Kartverket APIs.2138 npmMIT