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"}'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
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/slookisen/lokal'
If you have feedback or need assistance with the MCP directory API, please join our Discord server