MCP server for Marktplaats.nl: search, monitor and send messages or biddings on Dutch/Belgian listings from any AI agent
English | Nederlands | Français
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
marktplaats-mcp: the Marktplaats & 2dehands MCP server
**marktplaats-mcp** is an MCP server for **Marktplaats.nl** (Netherlands) and **2dehands.be** (Belgium), the Dutch and Belgian second-hand classifieds (*tweedehands*, *petites annonces d'occasion*). Search listings, filter on category attributes, vet sellers, compare prices and watch for new ads from Claude, ChatGPT, Cursor, Codex, Gemini or any other MCP client. With your own login it also reads and sends messages, places bids and manages your favorites and ads. No API key.
🚀 Get started
**No install: paste a URL.** The hosted, read-only server runs at https://marktplaats-mcp.jaspnerd.dev/mcp. Add it as a custom connector in claude.ai (Settings → Connectors, works on the Free plan and mobile), ChatGPT, Mistral Le Chat, Perplexity or the Gemini app.
**Claude Code: one command.**
**Any other client.** Install uv (brew install uv, or winget install --id=astral-sh.uv -e on Windows), then add the standard MCP config:
One click:
Step-by-step instructions for 40 clients (Cursor, VS Code, Codex, Gemini CLI, Cline, Windsurf, JetBrains, Zed, opencode, Goose, ...), with the config path per OS and a link to each client's official guide: **docs/clients.md**.
Then ask: *"Find a racefiets under €500 within 25 km of 1011 AB, frame 57-61 cm, and tell me if the sellers look legit."*
👤 Use your own account (messages, favorites, bids, your ads)
Marktplaats has no public API and its login uses SMS two-factor authentication, so this server never asks for your password. It copies the session from a browser you are already logged into:
The session is stored in ~/.config/marktplaats-mcp/session.json, readable by your user only. Restart your MCP client and the account tools appear.
If login says it could not read your browser's cookies
- **macOS**: the system blocks command-line tools from reading browser data and does not ask. Once, open System Settings → Privacy & Security → **Full Disk Access**, add the terminal app you use (Terminal, iTerm, Warp, or VS Code), then quit and reopen it. Then run the login command again.
- **Windows**: Chrome and Edge lock their cookie file while they run; the tool copies it first, so this normally just works. If it doesn't, close the browser and run the login again, or use --paste.
- **Linux**: Chromium browsers store the cookie key in your keyring (GNOME Keyring or KWallet), which must be unlocked; Firefox needs nothing. Snap or Flatpak browsers keep their profile elsewhere, so use --paste there.
- Everywhere: marktplaats-mcp login --paste never needs permissions. In your browser on marktplaats.nl press F12 → Network, click any request, copy the Cookie request header and paste it.
Or set MARKTPLAATS_COOKIE / TWEEDEHANDS_COOKIE (the request Cookie header) in your client's config. Sessions last weeks; when one expires the tools tell you to log in again.
Sending, contacting a seller and bidding return a preview first and only act when called again with confirm=true. Bids are binding on Marktplaats; the tool refuses bids below the minimum. Automated ad placement is forbidden by Marktplaats' terms and deliberately not implemented. See Safety model.
🧰 Tools
| Tool | What it does | Account | Writes |
|---|---|:---:|:---:|
| search_listings | Search with query, category, subcategory, **category-specific attributes**, price range, condition, delivery (pickup/shipping), distance from a postcode, recency, negative keywords, sorting and pagination | | |
| get_listing_details | Full ad: description, attributes, status (active/closed), exact listing time, view and favorite counts, bidding state and minimum bid, shipping, images, seller response rate and account age. Accepts pasted URLs | | |
| get_seller_profile | Trust signals: verified bank account, identity, phone, business verification, payment method, review score and count, lowest bid the seller accepts | | |