MA

mrserzhan/ah-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

34 stars 26 forks Качество 59 Тренд 0NOASSERTION

MCP-сервер Albert Heijn для помощников ИИ

Обзор

Сервер Model Context Protocol для API супермаркета Albert Heijn. Работает с любым MCP-совместимым клиентом. Вещи, которые приложение и веб-сайт AH не могут сделать, но ваш помощник ИИ может: Проверьте мой список покупок и добавьте все, что в настоящее время находится в бонусе к моей корзине. Я хочу сделать спагетти болоньезе для 4 человек — найти ингредиенты в AH и добавить их в свой список. Найдите мне здоровую закуску, которая стоит менее 2 евро. "Что я заказываю чаще всего? Покажите мне топ-10 и проверьте, какие из них являются бонусами на этой неделе. Что я потратил на продукты в прошлом месяце на основе моего кассабоннена? Я обычно покупаю мелк, каас и выводок — я скучаю по любому из них в своей нынешней тележке

Обзор (машинный перевод)

Сервер Model Context Protocol для API супермаркета Albert Heijn. Работает с любым MCP-совместимым клиентом.

Что можно сделать

Вещи, которые приложение и веб-сайт AH не могут сделать, но ваш помощник ИИ может:

** Умный шопинг** «Проверьте мой список покупок и добавьте все, что в настоящее время находится в бонусе к моей корзине»

«Я хочу сделать спагетти болоньезе для 4 человек — найдите ингредиенты в AH и добавьте их в мой список»

«Найдите мне здоровую закуску, которая стоит менее 2 евро»

Знай свои привычки «Что я заказываю чаще всего?» Покажите мне топ-10 и проверьте, какие из них являются бонусами на этой неделе.

Что я потратил на продукты в прошлом месяце на основе моего кассабоннена?

«Я обычно покупаю мелк, каас и выводок — я скучаю по любому из них в моей текущей корзине?»

Последние предложения Какие предметы вандааг-афа доступны рядом с почтовым индексом 1234AB? Что-нибудь стоящее получить? *

«Есть ли бонусные предложения по молочным продуктам на этой неделе?»

Управление картами «Очистите мою корзину и восстановите ее из моего списка покупок»

«Я превысил бюджет — какие предметы в моей корзине не являются бонусами и могут быть заменены на более дешевые альтернативы?»

Что это такое

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

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 .
Открыть полный README на GitHub

Установка

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

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

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