Skip to main content
Glama
marktplaats-mcp

marktplaats-mcp

by jasp-nerd

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

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

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

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

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 mcp add marktplaats -- uvx marktplaats-mcp
gemini mcp add -s user marktplaats uvx marktplaats-mcp

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.

Related MCP server: marktplaats-mcp

Try asking

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

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.

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

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

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.

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

Available Tools

8 tools
analyze_pricesAnalyze pricesA
Read-onlyIdempotent
Inspect

Price statistics (min, quartiles, median, max, mean) over the most relevant asking prices for a search, plus the cheapest matches. Free, bidding-only and reserved ads are excluded and outliers beyond 1.5x the interquartile range are trimmed. Most reliable with a subcategory plus attributes (e.g. subcategory 'Mobiele telefoons | Apple iPhone', attributes {'Model': 'iPhone 15', 'Opslagcapaciteit': '128 GB'}) instead of free text, which drags in accessories.

Inputs: query (required), site, exclude, category, +10 more. Returns: max, min, p25, p75, +9 more

check_new_listingsCheck new listingsA
Read-onlyIdempotent
Inspect

Poll for listings placed after a given moment (newest first, paid promotions filtered out). Stateless: store the returned 'cursor' and pass it as 'since' on the next call. When the result is truncated the cursor only advances to the oldest ad returned, so nothing is ever skipped.

Inputs: site, limit, query, since, +11 more. Returns: note, site, since, cursor, +3 more

get_listing_detailsGet listing detailsA
Read-onlyIdempotent
Inspect

Fetch the full advertisement: complete description, attributes, status (active/closed), exact listing time, view and favorite counts, bidding state, shipping, images, and seller signals such as response rate and account age.

Inputs: listing_id (required), site, max_images. Returns: id, url, city, note, +23 more

get_seller_profileGet seller profileA
Read-onlyIdempotent
Inspect

Look up a seller's trust signals: verified bank account / identity / phone number, business verification, payment method, review score and count. Null means the marketplace does not report that signal. Use list_seller_listings to see everything the seller currently offers.

Inputs: seller_id (required), site. Returns: site, seller_id, average_score, payment_method, +6 more

list_categoriesList categoriesA
Read-onlyIdempotent
Inspect

Browse the category tree (shared by marktplaats.nl and 2dehands.be) to find names/ids for search_listings' category and subcategory filters.

Inputs: parent. Returns: level, parent, categories

list_category_filtersList category filtersA
Read-onlyIdempotent
Inspect

Discover the filters available for a category or search (brand, frame height, mileage, fuel, RAM, ...), with their valid values and how many ads match each. Pass the labels to search_listings' 'attributes' parameter.

Inputs: site, query, category, max_options, +1 more. Returns: note, site, query, filters, +2 more

list_seller_listingsList a seller's listingsA
Read-onlyIdempotent
Inspect

Everything one seller currently has on offer. Useful to spot dealers posing as private sellers, duplicate or suspicious ads, and bundle deals.

Inputs: seller_id (required), site, limit, query, +4 more. Returns: note, site, limit, offset, +5 more

search_listingsSearch listingsA
Read-onlyIdempotent
Inspect

Search second-hand listings on Marktplaats or 2dehands with filters for category, category-specific attributes, price range, condition, delivery, recency and distance from a postal code. Paid promotions are filtered out unless include_sponsored is set.

Inputs: site, limit, query, offset, +17 more. Returns: note, site, limit, offset, +5 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool targets a distinct concern: listing retrieval, search, seller trust, seller inventory, category browsing, filter discovery, polling, and price analysis. There is no meaningful overlap between them.

    Naming Consistency4/5

    Tool names follow a consistent verb_noun pattern (get_, search_, list_, check_, analyze_). Minor deviation: list_categories and list_category_filters are similar in prefix but clearly distinct in purpose.

    Tool Count5/5

    8 tools is well-scoped for a marketplace MCP server. Each tool covers a distinct user need without redundancy or bloat.

    Completeness4/5

    The surface covers search, detail retrieval, seller trust, category/filter discovery, polling, and price analysis. Missing operations like placing bids or posting listings are likely out of scope for a read-only research-oriented server, so the gap is minor.

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to search and retrieve listings from Sweden's largest second-hand marketplaces, Blocket and Tradera. Returns unified data including prices, images, seller information, and direct links to listings.
      9
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables AI assistants to search and retrieve classified listings from marktplaats.nl and 2dehands.be, including details, seller info, categories, and saved searches, with optional authenticated access to messages, listings, favorites, and bids.
      14
      1
      MIT