kroger-mcp

Self-hosted MCP server · Kroger Public API

Let Claude build your grocery cart.

kroger-mcp is a self-hosted MCP server for the Kroger Public API. Claude finds your store, searches products with price, promo, stock and aisle, and adds what you pick to your cart.

King Soopers · Kroger · Ralphs · Fred Meyer · Fry's · Smith's · and other Kroger banners

An illustrative example conversation, printed as a receipt. You ask Claude to make the King Soopers near zip code 12345 your store and add 2% milk, a dozen large eggs and sourdough bread for pickup. Claude saves the store and finds Kroger 2% Milk for $3.49 in aisle 12, Simple Truth Large Eggs for $4.29 on sale, and Private Selection Sourdough for $3.99. You say yes, Claude adds all three to your cart, and you check out in the store's app. Prices and products come live from Kroger for your store.

What you get

Four aisles, one cart.

AISLE01

Stores

Find stores by zip or coordinates, filter by chain and department, and save a default.

search_locations · set_preferred_location

AISLE02

Products

Search by term or brand. Scoped to your store, results add price, promos, stock and aisle.

search_products · get_product

AISLE03

Cart

Add items for pickup or delivery once you link your Kroger shopping account.

kroger_login · add_to_cart

AISLE04

Your server

A Go server in Docker, over Streamable HTTP, with optional OAuth on the endpoint.

amd64 · arm64 · GPL-3.0

Tools

Everything on the list.

Ten MCP tools, grouped the way you shop. Claude picks them; you just ask for groceries.

STORES

  • search_locationsFind stores by zip code, coordinates or id.
  • get_locationGet one store.
  • set_preferred_locationSave a default store.
  • list_chainsList chains, or look one up.
  • list_departmentsList departments, or look one up.

PRODUCTS

  • search_productsSearch by term, brand or product ids.
  • get_productGet one product by product id or UPC.

ACCOUNT

  • kroger_loginGet a single-use URL to link your shopping account.
  • kroger_auth_statusCheck the linked account and default store.

CART

  • add_to_cartAdd items to your cart by UPC.

It fills the cart. You check out.

Kroger's public API can only add to a cart. It can't read the cart, remove items, see past orders or place an order, so you finish on the store's website or app.

Ten minutes to your first cart.

You need Docker, a Kroger shopping account and a free Kroger developer app.

Set it up $ docker compose up -d