# Marktplaats & 2dehands

Marktplaats & 2dehands is a Claude Code MCP server that links your AI agent to Dutch and Belgian classifieds. It helps you search items, vet sellers, and manage trades directly in the chat.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 5 repo stars
- Author: jasp-nerd
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/jasp-nerd/marktplaats-mcp
- Updated: 2026-11-04
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/marktplaats-2dehands

## What it does

The server enables searching, filtering, and price comparison on Marktplaats.nl and 2dehands.be. You can start with read-only access by linking the provided server URL. To send messages, place bids, or manage favorites, authorize the agent using your active browser session.

The server runs via `uvx`, so ensure `uv` is installed beforehand. If the tool fails to read cookies on macOS, grant the terminal app Full Disk Access in your system settings.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Remote server: `https://marktplaats-mcp.jaspnerd.dev/mcp`
- Environment variables: `MARKTPLAATS_COOKIE`, `TWEEDEHANDS_COOKIE`, `MARKTPLAATS_READ_ONLY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http marktplaats-mcp https://marktplaats-mcp.jaspnerd.dev/mcp
```

2. **Platform CLI**
```bash
claude mcp add --env MARKTPLAATS_COOKIE=<MARKTPLAATS_COOKIE> --env TWEEDEHANDS_COOKIE=<TWEEDEHANDS_COOKIE> --env MARKTPLAATS_READ_ONLY=<MARKTPLAATS_READ_ONLY> --transport stdio marktplaats-2dehands -- uvx marktplaats-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from marktplaats-mcp <command>

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add marktplaats-2dehands --url https://marktplaats-mcp.jaspnerd.dev/mcp
```

2. **Platform CLI**
```bash
codex mcp add marktplaats-2dehands --env MARKTPLAATS_COOKIE=<MARKTPLAATS_COOKIE> --env TWEEDEHANDS_COOKIE=<TWEEDEHANDS_COOKIE> --env MARKTPLAATS_READ_ONLY=<MARKTPLAATS_READ_ONLY> -- uvx marktplaats-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from marktplaats-mcp <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "marktplaats-2dehands": {
            "url": "https://marktplaats-mcp.jaspnerd.dev/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "marktplaats-2dehands": {
            "command": "uvx",
            "args": [
                "marktplaats-mcp"
            ],
            "env": {
                "MARKTPLAATS_COOKIE": "<MARKTPLAATS_COOKIE>",
                "TWEEDEHANDS_COOKIE": "<TWEEDEHANDS_COOKIE>",
                "MARKTPLAATS_READ_ONLY": "<MARKTPLAATS_READ_ONLY>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from marktplaats-mcp <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "marktplaats-2dehands": {
            "type": "http",
            "url": "https://marktplaats-mcp.jaspnerd.dev/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "marktplaats-2dehands": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "marktplaats-mcp"
            ],
            "env": {
                "MARKTPLAATS_COOKIE": "<MARKTPLAATS_COOKIE>",
                "TWEEDEHANDS_COOKIE": "<TWEEDEHANDS_COOKIE>",
                "MARKTPLAATS_READ_ONLY": "<MARKTPLAATS_READ_ONLY>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from marktplaats-mcp <command>

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http marktplaats-2dehands https://marktplaats-mcp.jaspnerd.dev/mcp
```

2. **Platform CLI**
```bash
gemini mcp add -e MARKTPLAATS_COOKIE=<MARKTPLAATS_COOKIE> -e TWEEDEHANDS_COOKIE=<TWEEDEHANDS_COOKIE> -e MARKTPLAATS_READ_ONLY=<MARKTPLAATS_READ_ONLY> marktplaats-2dehands uvx marktplaats-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from marktplaats-mcp <command>

## When to use it
- find items on the secondary market
- vet seller credibility
- compare prices for similar listings
- automate bids and messaging

## Example prompts
- Check if this seller looks legit on Marktplaats.
- Place a bid on this 2dehands listing.

## Similar
- [Bowmark: Live Web Data & Browser Actions](https://affpapa.org/en/nevibecode/mcp/bowmark-live-web-data-browser-actions.md) — MCP server · 302 installs
- [opencli-web-automation](https://affpapa.org/en/nevibecode/skills/opencli-web-automation.md) — skill · 1500 installs
- [daily-news-report](https://affpapa.org/en/nevibecode/skills/daily-news-report.md) — skill · 1000 installs
- [browser](https://affpapa.org/en/nevibecode/skills/ruvnet-browser.md) — skill · 674 installs
- [websearch.en](https://affpapa.org/en/nevibecode/rules/websearchen.md) — rule · ★ 289 repo stars
- [browser-automation](https://affpapa.org/en/nevibecode/skills/borghei-browser-automation.md) — skill · 111 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
