Skip to main content
Glama
black-table

Car Deals Search MCP

by black-table

Car Deals Search MCP

Durchsuchen Sie Gebrauchtwagen-Angebote von Cars.com, Autotrader und KBB mit KI-Assistenten

Ein MCP-Server (Model Context Protocol), der Autsuchangebote aus mehreren Browsern aggregiert und durchsucht. Er ruft Angebote parallel ab, extrahiert Preis, Laufleistung, Händlerinformationen und wendet optionale Filter im CARFAX-Stil an (1. Hand, Unfallfrei, Privatnutzung).

License: MIT


🚀 Schnellstart

Voraussetzungen

  • Node.js (v16 oder höher)

  • Chrome/Chromium-Browser installiert (von Puppeteer benötigt)

    • Wenn sich Chrome nicht am Standardort befindet, setzen Sie die Umgebungsvariable PUPPETEER_EXECUTABLE_PATH, sodass sie auf Ihre Chrome/Chromium-Binärdatei verweist.

Installation

# Clone the repository
git clone https://github.com/SiddarthaKoppaka/car_deals_search_mcp.git
cd car_deals_search_mcp

# Install dependencies (includes Puppeteer)
npm install

Verwendung mit MCP-Clients

Konfigurieren Sie Ihren MCP-Client (Claude Desktop, VS Code, GitHub Copilot usw.), um diesen Server zu verwenden:

Für Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json unter macOS):

{
  "mcpServers": {
    "car-deals": {
      "command": "node",
      "args": ["/absolute/path/to/car_deals_search_mcp/src/server.js"]
    }
  }
}

Für andere MCP-Clients beachten Sie bitte deren Dokumentation und verwenden Sie:

  • Befehl: node

  • Argumente: ["<absolute-path-to-repo>/src/server.js"]

Eigenständiges Testen

# 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: LinkedIn Job Scraper MCP Server

✨ Funktionen

  • Multi-Quellen-Aggregation: Durchsuchen Sie Cars.com, Autotrader und KBB gleichzeitig

  • Intelligente Filterung: Filter im CARFAX-Stil (1. Hand, Unfallfrei, Privatnutzung)

  • Deal-Bewertungen: Heuristische Bewertung der Angebotsqualität

  • Paralleles Scraping: Schnelle, gleichzeitige Abfragen über mehrere Quellen

  • Stealth-Modus: Puppeteer mit Anti-Bot-Erkennungstechniken

📊 Unterstützte Quellen

Quelle

Preis

Laufleistung

Deal-Bewertung

Händlerinfo

CARFAX-Filter

Cars.com

✅

✅

✅

✅

✅

Autotrader

✅

✅

⚠️ Eingeschränkt

✅

⚠️ Eingeschränkt

KBB

✅

✅

✅

⚠️ Eingeschränkt

⚠️ Eingeschränkt

🔧 MCP-Tool: search_car_deals

Parameter

Parameter

Typ

Erforderlich

Beschreibung

make

string

✅

Automobilhersteller (z. B. "Toyota", "Honda")

model

string

✅

Fahrzeugmodell (z. B. "Camry", "Accord")

zip

string

❌

Postleitzahl für die lokale Suche (Standard: "90210")

yearMin

integer

❌

Mindest-Modelljahr

yearMax

integer

❌

Maximales Modelljahr

priceMax

integer

❌

Höchstpreis in USD

mileageMax

integer

❌

Maximale Laufleistung

maxResults

integer

❌

Maximale Ergebnisse pro Quelle (Standard: 10)

sources

array

❌

Abzufragende Quellen: ["cars.com","autotrader","kbb"] (Standard: alle)

oneOwner

boolean

❌

Nur Fahrzeuge mit einem Halter filtern (CARFAX)

noAccidents

boolean

❌

Nur unfallfreie Fahrzeuge filtern

personalUse

boolean

❌

Nur privat genutzte Fahrzeuge filtern (keine Miet-/Flottenfahrzeuge)

Beispielantwort

🚗 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/...

🛠️ Technische Details

  • Scraping: Puppeteer (Headless Chromium) mit Stealth-Plugin zur Umgehung der Bot-Erkennung

  • Parallelität: Parallele Scraper-Worker für gleichzeitige Abfragen mehrerer Quellen

  • Protokoll: Implementiert MCP (Model Context Protocol) für die Integration von KI-Assistenten

  • Datenextraktion**: Quellenspezifische Parser normalisieren Angebote in ein gemeinsames Schema

Chrome/Chromium-Anforderung

Dieses Projekt verwendet Puppeteer, wofür Chrome oder Chromium installiert sein muss:

  • macOS: Chrome befindet sich normalerweise unter /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

  • Linux: Wird normalerweise automatisch von Puppeteer erkannt oder befindet sich unter /usr/bin/chromium-browser

  • Windows: Normalerweise unter C:\Program Files\Google\Chrome\Application\chrome.exe

Falls Puppeteer den Browser nicht findet, setzen Sie die Umgebungsvariable:

export PUPPETEER_EXECUTABLE_PATH="/path/to/chrome"

🧪 Entwicklung & Tests

# Run tests
npm test

# Test individual scrapers
node src/scraper.js

# View code structure
ls -la src/

🤝 Mitwirken

Beiträge sind willkommen! Bitte gehen Sie wie folgt vor:

  1. Forken Sie das Repository

  2. Erstellen Sie einen Feature-Branch (git checkout -b feature/amazing-feature)

  3. Fügen Sie Tests für neue Funktionen hinzu

  4. Committen Sie Ihre Änderungen (git commit -m 'Add amazing feature')

  5. Pushen Sie den Branch (git push origin feature/amazing-feature)

  6. Öffnen Sie einen Pull-Request

Bitte fügen Sie Testabdeckung für Änderungen am Scraping/Parsing hinzu, um Regressionen zu vermeiden.

📄 Lizenz

MIT-Lizenz – siehe die Datei LICENSE füt Depot.

Available Tools

1 tool
search_car_dealsA

Search for car deals across multiple sources (Cars.com, Autotrader, KBB). Returns listings with prices, mileage, deal ratings, and links.

NameRequiredDescriptionDefault
zipNoZIP code for location-based search (default: 90210)
makeYesCar manufacturer (e.g., Toyota, Honda, Ford)
modelYesCar model (e.g., Camry, Civic, F-150)
sourcesNoSources to search: "cars.com", "autotrader", "kbb". Default: all
yearMaxNoMaximum model year
yearMinNoMinimum model year
oneOwnerNoFilter for CARFAX 1-Owner vehicles only
priceMaxNoMaximum price in dollars
maxResultsNoMaximum results per source (default: 10)
mileageMaxNoMaximum mileage
noAccidentsNoFilter for vehicles with no accidents or damage reported
personalUseNoFilter for vehicles used for personal use only (not rental/fleet)

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It discloses that the tool searches across multiple sources and returns listings with specific fields. However, it does not mention any limitations, rate limits, authentication requirements, or what happens if no results are found. It does not contradict anything, but it lacks depth in behavioral disclosure beyond the basic function.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, concise sentence that front-loads the primary action and result. Every part is informative with no waste. It efficiently communicates the tool's purpose without unnecessary elaboration.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite 12 parameters and no output schema, the description provides enough context by mentioning the return fields (prices, mileage, deal ratings, links). It does not explain ordering, pagination, or error handling, but the schema covers parameter semantics. Given the tool's complexity, it is reasonably complete, though slightly more detail on result behavior would justify a 5.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema provides 100% coverage with descriptions for every parameter. The tool description does not add additional parameter-specific semantics beyond what the schema already states, such as the use of 'maxResults' or 'oneOwner'. Per the baseline rule, since schema coverage is high, a score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Search'), a specific resource ('car deals'), and names the sources (Cars.com, Autotrader, KBB) and return types (prices, mileage, deal ratings, links). It is clear and distinct, though there are no sibling tools to differentiate from. The purpose is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly implies usage: search for car deals using the provided filters. Since no sibling tools are listed, there is no need to specify alternatives or exclusions. The context is clear, but it does not explicitly state when not to use or what alternatives exist. Given the absence of siblings, this is adequate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool updatev1.0.0
    • First observedsearch_car_deals

TDQS

A4.1/5.0

Scored across 1 tool

Disambiguation5/5

With only a single tool, there is no potential for confusion or misselection. The tool's purpose is clear and unambiguous within the server.

Naming Consistency5/5

The single tool name 'search_car_deals' follows a consistent verb_noun convention, making it predictable and readable. No other tools exist to create inconsistency.

Tool Count3/5

The server has only one tool, which is borderline thin. While the narrow scope of 'car deals search' might justify this, users might expect additional related tools (e.g., filtering, saving deals) to make the server feel more complete.

Completeness4/5

The tool covers the primary search functionality across multiple sources, returning comprehensive listing data. Minor gaps exist such as lack of detailed deal views or comparison tools, but the core use case is well-served.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to pull live job listings from major ATS platforms (Greenhouse, Lever, Ashby, Workable), Hacker News hiring threads, and detect hiring signals on company career pages.
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to search, filter, and extract job listings from LinkedIn using an automated headless browser with semantic AI filtering and deduplication.
    17 npm
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    Enables AI assistants to search and filter job listings across multiple platforms like Indeed, LinkedIn, and Glassdoor, returning structured results for easy processing.
    1
    MIT
  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables AI assistants to search job listings and retrieve or update a user's career profile, including work experiences, job summaries, career goals, and technical skills through natural language.
    -