Leboncoin MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Leboncoin MCP
A read-only MCP server for Leboncoin classified ads, so an assistant such as Claude can find items to buy and assess their sellers. It never logs into a Leboncoin account.
It builds on lbc, which speaks Leboncoin's API. Why another server rather than an existing one: ADR 0001.
Tools
Tool | What it returns |
| One page of ads matching text, category, cities with a radius, departments, regions, price range, seller type and shipping, or a search URL copied from Leboncoin. |
| An ad's full description, category facts, photos and seller, from its id or URL. |
| A seller's rating, responsiveness, seniority and activity. |
Names are matched leniently (velos, Vélos, Côtes-d'Armor, 22), and an unknown or ambiguous name answers with what it could mean. Cities are located through geo.api.gouv.fr.
Related MCP server: marktplaats-2dehands-mcp
Run it
With Docker, from a clone:
docker compose up -dThe server listens on http://127.0.0.1:8000/mcp, on the loopback interface only, since it has no authentication. Add it to Claude Code:
claude mcp add --transport http leboncoin http://127.0.0.1:8000/mcpOr let the client start it over stdio, without Docker:
claude mcp add leboncoin -- uvx --from git+https://github.com/FunFR/leboncoin-mcp leboncoin-mcpConfiguration
Variable | Default | Meaning |
|
|
|
|
| Address to listen on |
|
| Port to listen on |
|
| Endpoint path |
Exposing the server beyond your machine is up to you: put access control in front of it.
Blocks
Leboncoin protects its API against bots. When it refuses a request, tools answer Blocked: rather than pretend the ad or seller is missing. Blocks depend on the network the server runs from: a residential connection fares better than a datacenter. Fixes usually come with a new lbc release, which this project picks up and releases automatically.
Develop
uv sync
uv run pre-commit install
uv run pytestTests run against recorded Leboncoin answers in tests/fixtures, never against Leboncoin. To try a change against the real service:
docker compose up -d --build
uv run python scripts/stack_check.py --require-liveEach merge with a feat or fix commit is released and published as ghcr.io/funfr/leboncoin-mcp. Maintainers can publish pr-<number> from a pull request by adding the preview label.
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Search and browse global classifieds across 80 markets. No auth required for read-only access.
Read-only search of Québec's bilingual classifieds: ads, categories, filters, places.
Classifieds for AI assistants: sell, buy, rent, hire and find local services, just by asking.
Live kleinanzeigen.de search, ad, seller, category and location data for AI clients
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI agents to search and monitor Dutch and Belgian classifieds (Marktplaats and 2dehands) for listings, seller profiles, and categories.875 PyPI5MIT
- AlicenseBqualityCmaintenanceEnables AI assistants to search and retrieve classified listings from marktplaats.nl and 2dehands.be, including details, seller info, categories, and saved searches, with optional authenticated access to messages, listings, favorites, and bids.141MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to search Kleinanzeigen listings by keyword, category, location, price and seller type, with extra server-side filtering for title matches and required or excluded terms. It also retrieves full ad details, downloadable photos for visual inspection, category attributes, and seller reputation information.5MIT
- AlicenseAqualityCmaintenanceEnables AI agents to search public classified listings and read individual listing details through a local browser session, with filters for location, radius, price, and sort order. Read-only and user-directed: no login, no account, no messaging, and no bulk scraping.220 npm1MIT