carsales-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@carsales-mcpFind me used Toyota Corollas under $15,000 in Melbourne"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
carsales-mcp
An MCP server that lets an AI assistant search carsales.com.au — Australia's largest car marketplace — for used and new cars.
Built for Claude Desktop, Claude Code, Cursor, and any MCP-compatible client.
carsales.com.au is protected by DataDome bot protection. This server drives a real Chromium browser (not a plain HTTP client) to pass the challenge. Search results work reliably. The full per-listingdetail page may be blocked from some networks / datacenter IPs — when that happens the server gracefully falls back to the rich summary card data it already extracted from search (price, year, odometer, transmission, fuel, body, location). On a normal residential connection the detail page usually loads fine.
Tools
search_cars
Search for cars. Filters are applied as carsales URL facets where supported, and price / year / odometer are filtered in-memory from the listing cards (these have no simple URL param).
Param | Type | Notes |
| string (req) | e.g. |
| string | e.g. |
| string |
|
| string |
|
| string |
|
| string |
|
| enum |
|
| string | trim/badge, e.g. |
| string | exterior colour, e.g. |
| string | free-text search |
| number | AUD |
| number | build year |
| number | km |
| enum |
|
| number | results page (1-based) |
| number | max results to return (default 25) |
get_listing_details
Get full details for one listing by listingId (e.g. OAG-AD-26099426) or full url.
Falls back to summary card data if the detail page is bot-blocked.
Holistic view. The tools surface the full listing picture for the model:
get_listing_details/fetchreturn the price (drive-away and ex-govt-charges), price indicator (FAIR/GOOD/GOOD/ GREAT PRICE), year, odometer, transmission, fuel, body, engine, seller + state, the feature/spec bullet list, the description, and the photo gallery.Set
includeImages: true(default forget_listing_details/fetch) and the actual photos are downloaded and returned as MCP image blocks, so a multimodal model can literally see the car.searchhasincludeImagestoo (off by default) to attach each result's thumbnail.searchreturns each result'simageURL in its JSON even when images aren't embedded.
Setup
1. Install Playwright's browser
npm install -g carsales-mcp # OR clone + npm install
npx playwright install chromium # downloads the full Chromium build (needed!)The full Chromium build (
channel: 'chromium') is required — the headless shell is fingerprinted and blocked by DataDome. On Linux you may also need system libraries:npx playwright install-deps chromium(or your distro's equivalents oflibnss3,libnspr4,libasound2).
2. Add to your MCP client
Claude Desktop — ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"carsales": {
"command": "npx",
"args": ["-y", "carsales-mcp"]
}
}
}Claude Code — ~/.claude/.mcp.json:
{
"mcpServers": {
"carsales": {
"command": "npx",
"args": ["-y", "carsales-mcp"]
}
}
}3. (Optional) Proxy / anti-bot tuning
carsales.com.au is behind DataDome. The server is built to survive this:
Camoufox is the default engine. Camoufox is a Firefox-based anti-detect browser with a
much harder-to-fingerprint profile than Chromium. The Camoufox binary is downloaded
automatically on first launch (it runs npx camoufox-js fetch for you — no manual step), and
if Camoufox ever fails to launch, the server transparently falls back to Chromium. Force
Chromium with CARS_ENGINE=chromium.
API + scraping balance (mirrors secondhand-mcp). If you have a
Carapis API key, set CARAPIS_API_KEY and search_cars will pull
clean structured JSON from their carsales.com.au endpoint (no bot challenges). If the key is
absent or the call fails, it falls back to the browser scraper. This is the same
official-API-where-possible / scrape-where-not strategy secondhand-mcp uses for eBay vs
Depad/Poshmark.
Proxy. DataDome blocks primarily by IP reputation, so a (residential) proxy is the most
reliable fix. Set CARS_PROXY to a single proxy, or a comma-separated list to rotate across
proxies per request (combined with the retry logic below):
"env": {
"CARS_PROXY": "http://user:pass@proxy1:8000,http://user:pass@proxy2:8000",
"CARAPIS_API_KEY": "your-key"
}Other tuning env vars:
Var | Default | Purpose |
|
|
|
| – | use Carapis REST API for search (no scraping) |
| – | single proxy or comma-separated rotation list |
|
| min ms between navigations (be polite) |
|
| retry attempts when a DataDome challenge is hit |
|
| backoff ms between retries (doubles each try) |
"env": { "CARS_PROXY": "http://127.0.0.1:8899" }Notes & limits
DataDome may occasionally challenge; if a search returns nothing, just retry.
Respect carsales' terms of service and avoid hammering with very high page counts.
No official carsales API is used — this scrapes the public site via a real browser.
License
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Hosted MCP with 91 agent tools: X, domains, SEO, Maps, Trends, Search, YouTube, TikTok, and more.
Shopping MCP for AI agents: search, compare, Amazon buy links. Auto-register.
Live Google Maps business search, review, and photo data for AI agents over MCP.
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/masked8knights/carsales-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server