marktplaats-mcp
Enables AI agents to search and monitor Dutch and Belgian classifieds (Marktplaats and 2dehands) for listings, seller profiles, and categories.
README
<p align="center"> <img src="https://raw.githubusercontent.com/jasp-nerd/marktplaats-mcp/main/assets/banner.svg" alt="marktplaats-mcp: search Marktplaats and 2dehands from any AI agent" width="760"> </p>
<p align="center"> <b>English</b> | <a href="https://github.com/jasp-nerd/marktplaats-mcp/blob/main/README.nl.md">Nederlands</a> | <a href="https://github.com/jasp-nerd/marktplaats-mcp/blob/main/README.fr.md">FranΓ§ais</a> </p>
marktplaats-mcp
marktplaats-mcp is an MCP server that lets Claude, Cursor, Codex, opencode and every other MCP client search Marktplaats and 2dehands, the Dutch and Belgian second-hand classifieds. Find bargains, vet sellers, browse categories and monitor new listings in plain language.
β¨ Features
- π Powerful search: free text, categories, price range, condition, distance from a postal code, recency, sorting
- π³π±π§πͺ Two marketplaces, one server: marktplaats.nl (Netherlands) and 2dehands.be (Belgium) via a
siteparameter - π Full listing details: complete description, all photos, view and favorite counts, listing age
- π‘οΈ Seller vetting: verified bank account, identity and phone, review score
- π New-listing monitoring: poll for ads placed after a timestamp with a stateless cursor
- π§ Built for LLMs: compact token-efficient output, paid promotions filtered out, structured results, pagination hints
- π Resilient: retries with exponential backoff, jitter and
Retry-Afterhandling - π No account, no API key
π Quickstart
The only prerequisite is uv (brew install uv or curl -LsSf https://astral.sh/uv/install.sh | sh).
Claude Code, one command:
claude mcp add marktplaats -- uvx marktplaats-mcp
Then ask: "Search Marktplaats for an OLED TV under β¬400 near 3011 AB."
<p align="center"> <img src="https://raw.githubusercontent.com/jasp-nerd/marktplaats-mcp/main/assets/demo.gif" alt="Claude Code searching Marktplaats for a used racefiets via marktplaats-mcp" width="860"> </p>
π¦ Install in your favorite client
Every config runs the same stdio server via uvx marktplaats-mcp.
<details> <summary><b>Claude Desktop</b></summary>
Add to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\), then fully restart Claude Desktop:
{
"mcpServers": {
"marktplaats": {
"command": "uvx",
"args": ["marktplaats-mcp"]
}
}
}
If Claude Desktop can't find uvx, use the absolute path (which uvx, e.g. /Users/you/.local/bin/uvx).
</details>
<details> <summary><b>OpenAI Codex CLI</b></summary>
Add to ~/.codex/config.toml:
[mcp_servers.marktplaats]
command = "uvx"
args = ["marktplaats-mcp"]
Or: codex mcp add marktplaats -- uvx marktplaats-mcp
</details>
<details> <summary><b>opencode</b></summary>
Add to opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"marktplaats": {
"type": "local",
"command": ["uvx", "marktplaats-mcp"],
"enabled": true
}
}
}
</details>
<details> <summary><b>Cursor</b></summary>
Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):
{
"mcpServers": {
"marktplaats": {
"command": "uvx",
"args": ["marktplaats-mcp"]
}
}
}
</details>
<details> <summary><b>VS Code / GitHub Copilot</b></summary>
Add to .vscode/mcp.json (note the servers key and explicit type):
{
"servers": {
"marktplaats": {
"type": "stdio",
"command": "uvx",
"args": ["marktplaats-mcp"]
}
}
}
</details>
<details> <summary><b>Windsurf</b></summary>
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"marktplaats": {
"command": "uvx",
"args": ["marktplaats-mcp"]
}
}
}
</details>
<details> <summary><b>Gemini CLI</b></summary>
Add to ~/.gemini/settings.json:
{
"mcpServers": {
"marktplaats": {
"command": "uvx",
"args": ["marktplaats-mcp"]
}
}
}
</details>
<details> <summary><b>JetBrains IDEs (AI Assistant / Junie)</b></summary>
Settings β Tools β AI Assistant β Model Context Protocol (MCP) β Add:
{
"mcpServers": {
"marktplaats": {
"command": "uvx",
"args": ["marktplaats-mcp"]
}
}
}
</details>
π§° Tools
| Tool | What it does |
|---|---|
search_listings |
Search with query, category, price range, condition, distance, recency, sorting and pagination |
get_listing_details |
Full ad: complete description, all images, view and favorite counts, listing age |
get_seller_profile |
Trust signals: verified bank, identity and phone, review score and count |
list_categories |
Browse the category tree (names + ids) used for filtering |
check_new_listings |
Newest-first monitoring with a stateless cursor: returns only ads placed after since |
All five tools are read-only and carry the matching MCP annotations, so clients skip the confirmation prompts.
Example prompts
- "Find a second-hand iPhone 15 under β¬600 in as-good-as-new condition, sorted by price."
- "Search 2dehands for a bakfiets within 20 km of postcode 2000 Antwerpen."
- "Is seller 12345 trustworthy? Check their profile."
- "Check for new 'vintage lamp' listings since my last check and summarize the interesting ones."
β FAQ
Does this need a Marktplaats account or API key? No. It uses the same public JSON endpoints the website itself uses.
Is this an official Marktplaats product? No. This is an independent open source project with no ties to Marktplaats or Adevinta. The underlying API is undocumented and may change. The server backs off politely on rate limits; keep your own usage reasonable.
Why do I sometimes see fewer results than the limit?
Paid promotions (DAGTOPPER/TOPADVERTENTIE) are filtered out by default. Pass include_sponsored=true if you want them.
Which Python versions are supported? 3.10 and up. CI tests 3.11 through 3.13 on Linux, macOS and Windows.
πΊοΈ Roadmap
- Persistent saved searches with price-drop detection
- Notifications (Discord/Telegram/ntfy via Apprise)
- Authenticated tools (your messages, favorites and bids)
- Docker image + Docker MCP Catalog
π€ Contributing
PRs welcome. See CONTRIBUTING.md for the dev setup: uv sync --all-groups, then uv run pytest.
This project reuses proven ideas from marktplaats-py, marktplaats-monitor, marktplaats-2dehands-mcp and PonClick/marktplaats-mcp. Details in THIRD_PARTY_NOTICES.md.
π License
MIT Β© 2026 jasp-nerd
<sub>mcp-name: io.github.jasp-nerd/marktplaats-mcp</sub>
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.