Posokanei Mcp

io.github.charistas由 GitHub 账号 charistas 发布v0.1.1更新于 Nov 3, 2026

Unofficial read-only MCP server for Greek supermarket price data from PosoKanei.

已验证STDIO仅桌面金融商业与电商

概览

AI 生成的概览

非官方只读 MCP 服务器,让助手通过 PosoKanei 搜索希腊超市商品、按条码查询并比较各零售商价格。

可以做什么
  • 按文本搜索商品,并按分类列出商品(默认按单价排序)
  • 按商品 id 或 EAN/GTIN 条码查询商品及各零售商价格
  • 比较某商品的当前零售商价格与竞品商品数据
  • 比较小型购物篮在各零售商之间的价格
  • 浏览分类树、已知零售商和数据集总体统计
  • 在可用时获取含价格历史的产品详情
适用场景
适合需要助手回答希腊超市价格问题的场景:查找商品、查询条码对应价格,或比较一份简短购物清单在各零售商的价格。
运行要求
以 npm 包形式在本地运行(npx posokanei-mcp),需要 Node.js,并在 MCP 客户端中配置。无需账号或 API 密钥。可选环境变量 POSOKANEI_API_BASE、POSOKANEI_CACHE_TTL_MS、POSOKANEI_MIN_INTERVAL_MS 和 POSOKANEI_TIMEOUT_MS 用于调整接口地址、缓存、请求间隔和超时。需要能访问 PosoKanei API 的网络。
安装前请注意
虽为只读,但调用的是 PosoKanei 公开且未文档化的接口,可能随时失效,应控制请求频率。与 PosoKanei、gov.gr 或任何希腊公共机构无关联。商品查询内容会发送给该第三方 API。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Posokanei Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

posokanei-mcp

Unofficial read-only MCP server for supermarket product and price data from PosoKanei.

This server lets MCP-compatible clients ask questions such as:

  • Search for supermarket products by name.
  • Look up a product by barcode.
  • Compare current retailer prices for a product.
  • Compare a small shopping basket across retailers.
  • Browse product categories and retailers.

Status

Early open-source version. The implementation uses public, undocumented endpoints used by the PosoKanei web app. Keep requests modest and cache-friendly.

This project is not affiliated with, endorsed by, or operated by PosoKanei, gov.gr, or any Greek public authority.

Installation

Add it to your MCP client configuration:

json
{  "mcpServers": {    "posokanei": {      "command": "npx",      "args": ["-y", "posokanei-mcp"]    }  }}

For local development:

json
{  "mcpServers": {    "posokanei": {      "command": "node",      "args": ["/absolute/path/to/posokanei-mcp/dist/index.js"]    }  }}

Build first:

sh
npm installnpm run build

Tools

ToolPurpose
search_productsSearch products by text.
get_productGet details and retailer prices for a product id.
lookup_barcodeFind product prices by EAN/GTIN barcode.
list_products_by_categoryList category products, sorted by unit price by default.
list_categoriesReturn a simplified category tree.
list_retailersList known retailers.
get_price_historyFetch product detail with history when available.
compare_competitorsFetch comparable/competitor product data when available.
compare_basketCompare a small basket across retailers.
get_statsReturn high-level dataset stats.

Configuration

Optional environment variables:

VariableDefaultPurpose
POSOKANEI_API_BASEhttps://api.posokanei.gov.grAPI base URL.
POSOKANEI_CACHE_TTL_MS300000In-memory cache TTL.
POSOKANEI_MIN_INTERVAL_MS250Minimum delay between outbound API requests.
POSOKANEI_TIMEOUT_MS15000Request timeout.

Development

sh
npm installnpm run typechecknpm test

The test suite mocks the PosoKanei API. It should not require live network access.

License

MIT

来源:README.md,提交 444be79

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分