marktplaats-mcp

mcp
Guvenlik Denetimi
Uyari
Health Uyari
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Gecti
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

MCP server for Marktplaats.nl: search, monitor and send messages or biddings on Dutch/Belgian listings from any AI agent

README.md
marktplaats-mcp: an AI assistant browsing second-hand finds on Marktplaats and 2dehands

Marktplaats & 2dehands MCP server

Let your AI assistant search, watch and bid on Marktplaats.nl and 2dehands.be.

Find listings, vet sellers, check what a fair price is and catch new ads, from Claude, ChatGPT,

Cursor or any MCP client. Log in with your own account to answer messages and place bids. No API key.

PyPI
Downloads
CI
Live API canary
MCP Registry
License: MIT

Install in Cursor
Install in VS Code
Install in LM Studio
Claude Code

Install · Try asking · Tools · Your account · Safety · FAQ

English · Nederlands · Français

Install

There are two ways to run it. Pick the one your client supports.

Hosted: paste a URL Local: uvx marktplaats-mcp
Setup Nothing to install One command, needs uv
Tools Search, listing details, seller checks, prices, new-ad alerts All of that, plus your messages, favorites, bids and ads
Clients claude.ai, ChatGPT, Le Chat, Perplexity, Gemini app Claude Code, Claude Desktop, Cursor, VS Code, Codex, Gemini CLI and more

Hosted URL: https://marktplaats-mcp.jaspnerd.dev/mcp

For a local install, get uv first: brew install uv on macOS, winget install --id=astral-sh.uv -e on Windows, or the one-line installer.

Claude Code
claude mcp add --scope user marktplaats -- uvx marktplaats-mcp

Check with claude mcp list. The first start can take a minute while uvx downloads the package.

claude.ai and Claude Desktop

Hosted (all plans, including Free and mobile): open Settings → Connectors → Add custom connector, name it Marktplaats and paste https://marktplaats-mcp.jaspnerd.dev/mcp. No sign-in needed.

Local, with your own account (Claude Desktop): open Settings → Developer → Edit Config and add the server to claude_desktop_config.json, then quit and reopen Claude:

{
  "mcpServers": {
    "marktplaats": { "command": "uvx", "args": ["marktplaats-mcp"] }
  }
}

If Claude cannot find uvx, use its full path (which uvx).

ChatGPT

ChatGPT connects to hosted servers only (Plus, Pro, Business, Enterprise and Edu).

  1. Settings → Security and login: turn on Developer mode.
  2. On chatgpt.com/plugins click +, paste https://marktplaats-mcp.jaspnerd.dev/mcp, choose No authentication and click Create.
  3. In a new chat click + → Developer mode and tick Marktplaats.
Cursor

Click Install in Cursor, or add this to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "marktplaats": { "command": "uvx", "args": ["marktplaats-mcp"] }
  }
}
VS Code and GitHub Copilot

Click Install in VS Code (or Insiders), or run:

code --add-mcp '{"name":"marktplaats","command":"uvx","args":["marktplaats-mcp"]}'

Then use the tools in Copilot Chat in Agent mode.

Codex (CLI, IDE extension and ChatGPT desktop app)
codex mcp add marktplaats -- uvx marktplaats-mcp
Gemini CLI
gemini mcp add -s user marktplaats uvx marktplaats-mcp
Any other client

Most clients take the standard config:

{
  "mcpServers": {
    "marktplaats": { "command": "uvx", "args": ["marktplaats-mcp"] }
  }
}

Clients that accept a remote server can use https://marktplaats-mcp.jaspnerd.dev/mcp instead.

Step-by-step guides for 40 clients (Windsurf, Cline, JetBrains, Zed, opencode, Goose, Le Chat, Perplexity and more), with config paths per OS and fixes for common problems: docs/clients.md.

Try asking

Example: an AI assistant searches Marktplaats for a racefiets, checks the sellers and compares prices
An example conversation.

You ask Your assistant
"Find a racefiets under €500 within 25 km of 1011 AB, frame 57-61 cm" searches with the frame-size filter and a distance from your postcode
"Is €450 a fair price for an iPhone 15 128 GB in good condition?" compares the median, quartiles and cheapest asking prices
"Find a used Golf, 2018-2022, under 100,000 km, petrol, from a private seller" looks up the car filters, then searches with them
"Is this seller trustworthy? What else are they selling?" checks verifications, reviews and the seller's other ads
"Tell me when new bakfiets ads appear near Antwerp" polls 2dehands for ads placed since the last check
"Ask the seller if it's still available and offer €120" shows you the message first, sends it after you confirm

Tools

No account needed (also on the hosted server):

Tool What it does
search_listings Search by keyword, category, brand, size and other category filters, price, condition, delivery, distance from a postcode and age of the ad
get_listing_details The full ad: description, attributes, status, views, bids and minimum bid, shipping, photos, seller response rate. Accepts a pasted URL
get_seller_profile Trust signals: verified bank account, ID and phone, business status, reviews
list_seller_listings Everything one seller has on offer, to spot dealers and duplicate ads
analyze_prices Median, quartiles, min and max asking price for a search, plus the cheapest matches
check_new_listings Only the ads placed since your last check, newest first; never skips one
list_categories, list_category_filters The category tree, and the filters each category supports with their valid values

With your own account (local server, after marktplaats-mcp login):

Tool What it does
get_my_account Session check, unread messages and notifications
list_conversations, get_conversation Your inbox and full message threads
list_my_listings, list_favorites, list_my_bids, list_saved_searches Your ads with views and bids, your favorites, bids and saved searches
send_message, contact_seller ✋ Reply in a thread, or ask a seller a question or make an offer
place_bid ✋ Place a bid (binding on Marktplaats); refuses bids below the minimum
set_favorite, extend_my_listing Save or unsave a listing; renew one of your ads

✋ Shows a preview first and only acts after you confirm. Every tool works on 2dehands with site="2dehands". Two ready-made prompts, bargain_hunt and vet_listing, cover the common workflows.

Use your own account

Marktplaats has no public API and logs in with SMS codes, so this server never asks for your password. It copies the session from a browser where you are already logged in:

uvx --from 'marktplaats-mcp[login]' marktplaats-mcp login

Restart your MCP client and the account tools appear. The session stays on your machine, in ~/.config/marktplaats-mcp/session.json, readable by you only. Sessions last weeks; when one expires the tools tell you to log in again.

marktplaats-mcp login --site 2dehands  # your 2dehands.be session (or --site both)
marktplaats-mcp login --read-only      # never send, bid or change favorites
marktplaats-mcp login --window         # log in in a new browser window instead
marktplaats-mcp login --paste          # paste a Cookie header from DevTools instead
marktplaats-mcp status                 # is the stored session still valid?
marktplaats-mcp logout                 # delete it
Login says it could not read your browser's cookies
  • macOS blocks command-line tools from reading browser data without asking. Once, open System Settings → Privacy & Security → Full Disk Access, add your terminal app (Terminal, iTerm, Warp or VS Code), quit and reopen it, and run the login again.
  • Windows: Chrome and Edge lock their cookie file while they run. The tool copies it first, so this normally works; if not, close the browser and try again, or use --paste.
  • Linux: Chromium browsers keep the cookie key in your keyring (GNOME Keyring or KWallet), which must be unlocked; Firefox needs nothing. For Snap or Flatpak browsers, use --paste.
  • Anywhere: marktplaats-mcp login --paste needs no permissions. On marktplaats.nl press F12 → Network, click any request, copy the Cookie request header and paste it.

You can also set MARKTPLAATS_COOKIE or TWEEDEHANDS_COOKIE (the Cookie request header) in your client's config. All settings: docs/configuration.md.

Safety

  • No account by default. Searching, listing details, seller checks, prices and new-ad alerts need no login.
  • Your session stays yours. It is read from your browser or a file only you can read, sent only to marktplaats.nl and 2dehands.be, and never logged. The hosted server has no account tools at all.
  • Nothing is sent without you. Messages, offers and bids show a preview and need your confirmation. login --read-only or MARKTPLAATS_READ_ONLY=1 turns all writing off, and every confirmed action is logged locally.
  • Listings are treated as data. Ad texts and messages are written by strangers; the server tells the model never to follow instructions in them.
  • Polite to the sites. Requests are spaced out and retried with backoff, and search results are cached for a minute. No placing ads (Marktplaats' terms forbid automating that), no affiliate links, no tracking.

FAQ

Is this an official Marktplaats product?

No. It is an independent open source project with no ties to Marktplaats, 2dehands or Adevinta. It uses the same public JSON endpoints the websites use. They are undocumented and can change, so a live canary tests them every day.

Do I need an account or API key?

No. Only the account tools need a login, and they use your existing browser session instead of a password.

Does it work for Belgium?

Yes. Every tool takes site="2dehands", and language="nl" or "fr" narrows Belgian results to one language.

Why do I get fewer results than I asked for?

Paid promotions (Dagtopper, Topadvertentie) are filtered out by default; pass include_sponsored=true to keep them. total_count is the site's own count, before that filter.

Which Python versions are supported?

3.10 and newer. uvx downloads a suitable Python for you if needed.

More

Contributing

PRs are welcome: see CONTRIBUTING.md. In short: uv sync --all-groups, then uv run pytest. Planned next: searching Marktplaats and 2dehands in one call, creating saved searches, and a Claude Desktop extension (MCPB).

Built on ideas from marktplaats-py, marktplaats-monitor, marktplaats-2dehands-mcp and PonClick/marktplaats-mcp (notices). If it saved you a trip to Marktplaats, a star helps others find it.


MIT © 2026 jasp-nerd. Unofficial; not affiliated with Marktplaats, 2dehands or Adevinta.

mcp-name: io.github.jasp-nerd/marktplaats-mcp

Yorumlar (0)

Sonuc bulunamadi