willhaben-mcp

willhaben-mcp

Enables AI assistants to search willhaben.at marketplace listings and retrieve full ad details, using filters for category, condition, size, color, pattern, brand, and more.

Category
Visit Server

README

willhaben-mcp

An MCP server that lets an AI search willhaben.at marketplace listings and pull the full details of ads. It wraps willhaben's reverse-engineered mobile-app API and returns the important fields to the AI.

Tools

search_willhaben(keyword, ...)

Search the marketplace. keyword is optional if you pass a category.

Filters:

  • category (id or name)
  • condition (new, used, refurbished, ...)
  • clothing_size and shoe_size
  • color, pattern
  • brand
  • region, seller type, price range, PayLivery, last 48h
  • sorting and pagination

Returns a trimmed list of hits.

get_ad_detail(ad_id)

Everything about one ad: the full (untruncated) description, all images, itemised attributes, category path and precise location. Run it on an id you got from a search.

list_categories(query, parent_id)

Find category ids for the category filter.

  • query: search the whole tree by name
  • parent_id: browse one level down (omit both for the top-level categories)

The full tree (~3500 categories) ships with the server in category-tree.json.

search_brands(category, term)

Brands are category-specific and there are 1000+ per category, so this is a type-ahead. Pass a category and a search term to get matching brand ids, then hand an id to search_willhaben(brand=...).

Note: condition, sizes, color, pattern and brand are category-dependent. Applying them in a broad category can return zero hits, so drill into a specific subcategory first.

Setup

pip install -r requirements.txt

Run

python main.py

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

Starting willhaben-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.

Notes

  • The detail API is gated by a static app token and only speaks HTTP/2. Both are handled in main.py. If willhaben rotates the token, grab a fresh one from the app's request headers and replace WH_APPLICATION_TOKEN.
  • category-tree.json is a generated snapshot of willhaben's marketplace category tree (id, label, parentId, children). main.py loads it at startup for the category filter and list_categories. Re-crawl it if the taxonomy changes.
  • API details are documented in search_api.md.
  • This uses willhaben's internal API, not an official one. Be nice to it.

Disclaimer

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

It's published for educational and research purposes only. It talks to willhaben's 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 willhaben's Terms of Service, robots rules and applicable law, and don't hammer their servers or process personal data from listings. No warranty of any kind; use at your own risk.

If you're a rights holder and have a concern about this repository, please open an issue and I'll respond promptly.

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
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
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
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