modelscope·@CupOfOwls/kroger-mcp
暂无描述。

A FastMCP server that provides AI assistants like Claude with access to Kroger's grocery shopping functionality through the Model Context Protocol (MCP). This server enables AI assistants to find stores, search products, manage shopping carts, and access Kroger's comprehensive grocery data via the kroger-api python library.
Using Claude with this MCP server to search for stores, find products, and add items to your cart:
https://github.com/user-attachments/assets/69055f5f-04f5-4ec1-96ac-330aa288fbd1
A changelog with recent changes is here.
You will need Kroger API credentials (free from Kroger Developer Portal). Visit the Kroger Developer Portal to:
CLIENT_ID, CLIENT_SECRET, and set your REDIRECT_URIThe first time you run a tool requiring user authentication, you'll be prompted to authorize your app through your web browser. You're granting permission to your own registered app, not to any third party.
Once published to PyPI, you can use uvx to run the package directly without cloning the repository:
Edit Claude Desktop's configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"kroger": {
"command": "uvx",
"args": [
"kroger-mcp"
],
"env": {
"KROGER_CLIENT_ID": "your_client_id",
"KROGER_CLIENT_SECRET": "your_client_secret",
"KROGER_REDIRECT_URI": "http://localhost:8000/callback",
"KROGER_USER_ZIP_CODE": "10001"
}
}
}
}
Benefits of this method:
First, clone locally:
git clone https://github.com/CupOfOwls/kroger-mcp
Then, edit Claude Desktop's configuration file:
{
"mcpServers": {
"kroger": {
"command": "uv",
"args": [
"--directory",
"/path/to/cloned/kroger-mcp",
"run",
"kroger-mcp"
],
"env": {
"KROGER_CLIENT_ID": "your_client_id",
"KROGER_CLIENT_SECRET": "your_client_secret",
"KROGER_REDIRECT_URI": "http://localhost:8000/callback",
"KROGER_USER_ZIP_CODE": "10001"
}
}
}
}
# Install with uv (recommended)
uv pip install kroger-mcp
# Or install with pip
pip install kroger-mcp
# Clone the repository
git clone https://github.com/CupOfOwls/kroger-mcp
cd kroger-mcp
# Install with uv (recommended)
uv sync
# Or install with pip
pip install -e .
Create a .env file in your project root or pass in env values via the JSON config:
# Required: Your Kroger API credentials
KROGER_CLIENT_ID=your_client_id_here
KROGER_CLIENT_SECRET=your_client_secret_here
KROGER_REDIRECT_URI=http://localhost:8000/callback
# Optional: Default zip code for location searches
KROGER_USER_ZIP_CODE=90274
# With uv (recommended)
uv run kroger-mcp
# With uvx (directly from PyPI without installation)
uvx kroger-mcp
# Or with Python directly
python server.py
# With FastMCP CLI for development
fastmcp dev server.py --with-editable .
| Tool | Description | Auth Required |
|---|---|---|
search_locations | Find Kroger stores near a zip code | No |
get_location_details | Get detailed information about a specific store | No |
set_preferred_location | Set a preferred store for future operations | No |
get_preferred_location | Get the currently set preferred store | No |
check_location_exists | Verify if a location ID is valid | No |
| Tool | Description | Auth Required |
|---|---|---|
search_products | Search for products by name, brand, or other criteria | No |
get_product_details | Get detailed product information including pricing | No |
search_products_by_id | Find products by their specific product ID | No |
get_product_images | Get product images from specific perspective (front, back, etc.) | No |
| Tool | Description | Auth Required |
|---|---|---|
add_items_to_cart | Add a single item to cart | Yes |
bulk_add_to_cart | Add multiple items to cart in one operation | Yes |
view_current_cart | View items currently in your local cart tracking | No |
remove_from_cart | Remove items from local cart tracking | No |
clear_current_cart | Clear all items from local cart tracking | No |
mark_order_placed | Move current cart to order history | No |
view_order_history | View history of placed orders | No |
| Tool | Description | Auth Required | |------|----------…
一种MCP服务器,它将人工智能助手连接到SearchAgora,使用户能够通过自然语言对话在网页上搜索、发现和购买产品。
一个服务器,它通过BigGo的价格比较API,实现跨多个电子商务平台搜索产品、追踪价格历史以及比较产品规格的功能。
一个概念验证的模型上下文协议服务器,使大型语言模型应用程序能够与Uber Eats互动,允许人工智能代理通过自然语言浏览和订购食物。
使用 Apify 提供的 3,000 多种预构建云工具(称为 Actors),从网站、电子商务平台、社交媒体、搜索引擎、地图等提取数据。
暂无描述。
暂无描述。