CLI and MCP server for Marktguru: supermarket deals from weekly leaflets in Germany and Austria
320
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
latest: newest releaseX.Y.Z: exactly this versionX.Y, X: newest release of this minor or major versionPlatforms: linux/amd64 and linux/arm64.
| Variable | Meaning |
|---|---|
MARKTGURU_COUNTRY | at (Austria, default) or de (Germany) |
MARKTGURU_ZIP | ZIP code for location-based results (default 1010) |
Both are optional, and each MCP search can override them.
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
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.
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.
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.
The container runs as the unprivileged user node (UID 1000). The image is based on the official Node.js Alpine image, without npm.
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.
Content type
Image
Digest
sha256:edd9851e0…
Size
65.9 MB
Last updated
about 2 hours ago
docker pull udondan/marktguru