MA

mrserzhan/ah-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

34 stars 26 forks 质量 59 趋势 0NOASSERTION

Albert Heijn MCP server for AI 助手

概览

一款适用于 Albert Heijn (🇳🇱) 超市 API 的模型上下文协议服务器。可支持任何兼容 MCP 的客户端。 AH应用和网站做不到的事情——但你的AI助手可以: “查查我的购物清单,把所有当前在奖金里的东西都加到我的购物车里。” “我想做4个人份的意大利肉酱面——去AH找食材,加到我的清单上。” “帮我找个带奖金、价格低于2欧元的健康零食。” “我最常点什么?给我看看前十名,看看本周哪些是特别奖励。” “我上个月买菜花了多少钱,基于我的卡萨博嫩?” “我通常买梅尔克、卡斯和布鲁德——我现在的购物车里有缺少它们吗?”

概述(AI 翻译)

一款适用于 Albert Heijn (🇳🇱) 超市 API 的模型上下文协议服务器。可支持任何兼容 MCP 的客户端。

你能做什么

AH应用和网站做不到的事情——但你的AI助手可以:

聪明购物

“查看我的购物清单,把当前在奖励购物车里的所有东西都加入购物车”

“我想为4个人做意大利肉酱面——在AH找到食材并加入我的清单”

“帮我找一款带奖金且价格低于2欧元的健康零食”

了解你的习惯

“我最常点什么?给我看看前十名,看看本周哪些在奖励名单上”

“根据我的卡萨博嫩,我上个月买菜花了多少钱?”

“我通常买melk、kaas和brood——我现在的购物车里有没有少了这些?”

临时交易

“邮政编码1234AB附近有哪些vandaag-af商品?有什么值得买的吗?”

“本周乳制品有额外优惠吗?”

车车管理

“清理购物车,从购物清单上重新整理”

“我超预算了——我的购物车里哪些商品没有在奖励范围内,可以换成更便宜的替代品?”


这是什么

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

ah-mcp — Albert Heijn MCP Server

A Model Context Protocol server for the Albert Heijn (🇳🇱) supermarket API. Works with any MCP-compatible client.

What you can do

Things the AH app and website can’t do — but your AI assistant can:

Smart shopping

“Check my shopping list and add everything that’s currently on bonus to my cart”

“I want to make spaghetti bolognese for 4 people — find the ingredients at AH and add them to my list”

“Find me a healthy snack that’s on bonus and costs less than €2”

Know your habits

“What do I order most often? Show me the top 10 and check which ones are on bonus this week”

“What did I spend on groceries last month based on my kassabonnen?”

“I usually buy melk, kaas, and brood — am I missing any of them in my current cart?”

Last-minute deals

“What vandaag-af items are available near postal code 1234AB? Anything worth getting?”

“Are there any bonus deals on dairy products this week?”

Cart management

“Clear my cart and rebuild it from my shopping list”

“I’m over budget — which items in my cart are not on bonus and could be swapped for cheaper alternatives?”


What this is

ah-mcp exposes the Albert Heijn mobile API as MCP tools so your AI assistant can:

  • Search products, check bonus offers, and drill into promotion groups
  • Browse last-chance / vandaag-af clearance items (store-specific)
  • Manage your online shopping cart (view, add, update, remove, clear)
  • View order history, order details, and frequently bought items
  • Read and update your shopping list and named favourite lists
  • Move your shopping list directly to your online order
  • View in-store receipts (kassabonnen) with full item details
  • Fetch your member profile and find nearby stores

Authentication is handled entirely through a reverse-proxy OAuth flow — no tokens are ever stored in the project directory.

Compatibility

Client Transport Status
Claude Desktop stdio ✅ tested
Claude Desktop Streamable HTTP ✅ tested
Claude.ai (web) Streamable HTTP ✅ tested

Quick start (pre-built binary)

  1. Download the latest binary from Releases.
  2. Run it:
    ./ah-mcp --transport stdio              # local client — browser opens automatically on login
    ./ah-mcp --transport sse                # local SSE — browser opens automatically on login
    ./ah-mcp --transport sse --remote       # remote SSE server — login returns a URL instead
    ./ah-mcp --transport streamable-http    # remote Streamable HTTP — more stable through proxies
    
  3. Ask your AI assistant to call ah_login. In local mode the browser opens automatically; in remote mode the assistant returns a URL for you to open.

Build from source

git clone https://github.com/mrserzhan/ah-mcp
cd ah-mcp
go build -o ah-mcp .
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "ah": { "url": "http://your-server:3000/sse" } } }