# Connect Claude to Leboncoin Data — OpenScraper

*HTML page: https://openscraper.ai/claude-leboncoin · Agent index: https://openscraper.ai/llms.txt*

> On its own, Claude can't read leboncoin.fr (the site is protected by DataDome). Add OpenScraper's MCP server, `https://mcp.openscraper.ai/mcp`, and Claude collects Leboncoin listings on request, in plain English and with no code, even by the thousands, delivered as an Excel or CSV file. From $0.79 per 1,000 listings (with a subscription; $0.93 without), $5 free at sign-up.

## How it works

1. You ask Claude, for example: “Get the latest 3,000 flats for sale in Bordeaux and put them in an Excel file.”
2. Claude runs the extraction: our servers collect the listings from leboncoin.fr, even by the thousands (about 3,500 per search; beyond that, Claude splits the search).
3. You get the file: price, size, rooms, city… in an Excel or CSV file (download link valid 24 hours), ready to load into your database. With Claude Code, the import can happen directly.

## Connect Claude to Leboncoin

MCP server URL: `https://mcp.openscraper.ai/mcp`

### claude.ai and the Claude app (easiest)

1. Open **Settings → Connectors**.
2. Click **“Add custom connector”**, name it “OpenScraper” and paste the URL `https://mcp.openscraper.ai/mcp`.
3. Click **“Connect”** and sign in with your OpenScraper account.

The connector also works in the Claude Desktop app and on mobile.

### Claude Code

Copy your API key (`sk_live_…`) from the dashboard, then:

```bash
claude mcp add --transport http openscraper https://mcp.openscraper.ai/mcp \
  -H "Authorization: Bearer sk_live_..."
```

### Claude Desktop, with an API key

Requires Node.js. In **Settings → Developer → Edit Config**, add this block, then restart Claude:

```json
{
  "mcpServers": {
    "openscraper": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.openscraper.ai/mcp",
               "--header", "Authorization:${OPENSCRAPER_AUTH}"],
      "env": { "OPENSCRAPER_AUTH": "Bearer sk_live_..." }
    }
  }
}
```

## Example requests

- “Get every house for sale in Gironde under €400,000 and give me an Excel file with the price per m².”
- “Scrape the latest 2,000 apartment rentals in Lyon and import them into my database.”
- “Get the latest 500 diesel Peugeot 208s under €10,000 in Île-de-France, as a CSV.”

## Pricing

The connector is free: you only pay for the listings collected.

| Plan | Price |
| --- | --- |
| Pay as you go | $0.93 / 1,000 listings |
| Super User subscription (-15%, from $70/month in credits) | $0.79 / 1,000 listings |

$5 free at sign-up, over 5,000 listings. An extraction of 3,000 listings costs about $2.79. Full plans: <https://openscraper.ai/pricing.md>.

## FAQ

**Can Claude access Leboncoin on its own?** No. leboncoin.fr is protected by DataDome, which blocks bots. With our MCP server, Claude goes through OpenScraper's infrastructure, which handles the anti-bot and returns the listings as structured data.

**Can I get thousands of listings?** Yes. The scraping runs on our servers. One Leboncoin search goes up to about 3,500 listings; beyond that, Claude splits the search (by department, by price range…). It then gives you a link to an Excel or CSV file with every listing (valid 24 hours). With Claude Code, it can also import them straight into your database.

**Do I need to code?** No. On claude.ai, you just paste a URL and sign in.

**Does Claude get access to my Leboncoin account?** No. Only public listings are read; you only sign in to your OpenScraper account.

To use the listings without Claude: <https://openscraper.ai/leboncoin-api.md>.
