mcp-lbc
This server provides tools to search and view Leboncoin (French classifieds marketplace) listings:
search_ads: Search ads using keywords, category, region, price range (min/max), sort order (newest, oldest, cheapest, most expensive, relevance), and pagination. ⚠️ Rate-limited to 10 requests/hour to avoid DataDome bot protection.get_ad_detail: Retrieve full details of a specific ad by its ID, including description, price, location, and images.
Example use cases: finding deals on used cars, gaming PCs, or general bargain hunting with AI-assisted analysis.
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-lbcSearch for a used bicycle in Lyon under 200 euros"
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-lbc
Serveur MCP qui expose les annonces Leboncoin à Claude via la lib lbc.
Prompt
En utilisant le serveur mcp leboncoin, les indications dans @pc-fixe/pc-fixe.md et les pc déjà das @pc-fixe/pc-gaming-occasion.xlsx, fais des recherches leboncoin afin de trouver les meilleurs affaires aujourd'hui (utilise uv si tu as besoin de commande python)
En utilisant le serveur mcp leboncoin, les indications dans @voiture/voiture-recherche.md et les pc déjà das @voiture/voiture-occasion.xlsx, fais des recherches leboncoin afin de trouver les meilleurs affaires aujourd'hui (utilise uv si tu as besoin de commande python)
Related MCP server: Melo MCP Server
Prérequis
Réseau résidentiel (les IPs datacenter/VPS sont bloquées par DataDome)
Installation
git clone <repo>
cd mcp-leboncoin
uv syncOutils exposés
Tool | Description |
| Recherche avec filtres (texte, catégorie, région, prix, pagination) |
| Détail complet d'une annonce par ID |
Rate limit :
search_adsest limité à 10 appels/heure côté serveur pour éviter le blocage DataDome. Au-delà, le tool retourne une erreur avec le temps d'attente restant.
Intégration Claude Code
claude mcp add leboncoin -s user -- uv run --project /user/mcp-lbc python /user/mcp-lbc/lbc_mcp_server.pyVérifier avec /mcp après avoir redémarré une nouvelle session.
Intégration Claude Desktop
Ajouter dans claude_desktop_config.json :
macOS :
~/Library/Application Support/Claude/claude_desktop_config.jsonLinux :
~/.config/claude/claude_desktop_config.json
{
"mcpServers": {
"leboncoin": {
"command": "uv",
"args": ["run", "--project", "/chemin/vers/mcp-leboncoin", "python", "/chemin/vers/mcp-leboncoin/lbc_mcp_server.py"]
}
}
}Proxy résidentiel (si IP datacenter)
Dans lbc_mcp_server.py, remplacer la ligne _client = Client(...) par :
from lbc.model.proxy import Proxy
_client = Client(
impersonate="safari18_4_ios",
max_retries=2,
proxy=Proxy(url="http://user:pass@host:port"),
)Tests
uv run python test_mcp_server.py # teste le serveur MCP via stdio
uv run python test_lbc.py # teste la lib lbc directementMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Latest Blog Posts
- 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/TheoGirardin/mcp-lbc'
If you have feedback or need assistance with the MCP directory API, please join our Discord server