HUB
Sign inSign up
marktguru logo

udondan/marktguru

By udondan

•Updated about 2 hours ago

CLI and MCP server for Marktguru: supermarket deals from weekly leaflets in Germany and Austria

Image
Internet of things
Machine learning & AI
Developer tools
0

320

udondan/marktguru repository overview

⁠marktguru

Current supermarket deals from the weekly leaflets in Germany and Austria, from the terminal and from AI assistants, via Marktguru⁠.

The image contains the marktguru command line interface and an MCP⁠ server for AI assistants such as Claude. It only reads public offers and needs no account: the API key is fetched automatically from the Marktguru website.

Source code, full documentation and the npm package: github.com/udondan/marktguru⁠

⁠Tags

  • latest: newest release
  • X.Y.Z: exactly this version
  • X.Y, X: newest release of this minor or major version

Platforms: linux/amd64 and linux/arm64.

⁠Configuration

VariableMeaning
MARKTGURU_COUNTRYat (Austria, default) or de (Germany)
MARKTGURU_ZIPZIP code for location-based results (default 1010)

Both are optional, and each MCP search can override them.

⁠MCP server

Without arguments, the image starts the MCP server (stdio). It has one read-only tool, search_offers, with the arguments query (required), limit, zip, country, retailer and format (text, json, json-full).

Entry for Claude Desktop:

{
  "mcpServers": {
    "marktguru": {
      "command": "docker",
      "args": ["run", "--rm", "-i", "-e", "MARKTGURU_COUNTRY", "-e", "MARKTGURU_ZIP", "udondan/marktguru"],
      "env": {
        "MARKTGURU_COUNTRY": "de",
        "MARKTGURU_ZIP": "10115"
      }
    }
  }
}

Claude Code:

claude mcp add marktguru -- docker run --rm -i -e MARKTGURU_COUNTRY=de -e MARKTGURU_ZIP=10115 udondan/marktguru
⁠Docker MCP Toolkit

With the Docker MCP Toolkit, the gateway starts the server on demand:

mkdir -p ~/.docker/mcp/catalogs
curl -fsSL https://raw.githubusercontent.com/udondan/marktguru/main/docker-mcp.yml -o ~/.docker/mcp/catalogs/marktguru.yml
docker mcp profile create --name marktguru --id marktguru --server "file://$HOME/.docker/mcp/catalogs/marktguru.yml"

docker mcp profile config marktguru --set marktguru.country=de --set marktguru.zip=10115

docker mcp client connect claude-desktop --profile marktguru

Details in the README⁠.

⁠Command line

Arguments after the image name go to the marktguru command:

docker run --rm -e MARKTGURU_COUNTRY=de -e MARKTGURU_ZIP=10115 udondan/marktguru search raw milch

With an alias, the image behaves like an installed marktguru:

alias marktguru='docker run --rm -e MARKTGURU_COUNTRY -e MARKTGURU_ZIP udondan/marktguru'

marktguru search raw 'kellys OR "erdnuss snips"' --retailer billa
marktguru search build --term milch --limit 5 --json
marktguru search syntax

marktguru --help lists all commands, including serve, a read-only HTTP API. The API key is fetched once per container, so with --rm every call logs in again; for many searches, prefer the MCP server or serve.

⁠Signature

The images are signed with cosign⁠ by the release workflow on GitHub:

cosign verify udondan/marktguru:latest \
  --certificate-identity-regexp '^https://github\.com/udondan/marktguru/\.github/workflows/publish\.yml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Each image also carries SBOM and provenance attestations.

⁠Security

The container runs as the unprivileged user node (UID 1000). The image is based on the official Node.js Alpine image, without npm.

⁠Disclaimer

This is an unofficial community project and not affiliated with Marktguru. It uses the undocumented API of the public Marktguru website, which can change at any time.

⁠License

MIT⁠

Tag summary

Content type

Image

Digest

sha256:edd9851e0…

Size

65.9 MB

Last updated

about 2 hours ago

docker pull udondan/marktguru