Skip to main content
Glama
Car Deals Search MCP Server

Car Deals Search MCP Server

Car Deals Search MCP

Search used car listings from Cars.com, Autotrader, and KBB with AI assistants

An MCP (Model Context Protocol) server that aggregates and searches car listings from multiple sources. Scrapes listings in parallel, extracts price, mileage, dealer info, and applies optional CARFAX-style filters (1-owner, no accidents, personal use).

License: MIT


πŸš€ Quick Start

Prerequisites

  • Node.js (v16 or higher)

  • Chrome/Chromium browser installed (required by Puppeteer)

    • If Chrome is not in the default location, set PUPPETEER_EXECUTABLE_PATH environment variable to point to your Chrome/Chromium binary

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

Using with MCP Clients

Configure your MCP client (Claude Desktop, VS Code, GitHub Copilot, etc.) to use this server:

For Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

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

For other MCP clients, refer to their documentation and use:

  • Command: node

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

Testing Standalone

# 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: Car Deals Search MCP

✨ Features

  • Multi-source aggregation: Search Cars.com, Autotrader, and KBB simultaneously

  • Smart filtering: CARFAX-style filters (1-Owner, No Accidents, Personal Use)

  • Deal ratings: Heuristic-based deal quality assessment

  • Parallel scraping: Fast concurrent queries across sources

  • Stealth mode: Puppeteer with anti-bot detection techniques


πŸ“Š Supported Sources

Source

Price

Mileage

Deal Rating

Dealer Info

CARFAX Filters

Cars.com

βœ…

βœ…

βœ…

βœ…

βœ…

Autotrader

βœ…

βœ…

⚠️ Limited

βœ…

⚠️ Limited

KBB

βœ…

βœ…

βœ…

⚠️ Limited

⚠️ Limited


πŸ”§ MCP Tool: search_car_deals

Parameters

Parameter

Type

Required

Description

make

string

βœ…

Car manufacturer (e.g., "Toyota", "Honda")

model

string

βœ…

Car model (e.g., "Camry", "Accord")

zip

string

❌

ZIP code for local search (default: "90210")

yearMin

integer

❌

Minimum model year

yearMax

integer

❌

Maximum model year

priceMax

integer

❌

Maximum price in USD

mileageMax

integer

❌

Maximum mileage

maxResults

integer

❌

Max results per source (default: 10)

sources

array

❌

Sources to query: ["cars.com","autotrader","kbb"] (default: all)

oneOwner

boolean

❌

Filter for CARFAX 1-owner vehicles only

noAccidents

boolean

❌

Filter for no accidents reported

personalUse

boolean

❌

Filter for personal use only (not rental/fleet)

Example Response

πŸš— 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/...

πŸ› οΈ Technical Details

  • Scraping: Puppeteer (headless Chromium) with stealth plugin to bypass bot detection

  • Concurrency: Parallel scraper workers for simultaneous multi-source queries

  • Protocol: Implements MCP (Model Context Protocol) for AI assistant integration

  • Data extraction: Source-specific parsers normalize listings into a common schema

Chrome/Chromium Requirement

This project uses Puppeteer, which requires Chrome or Chromium to be installed:

  • macOS: Chrome is typically at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

  • Linux: Usually auto-detected by Puppeteer or at /usr/bin/chromium-browser

  • Windows: Typically at C:\Program Files\Google\Chrome\Application\chrome.exe

If Puppeteer cannot find your browser, set the environment variable:

export PUPPETEER_EXECUTABLE_PATH="/path/to/chrome"

πŸ§ͺ Development & Testing

# Run tests
npm test

# Test individual scrapers
node src/scraper.js

# View code structure
ls -la src/

🀝 Contributing

Contributions are welcome! Please follow this workflow:

  1. Fork the repository

  2. Create a feature branch (git checkout -b feature/amazing-feature)

  3. Add tests for new functionality

  4. Commit your changes (git commit -m 'Add amazing feature')

  5. Push to the branch (git push origin feature/amazing-feature)

  6. Open a Pull Request

Please include test coverage for scraping/parsing changes to avoid regressions when source sites update.


πŸ“„ License

MIT License - see LICENSE file for details


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.

Inputs: make (required), model (required), zip, yearMin, +8 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is clearly defined as searching for car deals, making it impossible for an agent to misselect among non-existent alternatives.

    Naming Consistency5/5

    Since there is only one tool, naming consistency is inherently perfect. The tool name 'search_car_deals' follows a clear verb_noun pattern, and there are no other tools to create inconsistency or mixed conventions.

    Tool Count2/5

    A single tool is too few for a server named 'Car Deals Search MCP Server', which implies a broader domain of car deal operations. While search is a core function, the lack of tools for filtering, sorting, or managing deals (e.g., save, compare) makes the set feel thin and incomplete for the apparent scope.

    Completeness2/5

    The tool set is severely incomplete for the domain of car deals search. It only provides a basic search function, with obvious gaps such as no tools for refining searches (e.g., by price, mileage), viewing deal details beyond listings, or interacting with deals (e.g., saving favorites). This will likely cause agent failures when more complex tasks are required.

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables agents to search and analyze used-vehicle listings across multiple Serbian marketplaces, including price statistics, history, and per-user saved-search watches.
      1
      -
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to search and aggregate used-vehicle listings across Cars.com, Autotrader, and KBB, with filters for price, mileage, dealer information, and CARFAX-style history conditions.
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables decoding VINs into complete vehicle specifications, searching active used car listings from US dealers, and retrieving vehicle valuations with total cost of ownership estimates.
      85 npm
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables searching over 1.8 million live Brazilian used-car and motorcycle listings with FIPE reference prices and market analytics, and provides per-listing tools for valuation, market position, and price distribution.
      17
      MIT