Awesome-omni-skill marktguru-grocery-deals
Look up grocery deals and offers via Marktguru CLI/API. Use when user asks about supermarket discounts, product prices, current promotions, or comparing deals across Austrian retailers (Hofer, Billa, Spar, Lidl, etc.).
install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/development/marktguru-grocery-deals" ~/.claude/skills/diegosouzapw-awesome-omni-skill-marktguru-grocery-deals && rm -rf "$T"
manifest:
skills/development/marktguru-grocery-deals/SKILL.mdsource content
Marktguru Grocery Deals
Query Austrian grocery deals from Marktguru. Supports raw queries, structured search building, retailer filtering, and ZIP-code location targeting.
Quick Reference
| Command | Purpose |
|---|---|
| Search with raw query string |
| Build query from structured flags |
| Show supported query syntax |
| Set default ZIP code |
| Show current configuration |
| Extract API key from marktguru.at |
Setup
Login (HTTP scan)
npx marktguru-cli login
Scans site HTML and boot scripts for embedded API keys. No browser automation required.
Set Default ZIP Code
npx marktguru-cli set-zip 1010 npx marktguru-cli set-zip 8010 # Graz
Check Config
npx marktguru-cli config npx marktguru-cli config --json
Search Commands
Raw Query Search
npx marktguru-cli search raw "Milch" npx marktguru-cli search raw "Milch" --limit 5 npx marktguru-cli search raw "Bier" --retailer HOFER npx marktguru-cli search raw "Brot" --zip 8010 npx marktguru-cli search raw "Cola" --json
Common Options
| Flag | Description | Default |
|---|---|---|
/ | Number of results | 10 |
/ | Filter by retailer (e.g., SPAR, BILLA, HOFER) | all |
/ | ZIP code for location-based results | config default |
/ | Output JSON | false |
Structured Builder
Build queries from flags instead of raw strings:
npx marktguru-cli search build --term butter --explain npx marktguru-cli search build --or butter --or margarine --explain npx marktguru-cli search build --phrase "frische milch" --limit 5 npx marktguru-cli search build --wildcard "jogh*" --retailer SPAR
| Flag | Description |
|---|---|
| Add a search term |
| Add exact phrase (quoted) |
| Add wildcard term (e.g., ) |
| Add term to OR group (repeat for multiple) |
| Add raw parenthesized group |
| Print the built query to stderr |
Query Syntax
Supported:
— boolean OR:ORMilch OR Sahne
— wildcard:*
(matches Joghurt, Joghurtdrink, etc.)Jogh*
— exact phrase:"...""frische Milch"
— grouping:()(Milch OR Sahne) Bio
NOT supported:
AND, NOT, ~, ^
Examples
# Simple term npx marktguru-cli search raw "Butter" # OR logic npx marktguru-cli search raw "Käse OR Schinken" # Wildcard npx marktguru-cli search raw "Bio*" # Combined with retailer filter npx marktguru-cli search raw "Bier" --retailer HOFER --limit 10 # Exact phrase npx marktguru-cli search raw '"Coca Cola"'
Known Retailers
| Retailer | Notes |
|---|---|
| SPAR | |
| INTERSPAR | Larger SPAR format |
| SPAR-Gourmet | Premium SPAR |
| BILLA | |
| BILLA PLUS | Larger BILLA format |
| HOFER | Austrian Aldi |
| Lidl | |
| PENNY | |
| dm drogerie markt | Drugstore (some food items) |
| BIPA | Drugstore |
JSON Output
npx marktguru-cli search raw "Cola" --limit 3 --json
{ "query": "Cola", "total": 23, "offers": [ { "title": "Coca-Cola - Cola - oder Fanta 1,5l", "price": 1.49, "retailer": "Sizin Foods GmbH", "expires": "2026-02-11", "discountPercent": null }, { "title": "Coca-Cola - Cola - Zero / Fanta / Sprite Dose 330ml", "price": 0.6, "retailer": "Sizin Foods GmbH", "expires": "2026-02-11", "discountPercent": null }, { "title": "Coca-Cola - Cola - div. Sorten 0,33 Liter", "price": 0.67, "retailer": "BILLA", "expires": "2026-02-11", "discountPercent": 50, "externalUrl": "https://shop.billa.at/produkte/..." } ] }
| Field | Description |
|---|---|
| Product name and brand |
| Current offer price (EUR) |
| Store name |
| Offer expiration date (YYYY-MM-DD) |
| Discount percentage (null if not on sale) |
| Direct link to retailer (optional) |
Human-Readable Output
Found 147 offers for "Milch": Premium Bergbauern H-Milch [Salzburg Milch] 💰 €0.99 (was €1.59) -38% · €0.99/l 📦 3,5% Fett oder 0,5% Fett aus Österreich, 1 Liter 🏪 SPAR · 20 days left 📍 Retailers: Lidl (33), SPAR (30), PENNY (17), INTERSPAR (16), BILLA PLUS (11)
Config
Credentials and settings stored at
~/.marktguru/config.json.
npx marktguru-cli config --json
{ "apiKey": "pCcm1AVCYa...", "apiKeySet": true, "zipCode": "1010", "configPath": "/Users/.../.marktguru/config.json" }
Troubleshooting
| Issue | Solution |
|---|---|
| Login fails | Site structure may have changed. Re-run or check for CLI updates. |
| No results | Try broader terms, wildcards (), or alternative spellings. |
| Wrong location | Set ZIP code with or use flag. |
| API key expired | Re-run to refresh. |
Usage Tips
- Compare prices: Use
output to programmatically compare across retailers--json - Find best deals: Look for high
valuesdiscountPercent - Check availability: Use
with local ZIP code for accurate results--zip - Wildcards for variants: Use
to catch Joghurt, Joghurtdrink, etc.Jogh* - OR for alternatives:
to compare substitutesButter OR Margarine