mcp-search-auto-lbc
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-search-auto-lbcEstimate market value for a 2010 Renault Clio 1.5 dCi with 100k km"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Search Auto LBC
An MCP server that estimates used-car market values from comparable Leboncoin listings. It gives the model each retained listing's title, description, raw attributes, images, price, and URL, along with the reasons why other listings were excluded.
Endpoints
Local MCP endpoint:
http://127.0.0.1:3100/mcpHealth check:
http://127.0.0.1:3100/healthSuggested production endpoint:
https://mcp.your-domain.com/mcp
The server uses the MCP Streamable HTTP transport. POST /mcp accepts MCP
JSON-RPC messages. GET /mcp and DELETE /mcp intentionally return HTTP 405
because the server operates without sessions.
Related MCP server: immo-mcp
Installation
Requirements: Node.js 20 or newer and Python 3.11. All Leboncoin network traffic
goes through a persistent Python worker backed by lbc; the TypeScript process
only exposes MCP and computes the valuation.
npm install
python3.11 -m venv .venv
.venv/bin/python -m pip install -r requirements.txt
npm startThe server then exposes http://127.0.0.1:3100/mcp.
On Windows, install the Python dependencies with
.venv\Scripts\python.exe -m pip install -r requirements.txt.
Commands
npm start
npm run dev
npm test
npm run typecheckAvailable environment variables:
MCP_HOST: defaults to127.0.0.1MCP_PORT: defaults to3100MCP_API_TOKEN: required Bearer token when listening outside localhostMCP_ALLOWED_HOSTS: comma-separated list of allowed hostnamesLBC_PYTHON_PATH: explicit path to a Python executable withlbc>=1.1.5LBC_MAX_PAGES: maximum number of pages fetched per search; defaults to3LBC_PAGE_DELAY_MS: base delay between pages; defaults to1500ms and includes randomized jitterLBC_MAX_RETRIES: Datadome retries inside the Python client; defaults to1LBC_REQUEST_TIMEOUT_SECONDS: timeout for each Python HTTP request; defaults to30LBC_WORKER_TIMEOUT_MS: maximum duration of a complete worker search; defaults to90000LBC_PROXY_URL: optional proxy URL, including credentials when requiredLBC_IMPERSONATE: optional browser profile supported bycurl_cffiVALUATION_CACHE_TTL_MS: in-memory cache lifetime; defaults to 15 minutes
Tool: resolve_leboncoin_vehicle
This tool converts natural vehicle names into exact Leboncoin filter IDs. It first checks the local catalog and can then confirm an unknown model from one page of live listings.
Example input:
{
"brand": "Renault",
"model": "Clio III",
"fuel": "diesel",
"engine": "1.5 dCi 90"
}Example output:
{
"resolved": true,
"brand": "Renault",
"model": "Clio",
"leboncoinBrand": "RENAULT",
"leboncoinModel": "RENAULT_Clio",
"generation": "3",
"fuel": "diesel",
"leboncoinFuel": "2",
"confidenceScore": 98,
"source": "catalog",
"warnings": [],
"alternatives": []
}Tool: estimate_used_vehicle
Example input:
{
"brand": "Renault",
"model": "Clio",
"leboncoinBrand": "RENAULT",
"leboncoinModel": "RENAULT_Clio",
"generation": "3",
"year": 2010,
"mileage": 100000,
"fuel": "diesel",
"engine": "1.5 dCi 90",
"gearbox": "manual",
"trim": "Dynamique",
"excludeCompanyVehicles": true,
"excludeProfessionalSellers": true,
"maxComparables": 20,
"includeDescriptions": true,
"includeImages": true
}Leboncoin's exact filter IDs are different from the labels displayed to users:
u_car_brand:RENAULT,PEUGEOT,BMW,MERCEDES-BENZ, and so onu_car_model: the brand ID, an underscore, and the case-sensitive model label, such asRENAULT_Clio,PEUGEOT_208,VOLKSWAGEN_Golf, orTESLA_Model 3The generation (
Clio 3) and engine (1.5 dCi 90) are not part ofu_car_model; they are checked against the manufacturer version, title, attributes, and description.Main fuel codes are
1for petrol,2for diesel,4for electric,6for hybrid, and8for plug-in hybrid. Gearbox codes are1for manual and2for automatic.
When leboncoinBrand or leboncoinModel is omitted, the server retains a text
search as a fallback.
Condensed output example:
{
"request": {},
"valuation": {
"estimatedPrice": 5000,
"lowPrice": 4600,
"highPrice": 5400,
"quickSalePrice": 4500,
"currency": "EUR",
"confidence": "high",
"confidenceScore": 82
},
"market": {
"adsFetched": 25,
"comparablesUsed": 14,
"excludedCount": 11
},
"comparables": [
{
"title": "Renault Clio III 1.5 dCi 90",
"price": 5100,
"description": "Full listing description...",
"characteristics": {
"regdate": "2010",
"mileage": "103000",
"fuel": "Diesel"
},
"images": ["https://..."],
"url": "https://www.leboncoin.fr/...",
"similarityScore": 0.92,
"matchedCriteria": ["brand", "model", "year", "mileage", "fuel", "engine"]
}
],
"excludedAds": [
{
"title": "Damaged Clio sold for parts",
"reasons": ["damaged, non-running, or parts-only vehicle"]
}
],
"warnings": []
}Future catalog data should follow
catalog.example.json. The server also publishes
this structure as an MCP resource at vehicle://catalog/schema.
Connecting an MCP client
The server uses Streamable HTTP. A typical client configuration looks like this:
{
"mcpServers": {
"mcp-search-auto-lbc": {
"url": "http://127.0.0.1:3100/mcp"
}
}
}The ready-to-use agent skill is available in
skills/leboncoin-vehicle-valuation.
Disclaimer
This project uses an unofficial API and is neither affiliated with nor endorsed by Leboncoin. A valuation is an estimate based on advertised asking prices, not a guaranteed appraisal of a vehicle.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityCmaintenanceExposes Leboncoin classified ads to Claude, allowing search with filters and full ad details. Includes rate limiting and optional residential proxy support.2
- AlicenseNot gradedqualityCmaintenanceAnalyzes French real-estate market using open data sources like DVF transactions, DPE certificates, and risk data.MIT
- AlicenseAqualityBmaintenanceEnables turning photos and observed facts into a ready-to-publish Leboncoin ad, with comparable search, asking-price statistics, category lookup, local drafts, and browser form automation that stops one click short of publishing until approved.23MIT
- FlicenseNot gradedqualityCmaintenanceEnables agents to search and analyze used-vehicle listings across multiple Serbian marketplaces, including price statistics, history, and per-user saved-search watches.1
Related MCP Connectors
VIN decoding and European vehicle data for automotive workflows.
Vehicle data for AI: VIN decoder, automotive specs, stolen checks, valuation and way more.
ECRVSP Vehicles: Cadastro BIN RENAVAM, official-source lookup. Platform-hosted, pay per query with p
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/npalissi/mcp-search-auto-lbc'
If you have feedback or need assistance with the MCP directory API, please join our Discord server