Back to Browse

Car Specs Api MCP Server

Developer ToolsModerate5.6MCP RegistryRemote
Free

Server data from the Official MCP Registry

Search, compare & filter 103,372 car variants — 232 specs, 20 languages. Free demo, no key; x402.

About

Search, compare & filter 103,372 car variants — 232 specs, 20 languages. Free demo, no key; x402.

Remote endpoints: streamable-http: https://api.cars-data.com/mcp

Security Report

5.6
Moderate5.6Moderate Risk

This is a read-only MCP and REST wrapper over a vehicle-specs database with parameterized SQL, no hardcoded secrets, and no shell or eval usage, and its unauthenticated MCP surface is deliberately rate-limited per IP as documented. The main concerns are the unauthenticated MCP access relying solely on per-IP rate limiting, a non-atomic KV quota check that can overcount, and the fail-open metering behavior, none of which are severe for a Developer Tools server with network_http as the expected permission. Supply chain analysis found 14 known vulnerabilities in dependencies (2 critical, 4 high severity).

11 files analyzed · 18 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Found in Source Code

Found by scanning the linked source code. This listing connects to a hosted endpoint, so none of this runs on your machine: it describes what the server software does where it is hosted.

HTTP Network Access

Connects to external APIs or services over the internet.

database

Applies to the server that hosts this plugin, not to your machine.

env_vars

Applies to the server that hosts this plugin, not to your machine.

How to Connect

Remote Plugin

No local installation needed. Your AI client connects to the remote endpoint directly.

Add this to your MCP configuration to connect:

{
  "mcpServers": {
    "com-cars-data-car-specs-api": {
      "url": "https://api.cars-data.com/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

This server needs this header. Replace each <YOUR_...> placeholder with your own value:

  • Authorization (optional): Bearer <your cars-data.com API key> — OPTIONAL. Without it this server answers a fixed 40-car demo (every spec, every photo, 20 languages); a demo key, issued in one click, covers the same 40 cars over REST. Four tools reach the full 103,372-variant catalogue with no key and no account at all, paid

Documentation

View on GitHub

From the project's GitHub README.

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/v1
  • MCP server (streamable HTTP): https://api.cars-data.com/mcp
  • API reference: https://api.cars-data.com/v1/docs — the spec itself at /v1/openapi.json, both public, no key
  • OpenAPI source of truth: openapi.yaml (openapi.json is 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:

ToolWhat it does
search_carsFree-text search across 103,372 variants, 120 brands, 20 languages
get_specsFull 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 last_synced_at freshness timestamp
compare_variantsSide-by-side localized specs for 2-4 variants
list_generationsGenerations/facelifts of a model, with production years
filter_carsStructured filter: fuel, body, drive, power/price range, year, EV-only
get_imagesImage URLs (own CDN) for a vehicle variant
search_catalogue · filter_catalogue · get_specs_full · compare_fullThe same four operations over the full catalogue, paid per call with x402 (T216, T334); every demo answer names its paid pair in full_catalogue

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.

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.

EndpointDescription
GET /brands, /brands/{slug}, /brands/{slug}/modelsCatalog: brands and models
GET /models/{id}/generationsGenerations for a model
GET /generations/{id}/variantsVariants for a generation
GET /variants, /variants/{id}Filterable variant listing / single variant
GET /variants/{id}/specs?locale=Full localized specs (232 types defined, 230 present; 20 languages)
GET /variants/{id}/imagesImage URLs
GET /variants/{id}/pricesPrice snapshot (single point-in-time, not a history)
GET /search?q=Free-text search
GET /compare?ids=Side-by-side specs for 2-4 variants
GET /specs/catalogThe full spec-type catalog (categories + counts)
GET /usageSelf-check current quota usage for your key
GET /exportAlways 403 — bulk data is not served, and bulk access is not licensed
GET /demoThe whole 40-car demo set in one call (demo keys)
GET /healthLiveness + active variant count, plus meta.build_sha when the running build identified itself — no key
GET /docs, GET /openapi.jsonThe 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 and src/lib/demo-set.ts contain 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) and GET /v1/compare ($0.10 flat) answer a keyless caller 402 with 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 is X402_PAY_TO in wrangler.toml — remove it and those routes answer 401 like 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.

Reviews

No reviews yet

Be the first to review this server!