Lbc
FreeNot checkedExposes Leboncoin classified ads to Claude, allowing search with filters and full ad details. Includes rate limiting and optional residential proxy support.
About
Exposes Leboncoin classified ads to Claude, allowing search with filters and full ad details. Includes rate limiting and optional residential proxy support.
README
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)
Prérequis
- uv
- Réseau résidentiel (les IPs datacenter/VPS sont bloquées par DataDome)
Installation
git clone <repo>
cd mcp-leboncoin
uv sync
Outils exposés
| Tool | Description |
|---|---|
search_ads |
Recherche avec filtres (texte, catégorie, région, prix, pagination) |
get_ad_detail |
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.py
Vé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.json - Linux :
~/.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 directement
Installing Lbc
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/TheoGirardin/mcp-lbcFAQ
Is Lbc MCP free?
Yes, Lbc MCP is free — one-click install via Unyly at no cost.
Does Lbc need an API key?
No, Lbc runs without API keys or environment variables.
Is Lbc hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Lbc in Claude Desktop, Claude Code or Cursor?
Open Lbc on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Lbc with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
