Car Deals Search MCP
Car Deals Search MCP
AIアシスタントでCars.com、Autotrader、KBBの中古車リストを検索
複数のソースから車両リストを集約・検索するMCP (Model Context Protocol) サーバーです。リストを並列してスクレイピングし、価格・走行距離・ディーラー情報を抽出し、オプションのCARFAXスタイルのフィルター(1オーナー、事故歴なし、個人使用)を適用できます。
🚀 クイックスタート
前提条件
Node.js(v16以上)
Chrome/Chromium ブラウザがインストールされていること(Puppeteerに必須)
Chromeがデフォルトの場所にない場合は、
PUPPETEER_EXECUTABLE_PATH環境変数にChrome/Chromiumのバイナリを指定してください。
インストール
# Clone the repository
git clone https://github.com/SiddarthaKoppaka/car_deals_search_mcp.git
cd car_deals_search_mcp
# Install dependencies (includes Puppeteer)
npm installMCPクライアントで使用する
このサーバーを使うようにMCPクライアント(Claude Desktop、VS Code、GitHub Copilotなど)を設定します:
Claude Desktopの場合(macOSでは ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"car-deals": {
"command": "node",
"args": ["/absolute/path/to/car_deals_search_mcp/src/server.js"]
}
}
}その他のMCPクライアントの場合は、それぞれのドキュメントを参照し、以下のように設定します:
Command:
nodeArgs:
["<absolute-path-to-repo>/src/server.js"]
単体テスト
# Run the test command
npm test
# Or test manually with a specific search
node -e "
const { scrapeCarscom } = require('./src/scraper.js');
scrapeCarscom({
make: 'Toyota',
model: 'Camry',
oneOwner: true,
noAccidents: true,
personalUse: true
}, 5).then(listings => listings.forEach(l => console.log(l.format())));
"Related MCP server: StockSpark MCP Server
✨ 機能
マルチソース集約:Cars.com、Autotrader、KBBを同時に検索
スマートフィルタリング:CARFAXスタイルのフィルター(1オーナー、事故歴なし、個人使用)
お買い得評価:ヒューリスティックに基づく取引品質の評価
並列スクレイピング:複数ソースへの高速な同時クエリ
ステルスモード:ボット検出を回避するテクニックを備えたPuppeteer
📊 対応ソース
ソース | 価格 | 走行距離 | お買い得評価 | ディーラー情報 | CARFAXフィルター |
Cars.com | ✅ | ✅ | ✅ | ✅ | ✅ |
Autotrader | ✅ | ✅ | ⚠️ 限定的 | ✅ | ⚠️ 限定的 |
KBB | ✅ | ✅ | ✅ | ⚠️ 限定的 | ⚠️ 限定的 |
🔧 MCPツール: search_car_deals
パラメータ
パラメータ | 型 | 必須 | 説明 |
| string | ✅ | 車両メーカー(例:"Toyota"、"Honda") |
| string | ✅ | 車両モデル(例:"Camry"、"Accord") |
| string | ❌ | ローカル検索用のZIPコード(デフォルト:"90210") |
| integer | ❌ | 最小モデル年 |
| integer | ❌ | 最大モデル年 |
| integer | ❌ | 最大価格(米ドル) |
| integer | ❌ | 最大走行距離 |
| integer | ❌ | ソースごとの最大結果数(デフォルト: 10) |
| array | ❌ | クエリ対象ソース: |
| boolean | ❌ | CARFAXの1オーナー車のみに絞り込む |
| boolean | ❌ | 事故歴なしのみに絞り込む |
| boolean | ❌ | 個人使用のみに絞り込む(レンタル/フリートを除く) |
レスポンス例
🚗 2021 Toyota Camry XSE
💰 Price: $23,491
📏 Mileage: 52,649 mi
⭐ Deal Rating: Good Deal
🏆 CARFAX: 1-Owner | No Accidents | Personal Use
🏪 Dealer: Valencia BMW
🌐 Source: Cars.com
🔗 https://www.cars.com/vehicledetail/...🛠️ 技術詳細
スクレイピング:ボット検出を回避するステルスプラグインを備えたPuppeteer(ヘッドレスChromium)
並列処理:複数ソースへの同時クエリのための並列スクレイパーワーカー
プロトコル:AIアシスタント統合のためのMCP (Model Context Protocol) を実装
データ抽出:ソース固有のパーサーがリストを共通スキーマに正規化
Chrome/Chromium要件
このプロジェクトはPuppeteerを使用するため、ChromeまたはChromiumのインストールが必要です:
macOS:Chromeは通常
/Applications/Google Chrome.app/Contents/MacOS/Google ChromeにありますLinux:通常はPuppeteerが自動検出するか、
/usr/bin/chromium-browserにありますWindows:通常
C:\Program Files\Google\Chrome\Application\chrome.exeにあります
Puppeteerがブラウザを見つけられない場合は、環境変数を設定してください:
export PUPPETEER_EXECUTABLE_PATH="/path/to/chrome"🧪 開発とテスト
# Run tests
npm test
# Test individual scrapers
node src/scraper.js
# View code structure
ls -la src/🤝 コントリビューション
コントリビューションは歓迎します!以下のワークフローに従ってください:
リポジトリをフォークします
フィーチャーブランチを作成します(
git checkout -b feature/amazing-feature)新機能のテストを追加します
変更をコミットします(
git commit -m 'Add amazing feature')ブランチにプッシュします(
git push origin feature/amazing-feature)プルリクエストを開きます
スクレイピング/パースの変更には、ソースサイトの更新時にリグレッションが発生しないよう、テストカバレッジを含めてください。
📄 ライセンス
MITライセンス - 詳細は LICENSE ファイルを参照してください
🔗 リンク
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
- AlicenseAqualityDmaintenanceAggregates and searches used car listings from multiple sources (Cars.com, Autotrader, KBB) with price, mileage, dealer info, and optional CarFax-style filters (1-owner, no accidents, personal use).13MIT
- FlicenseNot gradedqualityDmaintenanceProvides AI agents with 36 specialized tools for complete vehicle dealership management through the StockSpark/Carspark API, including inventory management, vehicle listings, image handling, pricing optimization, and multi-portal publishing.
- FlicenseNot gradedqualityBmaintenanceProvides 25 interactive automotive intelligence tools for real-time market data, including VIN decoding, price predictions, and inventory analytics. It enables AI assistants to perform car searches, trade-in estimations, and market trend analysis using the Model Context Protocol.2
- AlicenseAqualityCmaintenanceEnables AI assistants to search secondhand marketplaces (Facebook Marketplace, eBay, Depop, Poshmark) for used items with filters like price, condition, size, and color.311251MIT
Related MCP Connectors
Vehicle data for AI: VIN decoder, automotive specs, stolen checks, valuation and way more.
Agent-native product catalog for AI shopping agents. 296M+ products, 28 countries.
Search and discover advertiser products through an open marketplace for AI agents.
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/black-table/auto_search_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server