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.
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.
https://listingrail.com/mcp?key=re_your_keyCustom 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.
{
"mcpServers": {
"listingrail": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://listingrail.com/mcp",
"--header",
"Authorization:Bearer re_your_key"
]
}
}
}claude mcp add --transport http listingrail https://listingrail.com/mcp \
--header "Authorization: Bearer re_your_key"Run once in your terminal. Claude Code stores the server with your Authorization header.
{
"mcpServers": {
"listingrail": {
"url": "https://listingrail.com/mcp",
"headers": {
"Authorization": "Bearer re_your_key"
}
}
}
}Add to your global or project Cursor MCP config, then reload MCP servers in Cursor Settings.
{
"mcpServers": {
"listingrail": {
"type": "http",
"url": "https://listingrail.com/mcp",
"headers": {
"Authorization": "Bearer re_your_key"
}
}
}
}Open Windsurf Settings → Cascade → MCP Servers → View raw config and add this entry.
{
"servers": {
"listingrail": {
"type": "http",
"url": "https://listingrail.com/mcp",
"headers": {
"Authorization": "Bearer re_your_key"
}
}
}
}Works in GitHub Copilot Agent mode. VS Code reads workspace .vscode/mcp.json or User MCP config.
{
"mcpServers": {
"listingrail": {
"url": "https://listingrail.com/mcp",
"type": "streamableHttp",
"headers": {
"Authorization": "Bearer re_your_key"
},
"disabled": false
}
}
}Paste into Cline's MCP settings JSON, or add it via the Remote Servers tab with Streamable HTTP.
mcpServers:
- name: Listingrail
type: streamable-http
url: https://listingrail.com/mcp
requestOptions:
headers:
Authorization: Bearer re_your_keyAdd under mcpServers in your Continue YAML config to use the tools in Agent mode.
{
"context_servers": {
"listingrail": {
"url": "https://listingrail.com/mcp",
"headers": {
"Authorization": "Bearer re_your_key"
}
}
}
}Open Zed settings (zed: open settings file) and add listingrail under context_servers.
https://listingrail.com/mcp?key=re_your_keyChatGPT custom connectors accept a single HTTPS URL without custom headers. Paste the URL with ?key= and do not share it.
{
"mcpServers": {
"listingrail": {
"httpUrl": "https://listingrail.com/mcp",
"headers": {
"Authorization": "Bearer re_your_key"
}
}
}
}Add to your Gemini CLI settings file. Gemini CLI connects over streamable HTTP via httpUrl.
extensions:
listingrail:
name: Listingrail
type: streamable_http
enabled: true
uri: https://listingrail.com/mcp
headers:
Authorization: "Bearer re_your_key"
timeout: 180Add under extensions in Goose's config.yaml, or run goose configure → Add Extension → Remote (Streamable HTTP).
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.
idurltitlecityregionpostal_codecountrylatlngpricecurrencyprice_periodbedsroomsbathsareaproperty_typelisted_atphotosagent.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.
Other MCP portals in this region
Rightmove MCP · Zoopla MCP · Idealista MCP · Immobiliare.it MCP · Funda MCP · ImmoScout24 MCP · Kleinanzeigen MCP · Fotocasa MCP
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.