# marktguru

> marktguru is an open-source MCP server for grocery prices. Search German and Austrian supermarket leaflet deals from AI assistants and the command. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Web, Self-hosted
- **Repository:** https://github.com/udondan/marktguru
- **MCP Registry name:** io.github.udondan/marktguru
- **Categories:** [grocery prices](https://ai-powered.com/categories/grocery-prices)
- **Listing updated:** 2026-11-27

## About

Marktguru is an unofficial open-source client for the weekly supermarket leaflet deals published on the Marktguru platform in Germany and Austria. It ships as a command-line tool, a local read-only HTTP API and an MCP server, so the same offer data can be reached from a terminal, a home automation setup or an AI assistant.

Searches accept Lucene-style query strings with OR, wildcards, exact phrases and grouping, or a structured builder that assembles the query from terms. Results can be limited by ZIP code and filtered by retailer, and output is available as a readable list or as JSON. The MCP server exposes a single read-only search tool, and the API key is fetched automatically on first use.

It suits people who want to compare offers across retailers from a script or an assistant, and developers who want deal data in dashboards or automations. Country and ZIP code can be set in a config file or through environment variables.

## Features

- **Flexible query syntax:** Supports OR groups, wildcards, exact phrases and parenthesised grouping, either typed directly or built from structured options.
- **Location-based results:** Filters offers by ZIP code, with separate defaults for Germany and Austria.
- **Retailer filter:** Narrows results to a chosen supermarket chain.
- **MCP search tool:** A single read-only tool lets AI clients search offers in text or JSON format.
- **Local HTTP API:** A read-only server on localhost returns search results to dashboards and automation tools.
- **Docker and npm install:** Runs through npx or as a Docker image that starts the MCP server on stdio.

## Good for

- Asking an AI assistant which supermarkets have a product on offer this week
- Comparing flour or milk prices across retailers in a ZIP code area
- Feeding current leaflet deals into a Home Assistant or n8n workflow
- Building a small dashboard that shows deals for a shopping list

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add marktguru -- npx -y @udondan/marktguru
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "marktguru": {
      "command": "npx",
      "args": [
        "-y",
        "@udondan/marktguru"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "marktguru": {
      "command": "npx",
      "args": [
        "-y",
        "@udondan/marktguru"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "marktguru": {
      "command": "npx",
      "args": [
        "-y",
        "@udondan/marktguru"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "marktguru": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@udondan/marktguru"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add marktguru -- npx -y @udondan/marktguru
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.marktguru]
command = "npx"
args = ["-y", "@udondan/marktguru"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "marktguru": {
      "command": "npx",
      "args": [
        "-y",
        "@udondan/marktguru"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user marktguru npx -- -y @udondan/marktguru

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "marktguru": {
      "command": "npx",
      "args": [
        "-y",
        "@udondan/marktguru"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "marktguru": {
      "command": "npx",
      "args": [
        "-y",
        "@udondan/marktguru"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "marktguru": {
      "command": "npx",
      "args": [
        "-y",
        "@udondan/marktguru"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "marktguru": {
      "command": "npx",
      "args": [
        "-y",
        "@udondan/marktguru"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "marktguru": {
      "command": "npx",
      "args": [
        "-y",
        "@udondan/marktguru"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "marktguru": {
      "command": "npx",
      "args": [
        "-y",
        "@udondan/marktguru"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "marktguru": {
      "command": "npx",
      "args": [
        "-y",
        "@udondan/marktguru"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "marktguru": {
      "command": "npx",
      "args": [
        "-y",
        "@udondan/marktguru"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, all 1 tool only read data. From the server's own tool labels and tool names; not verified by us.

- `search_offers` (name suggests: reads): Searches current supermarket offers by query, with optional ZIP, country, retailer and format arguments.

## FAQ

### Is this an official marktguru product?

No. It is an unofficial community project that is not affiliated with or endorsed by marktguru.

### Which countries are supported?

Germany and Austria, selected with the country setting. Germany is the default.

### Does marktguru need an account or API key?

It fetches an API key from the marktguru website automatically on first search, using the login command or the first search.

### What does the MCP server offer?

One read-only tool, search_offers, which takes a query and optional ZIP, country, retailer and output format arguments.

### Is marktguru free?

Yes. marktguru is open source, so you can use and self-host it for free.

### How do I add marktguru to Claude Code?

Run this command in your terminal: claude mcp add marktguru -- npx -y @udondan/marktguru

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Posokanei MCP](https://ai-powered.com/mcp/posokanei-mcp): Posokanei MCP is an open-source MCP server for grocery prices.

---
Source: https://ai-powered.com/mcp/marktguru
