Family Grocery MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Family Grocery MCP Create a weekly meal plan and shopping list for the family"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Family Grocery MCP
An MVP proof of concept for a family meal-planning and Kroger/King Soopers shopping assistant.
The project is intentionally split into two layers:
references/kroger-mcp/: cloned upstream Kroger MCP reference.src/family_grocery_mcp/: our family-specific planning, allergy review, shopping-list, budget, and cart-prep layer.
Current MVP
This first pass works without Kroger credentials by using a small mock catalog. It can:
Load a household profile from
data/household_profile.jsonSuggest a Mediterranean-leaning weekly dinner plan
Generate leftover lunches
Consolidate a grocery list from selected meals
Match grocery items to mock products
Flag egg, peanut, and tree-nut allergy risks
Estimate total cost against a monthly budget
Search live Kroger/King Soopers locations and products
Prepare a conservative approved-cart list from live product matches
Start and complete Kroger cart OAuth
Add only approved, non-review items to the Kroger cart after explicit confirmation
Expose the workflow as MCP tools when dependencies are installed
Related MCP server: Unofficial AnyList MCP Server
Quick Demo
python3 -m family_grocery_mcp.cli demoIf running directly from the repo without installing, use:
PYTHONPATH=src python3 -m family_grocery_mcp.cli demoLive Kroger Public API Checks
After creating .env, validate credentials without printing secrets:
PYTHONPATH=src python3 -m family_grocery_mcp.cli validate-krogerSearch nearby stores:
PYTHONPATH=src python3 -m family_grocery_mcp.cli locations --zip 80005Search products at a selected store:
PYTHONPATH=src python3 -m family_grocery_mcp.cli products "greek yogurt" --location-id "YOUR_LOCATION_ID"Preview the seed meal plan with live Kroger product matches:
PYTHONPATH=src python3 -m family_grocery_mcp.cli preview-live --location-id "YOUR_LOCATION_ID"Live compact product search does not reliably include full ingredient lists, so packaged foods are marked for review by default. Raw produce, meat, and seafood can be treated as lower-risk matches, but checkout still remains manual.
MCP Server
Install dependencies once:
uv syncRun the MCP server:
uv run family-grocery-mcpClaude Desktop/Codex MCP config can use:
{
"mcpServers": {
"family-grocery": {
"command": "uv",
"args": [
"--directory",
"/Users/kkaminky/Documents/Grocery Shopper",
"run",
"family-grocery-mcp"
]
}
}
}Current MCP tools include:
plan_weekpreview_shoppingvalidate_krogersearch_kroger_locationssearch_krogerpreview_live_shoppingstart_kroger_cart_authcomplete_kroger_cart_authkroger_cart_auth_statusprepare_kroger_cartadd_approved_items_to_kroger_cartadd_single_item_to_kroger_cart
Cart OAuth and Add-To-Cart
Start cart authentication:
uv run family-grocery cart-auth-startOpen the returned URL, log in, then copy the final redirected URL and run:
uv run family-grocery cart-auth-complete "PASTE_FULL_REDIRECT_URL_HERE"Preview what would be added:
uv run family-grocery cart-preview --dinners 2Add only approved, non-review items to the real Kroger cart:
uv run family-grocery cart-add-approved --dinners 2 --confirmAdd one explicit test item by UPC:
uv run family-grocery cart-add-item 0000000094053 --quantity 1 --confirmItems flagged for missing ingredient data, egg, peanut, or tree-nut risk are skipped.
Kroger Developer Setup
Create a Kroger developer app before live cart testing:
Go to Kroger Developer.
Sign in or create a developer account.
Open My Apps / Manage Apps and create a new application.
Set the OAuth redirect URI exactly to:
http://localhost:8000/callbackEnable/request these scopes:
product.compact cart.basic:write profile.compactCopy the client ID and client secret into a local
.envfile:cp .env.example .envThen edit
.envlocally. Do not commit secrets.
The public Kroger API can add items to a cart, but it cannot fully view or remove cart contents. This assistant keeps local tracking and expects a human to review the real cart before checkout.
MCP Configuration
Once dependencies are installed, point Claude Desktop or another MCP client at:
{
"mcpServers": {
"family-grocery": {
"command": "uv",
"args": [
"--directory",
"/Users/kkaminky/Documents/Grocery Shopper",
"run",
"family-grocery-mcp"
],
"env": {
"FAMILY_GROCERY_PROFILE": "/Users/kkaminky/Documents/Grocery Shopper/data/household_profile.json",
"KROGER_USER_ZIP_CODE": "80005"
}
}
}
}Next Build Steps
Import recipes from PDFs and URLs.
Persist approved products, substitutions, and rejected products.
Improve quantity/package math for produce and meat.
Add a small review UI for allergy uncertainty and budget tradeoffs.
Add recipe/meal-plan editing instead of only seed meals.
Available Tools
12 toolsadd_approved_items_to_kroger_cartB
Add only approved, non-review items to the real Kroger cart when confirm is true.
Inputs: confirm, location_id, dinner_count. Returns: object
add_single_item_to_kroger_cartA
Add one explicit UPC to the real Kroger cart when confirm is true.
Inputs: upc (required), confirm, modality, quantity. Returns: object
complete_kroger_cart_authA
Complete Kroger OAuth using the full redirect URL from the browser.
Inputs: redirect_url (required). Returns: object
kroger_cart_auth_statusA
Check whether a local user cart token exists.
Inputs: no named parameters. Returns: object
plan_weekB
Create a starter weekly meal plan using the household profile.
Inputs: dinner_count. Returns: object
prepare_kroger_cartC
Prepare approved cart items and list skipped allergy-review items.
Inputs: location_id, dinner_count. Returns: object
preview_live_shoppingC
Generate shopping preview using live Kroger product search.
Inputs: location_id, dinner_count. Returns: object
preview_shoppingC
Generate shopping list, mock product matches, allergy review flags, and budget.
Inputs: dinner_count. Returns: object
search_krogerB
Search live Kroger products at a selected location.
Inputs: term (required), location_id (required), limit. Returns: object
search_kroger_locationsB
Search Kroger/King Soopers locations near a zip code.
Inputs: zip_code. Returns: object
start_kroger_cart_authA
Start Kroger OAuth for cart write access and return an authorization URL.
Inputs: no named parameters. Returns: object
validate_krogerA
Validate local Kroger credentials without exposing secrets.
Inputs: no named parameters. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Several tools have overlapping purposes, particularly preview_shopping vs preview_live_shopping, which both generate shopping previews but differ only in data source. search_kroger and preview_live_shopping also both involve live product search, creating potential misselection. However, the core workflow tools (auth, cart, planning) are distinct.
Tool names mix verb-first patterns (plan_week, search_kroger), gerund forms (preview_shopping), lengthy prepositional phrases (add_approved_items_to_kroger_cart), and one noun-phrase status (kroger_cart_auth_status). No consistent verb_noun convention is followed, making the set feel ad hoc.
12 tools is well within the ideal 3-15 range for a grocery planning and Kroger integration server. Each tool maps to a distinct step in the workflow (plan, preview, search, auth, cart), and none feel redundant or unnecessary.
The tool set covers the full journey from meal planning to adding items to a real Kroger cart, including authentication and preview stages. Minor gaps exist: no tool to view or modify the generated meal plan, and no way to list current cart contents or remove items, but these are likely out of scope.
Maintenance
Related MCP Connectors
AI meal plans that fill your Kroger/Instacart cart - pantry-aware lists, all from chat.
- MindyCartDeprecatedcom.mindycart.mcp
MindyCart is an AI meal planner for Walmart and Kroger. Mindy plans your week of dinners to your exact preferences, then fills your Walmart or Kroger grocery cart in about 3 to 5 minutes. Connect it to Claude or ChatGPT to plan meals, add groceries and staples, and read back recipes from the chat you already use.
Household-aware cooking brain: pantry, meal suggestions, dietary safety, recipes, shopping lists.
MCP server for generating rough-draft project plans from natural-language prompts.
Related MCP Servers
- FlicenseBqualityDmaintenanceMCP server for managing Tandoor recipes, meal plans, and shopping lists. Enables creation, retrieval, and management of recipes, meal plans, and shopping list items via natural language.1320-
- AlicenseNot gradedqualityAmaintenanceMCP server that integrates with AnyList for managing shopping lists, recipes, and meal planning via natural language.37ISC
- AlicenseNot gradedqualityDmaintenanceMCP server for MealMastery AI meal planning that enables users to manage meal plans, recipes, and grocery lists through natural language conversation with AI agents like Claude.49 npmMIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server for grocery shopping at Kroger-owned stores, enabling product search, store finder, cart management, and more through AI assistants.29 npmMIT