Skip to content
ListingrailGet an API key

Leboncoin MCP server

Connect live Leboncoin sale and rent listings (France) to Claude, Cursor, Windsurf, VS Code, ChatGPT, Gemini CLI and 5 more MCP clients through https://listingrail.com/mcp. Source key: leboncoin. 1 credit per listing returned; list_sources is free; failed reads cost nothing.

Tools and credits for Leboncoin

Every Leboncoin call uses the same key and credit balance as the REST API. Free keys get 250 listings a month with no card.

Leboncoin MCP specification (France)
SettingValue
Remote endpointhttps://listingrail.com/mcp (streamable HTTP)
Source keyleboncoin (sale, rent)
Location inputFrench city or town by its French name as written, e.g. 'Paris', 'Lyon', 'Sarlat-la-Canéda'
FiltersminPrice, maxPrice, minBeds
list_sources0 credits — returns live Leboncoin location format and filter support
search_listings1 credit per listing returned (max 50 per call, page with next_offset up to 500)
get_listingNot enabled for Leboncoin (all 20 fields return in search_listings)
Failed or empty reads0 credits charged
Fields populated20 of 23 normalized fields

Setup for 11 MCP clients

Get a key first: 250 free listings, an email and no card. Pick your client below and replace re_your_key.

Settings → Connectors → Add custom connector
https://listingrail.com/mcp?key=re_your_key

Custom connectors take only a URL, so pass your key in the link and keep it private. If you prefer claude_desktop_config.json with a header, use the mcp-remote bridge below.

Or in claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):
{
  "mcpServers": {
    "listingrail": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://listingrail.com/mcp",
        "--header",
        "Authorization:Bearer re_your_key"
      ]
    }
  }
}

Example Leboncoin prompts

Paste either prompt into your client once connected. Below each is the exact MCP tool call your agent makes.

Search Leboncoin (rent)

Find 5 Leboncoin rentals in Lyon under 1,100 EUR. Show price, address, bedrooms and link.
{
  "name": "search_listings",
  "arguments": {
    "source": "leboncoin",
    "location": "Lyon",
    "type": "rent",
    "limit": 5,
    "filters": {
      "maxPrice": 1100
    }
  }
}

Compare Leboncoin sale listings

Pull 10 for-sale listings from Leboncoin in Lyon and rank them by price.
{
  "name": "search_listings",
  "arguments": {
    "source": "leboncoin",
    "location": "Lyon",
    "type": "sale",
    "limit": 10
  }
}

Real Leboncoin MCP answer from today

Called live on 2026-11-23 against https://listingrail.com/mcp for two Leboncoin listings in Lyon. Tool call:

{
  "name": "search_listings",
  "arguments": {
    "source": "leboncoin",
    "location": "Lyon",
    "type": "rent",
    "limit": 2
  }
}

The response returned on 2026-11-23 (coordinates, photo links and personal agent details omitted here). Cost: 2 credits.

{
  "source": "leboncoin",
  "location": "Lyon",
  "type": "rent",
  "count": 2,
  "credits_used": 2,
  "listings": [
    {
      "id": "3312064111",
      "url": "https://www.leboncoin.fr/ad/locations/3312064111",
      "source": "leboncoin",
      "title": "STUDIO tout inclus Premium - LYON 8",
      "address": null,
      "city": "Lyon",
      "region": "Rhône-Alpes",
      "postal_code": "69008",
      "country": "FR",
      "price": 886,
      "currency": "EUR",
      "price_period": "month",
      "beds": null,
      "rooms": 1,
      "baths": 1,
      "area": 20.88,
      "area_unit": "sqm",
      "property_type": "Appartement",
      "listed_at": "2026-11-18 13:00:10",
      "agent": {
        "name": null,
        "phone": null,
        "company": "LACOLOC.FR"
      }
    },
    {
      "id": "3315896578",
      "url": "https://www.leboncoin.fr/ad/locations/3315896578",
      "source": "leboncoin",
      "title": "Appartement T3 meublé à louer Lyon 8 face au tram Moulin à Vent",
      "address": null,
      "city": "Lyon",
      "region": "Rhône-Alpes",
      "postal_code": "69008",
      "country": "FR",
      "price": 1200,
      "currency": "EUR",
      "price_period": "month",
      "beds": 2,
      "rooms": 3,
      "baths": 1,
      "area": 56,
      "area_unit": "sqm",
      "property_type": "Appartement",
      "listed_at": "2026-11-22 21:23:34",
      "agent": {
        "name": null,
        "phone": null,
        "company": null
      }
    }
  ],
  "next_offset": 2
}

Fields returned for Leboncoin

20 of 23 normalized fields are populated for Leboncoin; 3 come back as null.

  • id
  • url
  • title
  • city
  • region
  • postal_code
  • country
  • lat
  • lng
  • price
  • currency
  • price_period
  • beds
  • rooms
  • baths
  • area
  • property_type
  • listed_at
  • photos
  • agent.company

Returned as null for Leboncoin: address, agent.name, agent.phone.

Questions about the Leboncoin MCP server

How do I connect Leboncoin to Claude, Cursor or Windsurf over MCP?

Point your MCP client at https://listingrail.com/mcp with your Listingrail API key in the Authorization header (or ?key= for Claude Desktop and ChatGPT connectors). Ask your client to search Leboncoin and it calls search_listings with source "leboncoin".

How many credits does a Leboncoin MCP call use?

1 credit per listing returned by search_listings. list_sources is free, and a failed or empty portal read costs 0 credits. A free key includes 250 listings a month with no card; after that a $9 one-time pack adds 2,500 listings, Lite is $10/mo for 2,500, and Starter is $49/mo for 25,000.

What location format and filters work for Leboncoin?

leboncoin: French city or town by its French name as written, e.g. 'Paris', 'Lyon', 'Sarlat-la-Canéda' Accepts minPrice, maxPrice, minBeds in the filters object.

Does Leboncoin support full listing details via get_listing?

No. Leboncoin returns 20 normalized fields directly in search_listings (id, url, title, city, region, postal_code, country, lat, and more), so get_listing is not enabled for Leboncoin.

Does Leboncoin have an official MCP server?

Leboncoin has no public API for searching or reading its ads, and no developer portal for real estate: its help centre has no article on one and its pages for professionals name none. What it offers professionals is automatic posting: an estate agency with a paid professional offer sends its own ads from its business software as a feed (an "Import" account). The one developer site under the Leboncoin name, developer.leboncoin.auto, documents a car valuation API. Listingrail exposes Leboncoin and 21 other property portals through one remote MCP server in a single JSON schema.

Get 250 free listingsLeboncoin REST APIAll 22 MCP portalsPricingMCP docsLeboncoin Python guide

Leboncoin is a trademark of its owner. Listingrail is not affiliated with, endorsed by or sponsored by Leboncoin.