mcp-search-auto-lbc
MCP Search Auto LBC
中古車の市場価値を、Leboncoin の比較可能な掲載情報から推定する MCP サーバーです。モデルに対し、保持された各掲載情報のタイトル、説明、生の属性、画像、価格、URL に加えて、他の掲載情報が除外された理由を提供します。
エンドポイント
ローカル MCP エンドポイント:
http://127.0.0.1:3100/mcpヘルスチェック:
http://127.0.0.1:3100/health推奨される本番エンドポイント:
https://mcp.your-domain.com/mcp
サーバーは MCP Streamable HTTP トランスポートを使用します。POST /mcp は MCP JSON-RPC メッセージを受け付けます。GET /mcp と DELETE /mcp は、サーバーがセッションなしで動作するため、意図的に HTTP 405 を返します。
Related MCP server: immo-mcp
インストール
必要条件: Node.js 20 以降と Python 3.11。Leboncoin へのネットワークトラフィックはすべて、lbc を利用する永続的な Python ワーカーを経由します。TypeScript プロセスは MCP の公開と評価額の計算のみを行います。
npm install
python3.11 -m venv .venv
.venv/bin/python -m pip install -r requirements.txt
npm startサーバーはその後、http://127.0.0.1:3100/mcp を公開します。
Windows では、Python の依存関係を .venv\Scripts\python.exe -m pip install -r requirements.txt でインストールします。
コマンド
npm start
npm run dev
npm test
npm run typecheck利用可能な環境変数:
MCP_HOST: デフォルトは127.0.0.1MCP_PORT: デフォルトは3100MCP_API_TOKEN: localhost 以外でリッスンする場合に必要な Bearer トークンMCP_ALLOWED_HOSTS: 許可するホスト名のカンマ区切りリストLBC_PYTHON_PATH:lbc>=1.1.5を備えた Python 実行ファイルへの明示的なパスLBC_MAX_PAGES: 検索ごとに取得する最大ページ数。デフォルトは3LBC_PAGE_DELAY_MS: ページ間の基本遅延。デフォルトは1500ms で、ランダムなジッターを含みますLBC_MAX_RETRIES: Python クライアント内の Datadome 再試行回数。デフォルトは1LBC_REQUEST_TIMEOUT_SECONDS: Python の各 HTTP リクエストのタイムアウト。デフォルトは30LBC_WORKER_TIMEOUT_MS: ワーカー検索全体の最大所要時間。デフォルトは90000LBC_PROXY_URL: オプションのプロキシ URL。必要に応じて認証情報を含みますLBC_IMPERSONATE:curl_cffiがサポートするオプションのブラウザプロファイルVALUATION_CACHE_TTL_MS: インメモリキャッシュの有効期間。デフォルトは 15 分
ツール: resolve_leboncoin_vehicle
このツールは、自然言語の車両名を Leboncoin の正確なフィルター ID に変換します。まずローカルカタログを確認し、その後、ライブ掲載情報の 1 ページから不明なモデルを確認できます。
入力例:
{
"brand": "Renault",
"model": "Clio III",
"fuel": "diesel",
"engine": "1.5 dCi 90"
}出力例:
{
"resolved": true,
"brand": "Renault",
"model": "Clio",
"leboncoinBrand": "RENAULT",
"leboncoinModel": "RENAULT_Clio",
"generation": "3",
"fuel": "diesel",
"leboncoinFuel": "2",
"confidenceScore": 98,
"source": "catalog",
"warnings": [],
"alternatives": []
}ツール: estimate_used_vehicle
入力例:
{
"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 の正確なフィルター ID は、ユーザーに表示されるラベルとは異なります:
u_car_brand:RENAULT、PEUGEOT、BMW、MERCEDES-BENZなどu_car_model: ブランド ID、アンダースコア、大文字と小文字を区別するモデルラベル。例:RENAULT_Clio、PEUGEOT_208、VOLKSWAGEN_Golf、TESLA_Model 3世代 (
Clio 3) とエンジン (1.5 dCi 90) はu_car_modelの一部ではありません。これらはメーカーバージョン、タイトル、属性、説明と照合されます。主な燃料コードは、ガソリンが
1、ディーゼルが2、電気が4、ハイブリッドが6、プラグインハイブリッドが8です。ギアボックスコードは、マニュアルが1、オートマチックが2です。
leboncoinBrand または leboncoinModel が省略された場合、サーバーはフォールバックとしてテキスト検索を保持します。
簡潔な出力例:
{
"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": []
}将来のカタログデータは catalog.example.json に従う必要があります。サーバーはこの構造を MCP リソースとして vehicle://catalog/schema でも公開します。
MCP クライアントの接続
サーバーは Streamable HTTP を使用します。典型的なクライアント設定は次のようになります:
{
"mcpServers": {
"mcp-search-auto-lbc": {
"url": "http://127.0.0.1:3100/mcp"
}
}
}すぐに使えるエージェントスキルは skills/leboncoin-vehicle-valuation にあります。
免責事項
このプロジェクトは非公式の API を使用しており、Leboncoin とは提携しておらず、Leboncoin による承認も受けていません。評価額は掲載されている希望価格に基づく推定値であり、車両の保証付き査定額ではありません。
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