原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Swissgroceries MCP

作者:nicktcode版本 0.1.2i★ –i在你的电脑上运行
注册名称io.github.nicktcode/swissgroceries-mcp

安装

概览

作者提供的说明(英文原文)

Swiss grocery search, promotions, and shopping plans across Migros, Coop, Aldi, Denner, Lidl.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 网店与支付
  • 你需要填写:DENNER_JWT

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: DENNER_JWT, LIDL_DEFAULT_STORE, SWISSGROCERIES_USER_AGENT_COOP, SWISSGROCERIES_LOG_LEVEL, SWISSGROCERIES_DISABLE_CACHE

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "swissgroceries": {
      "command": "npx",
      "args": [
        "-y",
        "@nicktcode/swissgroceries-mcp"
      ],
      "env": {
        "DENNER_JWT": "your-value",
        "LIDL_DEFAULT_STORE": "your-value",
        "SWISSGROCERIES_USER_AGENT_COOP": "your-value",
        "SWISSGROCERIES_LOG_LEVEL": "your-value",
        "SWISSGROCERIES_DISABLE_CACHE": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add swissgroceries --env DENNER_JWT=your-value --env LIDL_DEFAULT_STORE=your-value --env SWISSGROCERIES_USER_AGENT_COOP=your-value --env SWISSGROCERIES_LOG_LEVEL=your-value --env SWISSGROCERIES_DISABLE_CACHE=your-value -- npx -y @nicktcode/swissgroceries-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "swissgroceries": {
      "command": "npx",
      "args": [
        "-y",
        "@nicktcode/swissgroceries-mcp"
      ],
      "env": {
        "DENNER_JWT": "your-value",
        "LIDL_DEFAULT_STORE": "your-value",
        "SWISSGROCERIES_USER_AGENT_COOP": "your-value",
        "SWISSGROCERIES_LOG_LEVEL": "your-value",
        "SWISSGROCERIES_DISABLE_CACHE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "swissgroceries": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@nicktcode/swissgroceries-mcp"
      ],
      "env": {
        "DENNER_JWT": "your-value",
        "LIDL_DEFAULT_STORE": "your-value",
        "SWISSGROCERIES_USER_AGENT_COOP": "your-value",
        "SWISSGROCERIES_LOG_LEVEL": "your-value",
        "SWISSGROCERIES_DISABLE_CACHE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • DENNER_JWT 机密 env
    Optional pre-supplied Denner Bearer JWT. Without it, the adapter self-registers anonymously on first use and rotates the token automatically.
  • LIDL_DEFAULT_STORE env
    Default Lidl store ID used when no storeIds are passed. Defaults to CH0149.
  • SWISSGROCERIES_USER_AGENT_COOP env
    Override the User-Agent string for Coop calls if DataDome ever blocks the default.
  • SWISSGROCERIES_LOG_LEVEL env
    Logging verbosity: silent, info (default), or debug.
  • SWISSGROCERIES_DISABLE_CACHE env
    Set to 1 to bypass the in-memory HTTP response cache.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 nicktcode 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“网店与支付”中的其他服务器比较i

  • 星标数多于此分类中其他 2534 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 2534 个服务器的 7% 更新
  • 基础检查结果等于或优于此分类中其他 2534 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Swissgroceries MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:DENNER_JWT

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.2)于6个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Stripe MCP

作者:stripe

MCP server integrating with Stripe - tools for customers, products, payments, and more.

在云端运行★ 2,043MIT12个月前更新
安装

MCP Cn Commerce

作者:TonyWang-hub

8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending

在你的电脑上运行★ 96MIT28天前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

swissgroceries-mcp

Real-time Swiss grocery shopping over the Model Context Protocol. Search products, compare prices across Migros, Coop, Aldi, Denner, Lidl, Volgshop, Otto's, and Coop City, see weekly promotions, and plan multi-store shopping trips. Works with any MCP-compatible client (Claude Desktop, Claude Code, Cursor, Cline, Continue, VS Code MCP extensions, custom clients).

Disclaimer

This is a personal fun project. It is not affiliated with, endorsed by, or sponsored by Migros, Coop, Aldi, Denner, Lidl, Volg, Otto's, or any other retailer. It uses publicly accessible mobile-app endpoints to make Swiss grocery shopping a bit smarter for end users.

If you represent any of these stores and have concerns (about API usage, branding, scraping rate, or anything else), please reach out to the maintainer through GitHub and we will work it out. No need to escalate.

API stability: the chain APIs used here are unofficial and can change at any time. The maintainer is not responsible for failures caused by upstream changes; please open an issue with the response sample so the affected adapter can be updated.

PRs welcome. New chains, better matchers, smarter strategies, bug fixes, doc improvements; all encouraged. See CONTRIBUTING.md.

Install

No accounts, no tokens, no API keys required. The Denner adapter self-registers an anonymous client on first use; everything else uses public endpoints.

Claude Desktop (one-click)

Download swissgroceries-mcp.mcpb from the Releases page and:

  • macOS: double-click or drag onto the Claude Desktop app icon.
  • Windows: Settings → Extensions → Advanced → Install Extension → select the file.
Claude Code (one-liner)
claude mcp add swissgroceries -- npx -y @nicktcode/swissgroceries-mcp
Cursor / Cline / Continue / VS Code / Claude Desktop (manual config)

Most MCP-compatible clients accept the same JSON server entry. Add it to your client's MCP config file (paths vary, see your client's docs):

{

"mcpServers": { "swissgroceries": { "command": "npx", "args": ["-y", "@nicktcode/swissgroceries-mcp"] } } }

Common config paths:

  • Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS), %APPDATA%\Claude\claude_desktop_config.json (Windows).
  • Cursor: .cursor/mcp.json in the project, or ~/.cursor/mcp.json globally.
  • Cline / Continue / VS Code: see each client's MCP documentation.
  • Custom clients: any stdio-based MCP client can spawn npx -y @nicktcode/swissgroceries-mcp directly.

What you can ask

Price comparison

  • "Where is milk cheapest near 8001 Zürich right now?"
  • "Compare pasta prices across Migros and Coop."
  • "Show me organic milk options under CHF 3."

Shopping planning

  • "I need milk, bread, eggs, chicken, and pasta near 8050. Where should I shop to keep costs down?"
  • "Plan my weekly shop for 5 items near 4052 Basel, one stop only."
  • "Split my cart across stores for the absolute lowest total, but add a 2 CHF penalty per extra trip."

Promotions and deals

  • "What is on sale at Aldi this week?"
  • "Any Migros deals on cheese ending this week?"
  • "Show me all promotions across chains for pasta."

Stores and stock

  • "Find Coop stores within 3 km of Bern Hauptbahnhof."
  • "Which Migros near me has product 4389992 in stock?"
  • "List Denner branches near 8050."

Tools

ToolWhat it does
find_storesFind grocery stores near a location, filtered by chain and radius.
search_productsCross-chain product search with normalised price, unit price, size, and tags.
get_productFull product details for a chain plus product ID pair.
get_promotionsCurrent promotional deals, filterable by chain, keyword, store, or expiry.
find_stockStores of a chain that have a given product in stock.
plan_shoppingPlan a multi-store trip for a shopping list near a location.
health_checkProbe each registered chain adapter and report status, latency, and capabilities.

Each tool exposes rich JSON Schema with field-level descriptions, so the LLM knows when and how to call it.

Prompts

PromptWhat it does
weekly_deals_digestSummarise this week's best grocery deals across the configured chains. Optional category, chains, and location filters.
compare_basket_across_chainsCompare a shopping basket across all chains and recommend single-store vs split-cart strategies.
cheapest_recipe_ingredientsFrom an ingredient list (or recipe URL) find the cheapest place to buy each item and produce a consolidated shopping plan.

Prompts are surfaced as one-click templates in MCP-aware clients (Claude Desktop, Cursor, Cline). They produce structured user messages that drive the right tool calls — useful as a starting point and as discovery of what the server can do.

Resources

URIContent
swissgroceries://chainsJSON list of registered chain adapters and their capabilities (productSearch, productDetail, storeSearch, promotions, perStoreStock, perStorePricing).

Chain coverage

ChainProduct searchPromotionsPer-store stockNutritionAuth
MigrosFull catalogYesYesYes (product detail)Guest token (auto, rotated on expiry)
Coopcoop.ch catalog (coopathome)YesYes (geo)Yes (product detail)None
AldiFull catalogYesNoNo (API exposes only allergen claims)None
DennerFull catalogYesNoNoAnonymous self-auth (signup + signin, rotated)
LidlOnline assortment via the lidl.ch storefront (current + upcoming weekly offers, ~600 items; food only, de/fr/it)Yes (weekly leaflet)NoNoNone
VolgshopFull catalogYes (on_sale filter)No (delivery-only)Yes (parsed from free-text attribute, basis assumed 100g)None
Otto'sGrocery-adjacent (food, drugstore, baby)Yes (priceLabels facet)Yes (per-store stockLevel)NoNone
Coop CityDepartment-store catalog (coop-city.ch: cosmetics, household, fashion, electronics). Opt-in: only queried when chains includes coopcityYes (hasDiscount facet, current price only, no was-price or end date)Yes (per-store stockLevel, capped at 50)NoNone

NormalizedProduct.nutrition is normalized to a per-100g (or per-100ml) basis with the standard Swiss labelling fields — energyKj, energyKcal, fat, saturatedFat, carbs, sugar, fiber, protein, salt — so consumers can sort across chains ("highest protein per 100g lasagne") even though each upstream API exposes the data on a different surface and in a different shape. Missing or unparseable fields are left undefined; adapters never fabricate values.


Configuration

Env varDefaultEffect
DENNER_JWT_(unset)_Optional pre-supplied Denner Bearer JWT. Without it, the adapter self-registers anonymously on first use and rotates the token automatically.
LIDL_DEFAULT_STORECH0149Default Lidl store ID used when no storeIds are passed.
SWISSGROCERIES_USER_AGENT_COOP_(default iOS Safari UA)_Override the User-Agent for Coop calls if DataDome ever blocks the default.
SWISSGROCERIES_LOG_LEVELinfosilent, info, or debug.
SWISSGROCERIES_DISABLE_CACHE_(unset)_Set to 1 to bypass the in-memory HTTP cache (useful for debugging).

How it works

Each grocery chain is wrapped in an independent adapter (src/adapters/ /) that handles authentication, HTTP calls, and raw-to-normalised mapping. Adapters all produce the same NormalizedProduct, NormalizedStore, and NormalizedPromotion shapes (defined in src/adapters/types.ts), so the rest of the system never has to know which chain it is talking to.

The HTTP utility (src/util/http.ts) underpins every adapter except Migros (which delegates to the migros-api-wrapper library): in-memory response caching with a 5-minute TTL, retry with exponential backoff (3 attempts, 250 ms base), per-host rate limiting (~10 requests per second), and a per-host circuit breaker that opens after 5 consecutive failures and resets after 60 seconds.

The shopping planner (src/services/planner.ts) fans out store and product searches in parallel across all active adapters, then feeds results into a strategy solver (src/services/strategy.ts) that supports three modes:

  • single_store: minimise the number of stops.
  • split_cart: cheapest split across chains, with a configurable per-stop penalty.
  • absolute_cheapest: cheapest split, ignoring stop count.

Cross-chain comparisons are kept fair by a category-text canonicality filter (src/services/matcher.ts, isCanonical). When at least one chain returns a product whose category text matches the query, results from chains that only returned tangential products (for example, Apfelschorle when searching for "apfel") are dropped from the comparison matrix for that item.

MCP client (any LLM)

│ │ MCP tool call ▼ src/index.ts ── buildRegistry() ────────────────────────────────────────┐ │ │ │ routes to tool handler │ ▼ ▼ src/tools/ src/adapters/ find_stores.ts ──► geocoding ──► adapter.searchStores migros/ search_products.ts ──────────────► adapter.searchProducts coop/ get_product.ts ──────────────► adapter.getProduct aldi/ get_promotions.ts ──────────────► adapter.getPromotions denner/ (auto-auth) find_stock.ts ──────────────► adapter.findStoresWithStock lidl/ plan_shopping.ts ──► geocoding ──► planner ──► strategy solver │ NormalizedProduct NormalizedStore NormalizedPromotion

Build from source

node --version   # requires Node.js >=20

git clone https://github.com/nicktcode/swissgroceries-mcp cd swissgroceries-mcp npm install npm run build

To also build the .mcpb bundle locally:

npx tsx scripts/build-mcpb.ts

Troubleshooting

**Coop

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx