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.
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_sizeandshoe_sizecolor,patternbrand- 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 nameparent_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 replaceWH_APPLICATION_TOKEN. category-tree.jsonis a generated snapshot of willhaben's marketplace category tree (id, label, parentId, children).main.pyloads it at startup for thecategoryfilter andlist_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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。