Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

marktguru

Latest version: v1.3.0

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
MCP server Transport: stdio Publisher: udondan
1 Stars
1 Forks
1 Versions
TypeScript Repo language

Scan summary

marktguru was last scanned on 27 Nov 2026 at version 1.3.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 27 Nov 2026.
  • Findings: No rules fired in version 1.3.0.
  • MCP server: Runs over stdio.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
1.3.0 LATEST 27 Nov 2026 No rules fired

No rules fired in 1.3.0

Findings

Findings for v1.3.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.3.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

marktguru 🧘‍♂️

npm Docker Node.js Test License

[!NOTE] Unofficial community project. Not affiliated with, endorsed or authorized by marktguru.

Marktguru supermarket deals in Germany and Austria, as a CLI, a local HTTP API and an MCP server.

This is a maintained fork of manmal/marktguru-cli, published as @udondan/marktguru (formerly @udondan/marktguru-cli).

Table of Contents

  • AI Agent Skill
  • Quick Start (Recommended)
  • Requirements
  • Commands
  • Also Working (Install Locally)
  • Search Options
  • HTTP API
  • MCP Server
    • Claude Code
    • Claude Desktop and other clients
  • Docker
    • Docker MCP Toolkit
  • Query Syntax (Observed)
  • Notes on login
  • Config Location
  • Disclaimer

AI Agent Skill

Install into your coding agent with the skills CLI:

npx skills add udondan/marktguru

Or read skills/marktguru-grocery-deals/SKILL.md directly — a comprehensive reference designed for AI coding agents.

Quick Start (Recommended)

Use npx to run without installing anything:

npx --yes @udondan/marktguru login
npx --yes @udondan/marktguru search raw "milch OR soja"
npx --yes @udondan/marktguru search build --term milch --or soja

Requirements

  • Node.js 22.12+
  • Works with npm, pnpm, and bun

Commands

Login (extracts API key via HTTP by scanning the site’s JS):

marktguru login

Search (raw query string syntax):

marktguru search raw "kellys OR \"erdnuss snips\""

Search (structured builder):

marktguru search build --term kellys --phrase "erdnuss snips" --or manner --explain

Show supported query syntax:

marktguru search syntax

Set a default ZIP code:

marktguru set-zip 80331

Set a default country (de or at, default: de):

marktguru set-country at

Show config:

marktguru config

Run a local, read-only HTTP API (see HTTP API):

marktguru serve

Also Working (Install Locally)

Install and run from source:

mise install   # Node.js and Bun, versions from mise.toml
bun install --frozen-lockfile
bun run build
bun run start --help

Dev mode (TS directly, run by Bun):

bun run dev --help

Lint, format and test (same targets CI runs):

make eslint
make format
make test
make validate-package

Search Options

Available for both search raw and search build:

  • -z, --zip <code>: ZIP code for location-based results
  • -n, --limit <number>: Number of results (default: 10)
  • -r, --retailer <name>: Filter by retailer (client-side)
  • -j, --json: JSON output, reduced to a few fields per offer
  • --json-full: The complete API response as JSON (query, totalResults, results with every offer field, filters). The retailer filter and limit still apply. The shape follows the upstream Marktguru API and may change when it does. Each offer also gets descriptionLines, the lines the text output prints for it without icons; they are meant for display and their wording may change. Takes precedence over --json.

If no API key is configured, search will automatically run login to extract one.

Note: API keys are country-specific. After switching country with set-country, run login again to fetch the matching key.

Builder-only:

  • --term <value>: Add a term (repeatable)
  • --phrase <value>: Add an exact phrase (repeatable)
  • --wildcard <value>: Add a wildcard term like kell* (repeatable)
  • --or <value>: Add a term to an OR group (repeatable)
  • --group <value>: Add a raw group wrapped in parentheses (repeatable)
  • --explain: Print the built query to stderr

HTTP API

marktguru serve runs a small HTTP server so tools like Home Assistant, n8n, Node-RED or a dashboard can query deals without spawning the CLI.

marktguru serve                    # http://127.0.0.1:3000
marktguru serve --port 0           # pick a free port, printed to stderr
MARKTGURU_SERVE_TOKEN=secret marktguru serve --host 0.0.0.0
Endpoint Parameters Response
GET /search q (required), limit, zip, retailer Same JSON as search raw --json-full
GET /health {"success": true}
curl 'http://127.0.0.1:3000/search?q=milch&limit=5&retailer=billa'

Errors use {"success": false, "error": "..."} with status 400 (bad parameters), 401 (missing or wrong token), 403 (foreign Host or Origin), 404, 405 or 502 (Marktguru API or login failed). Searches use the configured country and log in automatically when no key is stored.

For AI assistants, see MCP Server.

Security model:

  • Read-only: no endpoint returns the API key or changes the config. Use the CLI for login, set-zip and set-country.
  • Listens on 127.0.0.1 by default. Any other --host requires a token (--token or MARKTGURU_SERVE_TOKEN), sent as Authorization: Bearer <token>.
  • On loopback, requests whose Host isn't 127.0.0.1, localhost or [::1] with the server's port are rejected, against DNS rebinding.
  • Requests with an Origin other than the server's own are rejected, and no CORS headers are sent, so web pages open in your browser can't use it.
  • Stops cleanly on Ctrl+C (SIGINT) and SIGTERM.

MCP Server

marktguru mcp runs an MCP server on stdio, so AI assistants can search deals directly. It has one read-only tool:

Tool Arguments
search_offers query (required), limit, zip, country (at, de), retailer, format (text, json, json-full)

format picks the same output as the CLI: the readable list (default), --json or --json-full. The API key is fetched automatically on the first search, like search does. Country and ZIP code default to the config and can be set per search.

The server is listed in the MCP Registry as io.github.udondan/marktguru.

Claude Code
claude mcp add marktguru -- npx -y @udondan/marktguru mcp
Claude Desktop and other clients

Add to the client's MCP configuration (for Claude Desktop claude_desktop_config.json):

{
  "mcpServers": {
    "marktguru": {
      "command": "npx",
      "args": ["-y", "@udondan/marktguru", "mcp"],
      "env": { "MARKTGURU_COUNTRY": "de", "MARKTGURU_ZIP": "10115" }
    }
  }
}

env is optional, see Config Location.

Docker

The image udondan/marktguru starts the MCP server without arguments. Arguments after the image name are passed to the CLI:

docker run --rm -i udondan/marktguru                       # MCP server on stdio
docker run --rm -e MARKTGURU_COUNTRY=de -e MARKTGURU_ZIP=10115 udondan/marktguru search raw milch

~/.marktguru/config.json is not visible inside the container, so set country and ZIP code with MARKTGURU_COUNTRY and MARKTGURU_ZIP. The API key is fetched once per container.

The images are signed with cosign (keyless, by the release workflow of this repository):

cosign verify udondan/marktguru:latest \
  --certificate-identity-regexp '^https://github.com/udondan/marktguru/' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com
Docker MCP Toolkit

With the Docker MCP Toolkit of Docker Desktop, the server runs as a container behind the MCP Gateway, which starts it on demand and passes its tools on to the connected clients.

  1. Download the server definition docker-mcp.yml and add it to a Toolkit profile. The Toolkit only reads such files from its catalogs directory:

    mkdir -p ~/.docker/mcp/catalogs
    curl -fsSL https://raw.githubusercontent.com/udondan/marktguru/main/docker-mcp.yml -o ~/.docker/mcp/catalogs/marktguru.yml
    
    # new profile "marktguru" ...
    docker mcp profile create --name marktguru --id marktguru --server "file://$HOME/.docker/mcp/catalogs/marktguru.yml"
    # ... or add it to an existing profile
    docker mcp profile server add default --server "file://$HOME/.docker/mcp/catalogs/marktguru.yml"

    The profile keeps the image at the version it had when it was added. Run profile server add again to update. From a clone of this repository, make docker builds the image locally and does the same (make docker-register PROFILE=<id> for another profile).

  2. Optionally set the default country and ZIP code (Germany and 10115 otherwise):

    docker mcp profile config marktguru --set marktguru.country=de --set marktguru.zip=10115
  3. Connect a client to the profile:

    docker mcp client connect claude-desktop --profile marktguru

    docker mcp client connect --help lists more clients such as claude-code, cursor or vscode.

docker mcp gateway run --profile marktguru --dry-run --verbose checks the setup without starting a client. The output should end with marktguru: (1 tools).

Query Syntax (Observed)

The API appears to accept a Lucene/Elasticsearch-style query string, not SQL.

Supported:

  • OR for boolean OR
  • * wildcard (e.g., kell*)
  • "..." exact phrase
  • ( ... ) grouping

Not supported (observed):

  • AND, NOT, ~, ^

Notes on login

  • Uses HTTP requests (no browser automation).
  • Scans entry HTML and boot scripts for embedded API keys and validates them.
  • May break if the website changes.

Config Location

  • ~/.marktguru/config.json

The environment variables MARKTGURU_COUNTRY (at, de) and MARKTGURU_ZIP override the country and default ZIP code of the config file for search, serve and mcp. They are not saved. The stored API key belongs to the country in the config file; searches in another country fetch a key for it and keep it in memory only.

Without a ZIP code, searches use 10115 (Berlin) in Germany and 1010 (Vienna) in Austria. Germany is the default country since version 1.2.0; config files of older versions that don't name a country keep Austria.

Disclaimer

This is an unofficial, independent open-source project and is not affiliated with marktguru Deutschland GmbH or its affiliates. marktguru is a product or trademark of marktguru Deutschland GmbH or its affiliates. The name is used only to describe compatibility. The API used is not public: the login command reads API keys from the marktguru website, and both may change at any time. Use at your own risk and in accordance with the marktguru terms of use.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.udondan/marktguru

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Frame 2085668439 (1)
Group 1261154229