Shufersal MCP server

Automates Shufersal supermarket shopping by converting recipe links into shopping lists, searching the product catalog with personalized results for logged-in users, and adding items directly to the cart through browser automation.
Back to servers
Setup instructions
Provider
Mati Horowitz
Release date
Jun 18, 2025
Stats
9 stars

The Shufersal MCP Server is a Model Context Protocol server that automates interactions with the Shufersal online shopping platform. It allows language models to search for products, create shopping lists from recipes, and add items to your shopping cart through browser automation.

Key Features

  • Product Search: Search Shufersal's product catalog with personalized results for logged-in users
  • Cart Management: Add products to your Shufersal shopping cart
  • Shopping List Management: Create structured shopping lists from recipe links
  • Console Monitoring: Track browser automation logs for troubleshooting

Installation and Configuration

To use the Shufersal MCP server with Claude Desktop, add the following configuration:

{
  "mcpServers": {
    "shufersal": {
      "command": "node",
      "args": ["<path/to/shufersal-mcp>/dist/index.js"],
    }
  }
}

Custom User Data Directory

You can specify a custom user data directory:

{
  "mcpServers": {
    "shufersal": {
      "command": "node",
      "args": ["<path/to/shufersal-mcp>/dist/index.js", "--user-data-dir=<path/to/custom/user/data>"],
    }
  }
}

Windows Configuration

For Windows systems:

{
  "mcpServers": {
    "shufersal": {
      "command": "<path/to/node>",
      "args": ["<path/to/shufersal-mcp>/dist/index.js"],
    }
  }
}

Usage

Basic Workflow

  1. Create Shopping List: Generate a structured shopping list from your request or a recipe link
  2. Open Shufersal: Navigate to the Shufersal website (requires login on first use)
  3. Search Products: Find products matching your shopping list items
  4. Add to Cart: Add found products to your shopping cart

Available Tools

Core Shopping Tools

  • open_shufersal

    • Opens the Shufersal website and prepares for shopping
    • Input: hasCreatedShoppingList (boolean) - Whether a shopping list has been created beforehand
  • search_shufersal

    • Searches for products on the Shufersal website
    • Input: query (string) - Product search query (e.g., 'milk', 'bread', 'tomatoes')
  • add_to_shufersal_cart

    • Adds a product to the shopping cart (must be used after searching)
    • Inputs:
      • product_id (string) - Product ID from search results
      • sellingMethod (string) - Selling method from search results
      • qty (number) - Quantity to add to cart
      • comment (string, optional) - Optional comment for the product

Recipe Link Tools

  • read_webpage_content

    • Reads and converts webpage content to markdown format
    • Input: url (string) - URL of the webpage to read
  • create_shopping_list_table

    • Creates a shopping list table from recipe ingredients
    • Input: recipe (array) - Array of recipe ingredients with name, quantity, unit of measure, and optional brand

Resources

The server provides access to browser console logs at console://logs, which can be useful for troubleshooting.

Security Considerations

Please note that this tool:

  • Stores browser session data locally in ./puppeteer-user-data/
  • Will save your Shufersal login session if you log in during first use
  • Should only be used with trusted MCP clients

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "shufersal" '{"command":"node","args":["<path/to/shufersal-mcp>/dist/index.js"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "shufersal": {
            "command": "node",
            "args": [
                "<path/to/shufersal-mcp>/dist/index.js"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "shufersal": {
            "command": "node",
            "args": [
                "<path/to/shufersal-mcp>/dist/index.js"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later