Groceries MCP Server

Groceries MCP Server

By o-b-one GitHub

An mcp server for groceries vendors

groceries-mcp mcp-server
Overview

what is Groceries MCP Server?

Groceries MCP Server is a server designed for groceries vendors that enables searching for groceries and updating shopping carts through various vendor APIs.

how to use Groceries MCP Server?

To use the Groceries MCP Server, set up the environment variables, update the necessary configuration files, and run the server using Docker or with Claude Desktop integration.

key features of Groceries MCP Server?

  • Automatic cart creation based on a provided list of items.
  • Groceries lookup functionality using vendor APIs.

use cases of Groceries MCP Server?

  1. Vendors can automate the process of adding items to customer carts.
  2. Users can search for groceries across different vendor APIs seamlessly.

FAQ from Groceries MCP Server?

  • How do I set up the environment variables?

You can extract the necessary environment variables by logging into the vendor site and using developer tools to access local storage.

  • Is there a Docker setup available?

Yes! You can build the server using Docker with the provided commands in the documentation.

  • What license is the Groceries MCP Server under?

The server is licensed under the MIT License, allowing free use, modification, and distribution.

Content

Groceries MCP Server


MCP Server for different Groceries vendor API, enabling searching groceries and cart update.

Features

  • Automatic cart creation: add items to the cart based on a provided list
  • Groceries lookup: lookup for groceries using vendor API

Tools

  1. add_items_to_cart
  • Add groceries to the basket.
  • Inputs:
    • items(list[CartItemScheam]): items to add to the cart
  • Returns: Updated cart
  1. search
    • Lookup for item in the vendor
    • Inputs:
      • item (string): Items to
    • Returns: list of items corresponding to search term

Setup

Extract Environment Variables

Rami Levy

  1. log in to the Rami Levy site
  2. In developer tools (click on F12) and execute:
const state = JSON.parse(localStorage.ramilevy);
console.log({
    "VENDOR_ACCOUNT_ID": state.authuser.user.id,
    "VENDOR_API_KEY": state.authuser.user.token,
});
  1. Replace environment variables with the printed values

Local usage

  1. Update the .env file using env.template (requires Gemini)
  2. Update the grocery.txt
  3. Run make compile start_agent

Usage with Claude Desktop

To use this with Claude Desktop, add the following to your claude_desktop_config.json:

UV

{
  "mcpServers": {
    "groceries": {
      "command": "uv",
      "args": [
        "run",
        "mcp-groceries-server",
        "--vendor",
        vendorName # rami-levy e.g
      ],
      "env":{
        "VENDOR_API_KEY": "<YOUR_API_TOKEN>",
        "VENDOR_ACCOUNT_ID": "<VENDOR_ACCOUNT_ID>"
      }
    }
  }
}

Build

Docker build:

docker build -t mcp-groceries-server .

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

No tools information available.

Mirror of

image-generation mcp-server
View Details

Secure MCP server for analyzing Excel files with oletools

oletools mcp-server
View Details

Mirror of

bigquery mcp-server
View Details

MCPHubs is a website that showcases projects related to Anthropic's Model Context Protocol (MCP)

mcp mcp-server
View Details
Dealx
Dealx by DealExpress

-

dealx mcp-server
View Details

Google Analytics MCP server for accessing analytics data through tools and resources

google-analytics mcp-server
View Details

A Python-based MCP server that lets Claude run boto3 code to query and manage AWS resources. Execute powerful AWS operations directly through Claude with proper sandboxing and containerization. No need for complex setups - just pass your AWS credentials and start interacting with all AWS services.

aws mcp-server
View Details