car-specs-api
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
cars-data.com — Car Specs API + MCP server
REST API and remote MCP server over cars-data.com's multilingual vehicle-specs database: 103,372 vehicle variants, 1,357 models, 5,428 generations, 232 spec types defined (230 present in the data), in 20 languages (including Arabic, RTL).
REST API:
https://api.cars-data.com/v1MCP server (streamable HTTP):
https://api.cars-data.com/mcpAPI reference: https://api.cars-data.com/v1/docs — the spec itself at
/v1/openapi.json, both public, no keyOpenAPI source of truth:
openapi.yaml(openapi.jsonis generated —npm run openapi:build)Also distributed as an Apify Actor (pay-per-event, no API key needed)
MCP server
Connect directly from Claude, ChatGPT connectors, Cursor, or Windsurf:
{
"mcpServers": {
"cars-data": {
"type": "http",
"url": "https://api.cars-data.com/mcp",
"headers": { "Authorization": "Bearer cd_demo_..." }
}
}
}Tools exposed:
Tool | What it does |
| Free-text search across 103,372 variants, 120 brands, 20 languages |
| Full localized specs for one variant — 232 spec types across 21 categories (safety, comfort/interior, engine & fuel, performance, EV/hybrid, chassis, exterior, dimensions & weights, WLTP/NEDC consumption, and more), with a confidence score and |
| Side-by-side localized specs for 2-4 variants |
| Generations/facelifts of a model, with production years |
| Structured filter: fuel, body, drive, power/price range, year, EV-only |
| Image URLs (own CDN) for a vehicle variant |
| The same four operations over the full catalogue, paid per call with x402 (T216, T334); every demo answer names its paid pair in |
Every tool declares an outputSchema and is annotated read-only. A successful call returns the result as structuredContent and, for clients without structured output, the same object serialized in the text block. Lists come wrapped as { "data": [...] } — the shape the REST envelope uses; until 2026-10 search_cars, list_generations and get_images returned a bare array. Errors are isError: true with { "error": "..." } and no structuredContent.
Without a key the MCP server answers anonymously on the demo scope — the same 40 cars, rate-limited per IP. With a key it answers on that key's tier: send it as Authorization: Bearer <key> or X-Api-Key, or, where a client takes only a URL (claude.ai and ChatGPT custom connectors), as https://api.cars-data.com/mcp?key=<key>. A key that is present but invalid, revoked or over quota gets its 401/403/429 — it is never quietly downgraded to the demo.
Related MCP server: VIN MCP
REST API
Base URL: https://api.cars-data.com/v1. Rendered reference at
/v1/docs; the spec is at /v1/openapi.json.
Both are public — a reference behind an API key only opens for people who already got in.
curl 'https://api.cars-data.com/v1/variants/v_1a2b3c4d/specs?locale=de' \
-H "X-Api-Key: cd_demo_..."Ids are opaque tokens, not integers — v_… variant, g_… generation,
m_… model, c_… pagination cursor — and they are domain-separated, so a
variant token is refused where a model token is expected. Only the apify
plan receives raw integer ids, because the published Actor's input schema
declares variantId as an integer.
Endpoint | Description |
| Catalog: brands and models |
| Generations for a model |
| Variants for a generation |
| Filterable variant listing / single variant |
| Full localized specs (232 types defined, 230 present; 20 languages) |
| Image URLs |
| Price snapshot (single point-in-time, not a history) |
| Free-text search |
| Side-by-side specs for 2-4 variants |
| The full spec-type catalog (categories + counts) |
| Self-check current quota usage for your key |
| Always 403 — bulk data is not served, and bulk access is not licensed |
| The whole 40-car demo set in one call (demo keys) |
| Liveness + active variant count, plus |
| The reference and the spec — no key |
Request a demo key
Self-serve and immediate — nothing is reviewed. Post the form (every field is
required), click the link in the email, and the key is active. The response to
the POST is 202 verification_sent; no key exists until the click.
curl -X POST https://api.cars-data.com/v1/keys \
-H "Content-Type: application/json" \
-d '{"email": "you@example.com", "name": "Your Name", "company": "Your company", "website": "https://example.com", "role": "Developer", "use_case": "What you are building, in a sentence or two", "accept_tos": true}'Limits: 5 requests per IP per day, one key per email address, and the domain
must have an MX record. POST /v1/keys is an alias of POST /v1/keys/demo so
copied curl lines keep working — it does not issue a reviewed key; that tier
no longer exists.
The issued key covers the 40-car demo set with every spec, every image and all 20 languages. Bulk data is licensed separately: https://cars-data.com/en/api.
Key administration (owner)
node scripts/keys-admin.mjs keys | grant <email> <demo|apify> | approve-key <prefix> | revoke-key <prefix> [reason] | unrevoke-key <prefix> | sweep
— needs the ADMIN_TOKEN Worker secret (also in ../.secrets/api-admin.env).
The /v1/admin surface answers 404 without that secret, and is deliberately
absent from the published OpenAPI spec. The old requests / approve / reject
review commands are gone: nothing creates a request record any more.
Revoking is one-way unless you say otherwise, by name (T944). approve-key
used to clear revoked_at as a side effect, so every revoked key was one
mistyped row away from working again — measured 2026-10-20: 186 of the 192 keys
are revoked, 183 of them on the retired free plan, which still resolves the
whole catalogue. Now approve-key refuses a revoked key outright; coming back
is unrevoke-key <prefix> --confirm <prefix>, which grants nothing, so a free
key restored that way is still inert until it is also approved.
sweep is the bulk path and is a dry run unless you type --apply: it
prints the inventory, the usable keys it will never touch, every candidate
(not revoked and not usable) and, separately, how many revoked keys a single
command could still resurrect on the Worker that is actually deployed — probed,
not assumed. --apply needs --reason, writes a snapshot and a self-contained
undo script before the first write, and refuses to run at all against a Worker
with no unrevoke route, because there its undo could not be exact.
Worker secrets for the flow: ADMIN_TOKEN, BREVO_API_KEY, NOTIFY_TO, NOTIFY_FROM.
Three ways in
There is no free tier. Two ways take a key; the third takes a payment.
Demo — self-serve, free, 40 cars (5 brands x 2 models x 2 generations x 2 variants, all 10 fuel types) with every spec, every image and all 20 languages. Issued automatically on an email click.
It cannot reach the catalogue, and that is structural rather than a quota: a request carrying a demo key is dispatched — before any catalogue route runs — into
src/routes/demo.ts, which answers entirely from a pre-rendered blob in Workers KV. That module andsrc/lib/demo-set.tscontain zero references to Hyperdrive or Postgres, so there is no code path from a demo request to a database connection. A leaked demo key cannot walk the catalogue, no matter how many requests it makes.Paid — arranged by hand, no instant checkout:
the Apify Actor — the same four operations over the full catalogue, metered and billed per event by Apify; its prices are set by hand in the Apify Console and published on its Store page, so they are not quoted here. (The owner decided on 2026-10-16 that they should equal the x402 prices below — one row of data, one price, whichever door. The Console refuses any price change before 2026-10-23, so until then they do not, and nothing here claims they do. T335.);
Pay per request, x402 (T216, T334) — no key, no account.
GET /v1/variants/:id/specs($0.05),GET /v1/search($0.005),GET /v1/variants($0.005, the filter) andGET /v1/compare($0.10 flat) answer a keyless caller402with the price; an x402 client pays in USDC on Base and retries. Only a successful response is settled. MCP has the same four as paid tools. Live on Base mainnet since 2026-10-11 (T231), settled through the PayAI facilitator; the switch isX402_PAY_TOinwrangler.toml— remove it and those routes answer401like every other (src/lib/x402-config.ts).
Deploy
There is no staging for this Worker: wrangler deploy is production. Deploy with the
running commit's SHA attached, so /v1/health can answer "what is running right now":
wrangler deploy --var BUILD_SHA:$(git rev-parse --short=12 HEAD)The flag is not optional decoration, and leaving it off is silent. wrangler deploy
replaces the Worker's vars with what is written in wrangler.toml (see the comment above
[vars] there), so a BUILD_SHA set by any earlier deploy is dropped by the next one.
When it is missing, /v1/health omits meta.build_sha rather than publishing an empty
one — absence honestly means "the running build did not identify itself", which is better
than a stale SHA passing for a fresh one. The rule lives in one place,
src/lib/build-info.ts, and is tested there.
Why this field exists at all: on 2026-11-17, publishing v1.0.5 to the MCP registry required
knowing which commit was live, and five separate probes disagreed —
serverInfo.version said 1.0.0 (unbumped since July), the api/ checkout sat on a
month-old deploy branch whose spec-type count was lower than the branch being published,
and the database held a higher one still. The answer finally came out of the tool
descriptions in tools/list. One field in /v1/health answers it instead.
(Owner decision D-75; the figures are in specs/plans/T1200-*.md, deliberately not here —
test/docs-catalogue-numbers.test.ts guards this file against catalogue numbers that
drift, and it caught this paragraph on the first run.)
Related and deliberately separate: serverInfo.version in the MCP handshake is semver
for clients, derived from MANIFEST_VERSION — the same constant server.json publishes.
It is not the build SHA, and it is not a second copy of the version.
Data & attribution
Data comes from cars-data.com's multilingual vehicle-specs database. See cars-data.com/en/api/terms for the API Terms of Service (attribution required; no bulk extraction / resale).
License
The API and its documentation in this repository are provided as-is. Access to the underlying dataset is governed by the API Terms of Service, not an open-source license — this repo documents and hosts the server implementation, not a redistributable dataset.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Vehicle data for AI: VIN decoder, automotive specs, stolen checks, valuation and way more.
VIN decoding and European vehicle data for automotive workflows.
Automotive data for AI agents: VIN decode, listings, specs, build data, recalls, payments, taxes.
Identity-first automotive intelligence for vehicle resolution, specs, safety and efficiency.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables access to comprehensive vehicle information including VIN decoding, license plate OCR, vehicle history checks (theft, title, salvage records), market valuations, specifications, and warranty data for vehicles across North America and Europe.611MIT
- AlicenseNot gradedqualityBmaintenanceProvides comprehensive vehicle reports by aggregating data from multiple public sources to decode VINs, check recalls, and view safety ratings. It enables users to validate VINs locally and retrieve technical specifications, fuel economy, and vehicle photos without requiring API keys.11 npm1MIT
- AlicenseAqualityCmaintenanceDecode VINs, look up specs, history, recalls, market value, and OBD codes. Recognize license plates and VINs from images. Access comprehensive vehicle data by year, make, and model to power automotive workflows.121MIT
- AlicenseAqualityCmaintenanceEnables 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.17MIT