1. Conduid
  2. Commerce
  3. Kroger MCP Server
MCP server · Commerce

Kroger MCP Server

Integrates Kroger's public API with Claude to allow adding meal plan grocery lists directly to your Kroger cart via natural language.

Unclaimed commerce
34Low

Scored 5 months ago · breakdown

About Kroger MCP Server

Kroger MCP Server is an MCP server in the Commerce category: integrates Kroger's public API with Claude to allow adding meal plan grocery lists directly to your Kroger cart via natural language.

Install

From source
git clone https://github.com/cincyjosh/Kroger-MCP-Server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (5)

kroger_add_grocery_listSearch + add an entire grocery list in one shot

Parameters not published.

kroger_add_to_cartAdd a single product by UPC to your cart

Parameters not published.

kroger_clear_authClear stored tokens (if you need to re-authenticate)

Parameters not published.

kroger_find_storeFind nearby Kroger stores by ZIP code, returns `location_id`

Parameters not published.

kroger_search_productsSearch the product catalog, returns UPC + price + aisle

Parameters not published.

Ask AI

✦

Ask AI about Kroger MCP Server

Powered by Claude · Grounded in docs

I know everything about Kroger MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

Kroger MCP Server

Integrates Kroger's public API with Claude so meal plan grocery lists can be added directly to your Kroger cart.

Tools

Tool What it does
kroger_find_store Find nearby Kroger stores by ZIP code, returns location_id
kroger_search_products Search the product catalog, returns UPC + price + aisle
kroger_add_to_cart Add a single product by UPC to your cart
kroger_add_grocery_list Search + add an entire grocery list in one shot
kroger_clear_auth Clear stored tokens (if you need to re-authenticate)

Setup

Step 1 — Register your app at Kroger Developer Portal

  1. Go to https://developer.kroger.com
  2. Click Register App
  3. Fill in:
    • App Name: Meal Plan Assistant (or anything)
    • Redirect URI: http://localhost:8080/callback
    • Scopes: product.compact, cart.basic:write, profile.compact
  4. Copy your Client ID and Client Secret

Step 2 — Install dependencies

cd kroger_mcp
python3 -m venv venv
source venv/bin/activate        # Windows: venv\Scripts\activate
pip install -r requirements.txt

Step 3 — Set environment variables

export KROGER_CLIENT_ID=your_client_id_here
export KROGER_CLIENT_SECRET=your_client_secret_here
export KROGER_REDIRECT_URI=http://localhost:8080/callback

Add these to your shell profile (~/.zshrc or ~/.bashrc) so they persist.

Step 4 — Connect to Claude

Add to your Claude MCP config (usually ~/Library/Application Support/Claude/claude_desktop_config.json on Mac):

{
  "mcpServers": {
    "kroger": {
      "command": "/path/to/kroger_mcp/venv/bin/python",
      "args": ["/path/to/kroger_mcp/server.py"],
      "env": {
        "KROGER_CLIENT_ID": "your_client_id",
        "KROGER_CLIENT_SECRET": "your_client_secret",
        "KROGER_REDIRECT_URI": "http://localhost:8080/callback"
      }
    }
  }
}

Restart Claude Desktop after saving.

First Use — OAuth Login

The first time you ask Claude to add items to your cart:

  1. Your browser will open to Kroger's login page
  2. Log in with your Kroger account
  3. Paste the redirect URL back into the terminal
  4. Done — tokens are saved at ~/.kroger_mcp_tokens.json

After that, Claude can add to your cart silently using the stored refresh token.

Example Flow

Once connected, you can say to Claude:

"Find my nearest Kroger store and add this week's grocery list to my cart"

Claude will:

  1. Call kroger_find_store with your ZIP code
  2. Call kroger_add_grocery_list with all the items
  3. Report back what was added, what was skipped, and any issues

Security Notes

  • Your Client ID and Secret are yours — registered under your account
  • Tokens are stored locally at ~/.kroger_mcp_tokens.json (permissions: 600)
  • No third-party code involved — direct calls to Kroger's official API
  • kroger_clear_auth removes all stored tokens if needed

Troubleshooting

"Missing environment variables" — Set KROGER_CLIENT_ID and KROGER_CLIENT_SECRET

"Authorization expired" — Retry the operation; the server will refresh automatically

"No matching product found" — Try a shorter search term (e.g., "spinach" instead of "Private Selection Baby Spinach")

Rate limits (HTTP 429) — Kroger limits requests; wait 30 seconds and retry

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Kroger MCP Server

How do I install Kroger MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Kroger MCP Server safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Kroger MCP Server still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.