geizhals-mcp

geizhals-mcp

Enables AI to search Geizhals price-comparison data, including products, best prices, price history, ratings, categories, and deals.

Category
Visit Server

README

<h1 align="center">geizhals-mcp</h1>

An MCP server that lets an AI search Geizhals price comparison data: products, best prices, price history, ratings and categories. It wraps the Geizhals mobile app's API (api.geizhals.net/gh/v9) and returns the important fields to the AI.

<p align="center"> <a href="https://geizhals.at/"><img alt="Products tracked" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2FSamxel%2Fgeizhals-mcp%2Fmain%2Fcoverage.json&query=%24.products&label=products&color=green&suffix=%20tracked&cacheSeconds=3600"></a> <a href="https://geizhals.at/"><img alt="Prices compared" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2FSamxel%2Fgeizhals-mcp%2Fmain%2Fcoverage.json&query=%24.prices&label=prices&color=ff7300&suffix=%20compared&cacheSeconds=3600"></a> <a href="https://geizhals.at/"><img alt="Merchants" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2FSamxel%2Fgeizhals-mcp%2Fmain%2Fcoverage.json&query=%24.merchants&label=merchants&color=1e6fff&suffix=%20shops&cacheSeconds=3600"></a> </p>

Highlights

  • Best price across every shop
    Find a product and get its best price, full price range, star ratings and test-review count, aggregated over all Geizhals merchants instead of a single listing.

  • Know when to buy
    Pull the full price history and the current price drops (Schnäppchen), sortable by biggest percent off, so a model can answer "is this cheap right now or should I wait".

  • From keyword to category
    Search by free text or browse the complete Geizhals category tree (2200+ categories shipped with the server) to drill into exactly the right segment, then compare a shortlist side by side.

Tools

search_geizhals(query, ...)

Search products by keyword. Filters for country (loc/hloc), category and manufacturer, plus sorting and paging. Returns the hits and facet aggregates (categories, manufacturers, price range) to refine with.

get_product(product_id)

Full detail of one product: name, rating, best-price range, images, offer link and how many test reviews it has.

get_price_history(product_id, days=31)

The min/max/current summary plus the raw [timestamp, price, flag] series.

get_product_ratings(product_id)

Average rating, totals, per-star counts and the reviews link.

browse_category(category, ...)

List the products in a category by its code, with price range and sorting.

compare_products(product_ids)

Compare several products side by side.

get_deals(sort="percent", ...)

Current price drops: products whose best price just fell, with the percent and amount off. Sort by biggest percent drop, price, latest, popularity or top deals, and filter with min_discount_percent.

list_categories(query)

Browse Geizhals' category tree to find the category codes browse_category takes. The full tree ships with the server in data/categories.json.

Setup

Requires Python 3.9+.

pip install -r requirements.txt

Run

python main.py

The server starts over streamable HTTP and prints where it's listening:

Starting geizhals-mcp server on http://127.0.0.1:8000/mcp

Point your MCP client at that URL. Host, port and path live at the top of main.py.

Use it from Claude Desktop

Claude Desktop launches MCP servers over stdio, so bridge to this HTTP server with mcp-remote (needs Node.js):

  1. Start the server (python main.py) and leave it running.

  2. In Claude Desktop open Settings > Developer > Edit Config; that reveals claude_desktop_config.json. Open it and add the geizhals entry:

    {
      "mcpServers": {
        "geizhals": {
          "command": "cmd",
          "args": ["/c", "npx", "-y", "mcp-remote", "http://127.0.0.1:8000/mcp"]
        }
      }
    }
    

    On macOS/Linux drop the Windows wrapper: use "command": "npx" with "args": ["-y", "mcp-remote", "http://127.0.0.1:8000/mcp"].

  3. Save the file and restart Claude Desktop.

Notes

  • data/categories.json is a snapshot of Geizhals' category tree (title, id, children). main.py loads it for list_categories.
  • coverage.json holds the catalogue counts shown in the badges above. scripts/update_coverage.py refreshes it from the Geizhals homepage and a daily GitHub Action commits any change.
  • API details are documented in search_api.md.
  • This uses Geizhals' internal mobile API, not an official one. Be nice to it.

Troubleshooting

403 invalid request_fingerprint in payload — the HMAC secret or signing scheme in main.py (GH_HMAC_SECRET, request_fingerprint, API_HOST) no longer matches what the live Geizhals app sends. This is reverse-engineered from the app and hardcoded, so it can drift whenever Geizhals rotates the secret or changes the fingerprint scheme.

Disclaimer

This is an independent, unofficial project and is not affiliated with, endorsed by, or connected to Geizhals. "Geizhals" and all related trademarks belong to their respective owners.

It's published for educational and research purposes only. It talks to Geizhals' internal API, which is not meant for public use and may break or change at any time. You are responsible for how you use it: respect Geizhals' Terms of Service, robots rules and applicable law, and don't hammer their servers.

License

MIT LICENSE. Provided "as is", without warranty.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured