Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Lbc

FreeNot checked

Exposes Leboncoin classified ads to Claude, allowing search with filters and full ad details. Includes rate limiting and optional residential proxy support.

GitHubEmbed

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_ads est 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

from github.com/TheoGirardin/mcp-lbc

Installing Lbc

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/TheoGirardin/mcp-lbc

FAQ

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

Compare Lbc with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All ai MCPs