# Vehicle data infrastructure for AI agents
Deterministic VIN schemas. MCP, REST, and x402. Pay for the record — not the scrape.
## Vehicle data for developers and AI agents
Agents don't need another browser scrape of Carfax or KBB. They need deterministic vehicle schemas they can call every turn: VIN → specs, plate → VIN, history, value, recalls, lien/theft — same JSON, same meters, same key.
CarsXE is that layer. Claude / GPT / Gemini / Cursor are the intelligence. We are not the storefront and not the agent runtime.
The same ideas structured data APIs market for company records — we already ship them for vehicles.
- Deterministic schemas — orchestration stays stable across turns.
- Compact, typed JSON — not a wall of scrape text.
- Named tools over freeform browse — MCP tool = endpoint.
- Pay for the record, not the tokens — overage on Specs / History / MV beats burning a frontier model to invent a title brand.
- Two payment paths — production key (quotas + overage) for embeds; x402 for a single paid call with no account.
| Capability | MCP tool | REST API | SDK availability | Limitations |
| --- | --- | --- | --- | --- |
| VIN specifications | `get_vehicle_specs` | [Endpoint reference](https://docs.carsxe.com/api-reference/specifications/vehicle-specifications-vin-decoder) | Node.js: decodeVin | Returned fields vary by VIN and market. |
| International VIN | `decode_international_vin` | [Endpoint reference](https://docs.carsxe.com/api-reference/specifications/international-vin-decoder) | Check the selected language's reference | Coverage and available attributes vary by country. |
| Plate lookup | `decode_license_plate` | [Endpoint reference](https://docs.carsxe.com/api-reference/plate-decoder/license-plate-decoder-v2) | Node.js: decodePlate | Country/state support varies; this tool requires a state. |
| Market value | `get_market_value` | [Endpoint reference](https://docs.carsxe.com/api-reference/market-value/vehicle-market-value-v2) | Node.js: getMarketValue | Estimates depend on available records, mileage and condition. |
| Vehicle history | `get_vehicle_history` | [Endpoint reference](https://docs.carsxe.com/api-reference/history/vehicle-history) | Node.js: getVehicleHistory | An empty result is not proof that a vehicle has no past events. |
| Vehicle images | `get_vehicle_images` | [Endpoint reference](https://docs.carsxe.com/api-reference/images/vehicle-images) | Check the selected language's reference | Availability varies. License filters do not grant usage rights. |
| Safety recalls | `get_vehicle_recalls` | [Endpoint reference](https://docs.carsxe.com/api-reference/recalls/vehicle-recalls) | Node.js: getRecalls | Coverage and repair status depend on the source record. |
| VIN OCR | `extract_vin_from_image` | [Endpoint reference](https://docs.carsxe.com/api-reference/recognition/vin-ocr) | Check the selected language's reference | Image quality affects recognition; validate the VIN before lookup. |
| Plate OCR | `read_license_plate_from_image` | [Endpoint reference](https://docs.carsxe.com/api-reference/recognition/plate-image-recognition) | Check the selected language's reference | Recognition and plate-to-VIN lookup are separate operations. |
| Year / make / model | `get_year_make_model` | [Endpoint reference](https://docs.carsxe.com/api-reference/year-make-model/year-make-model) | Check the selected language's reference | Available trims and attributes vary by vehicle. |
| OBD codes | `decode_obd_code` | [Endpoint reference](https://docs.carsxe.com/api-reference/year-make-model/obd-codes-decoder) | Check the selected language's reference | A code description alone does not diagnose a vehicle. |
| Lien and theft | `check_lien_and_theft` | [Endpoint reference](https://docs.carsxe.com/api-reference/lien-and-theft/lien-theft-records) | Check the selected language's reference | Results reflect available records and are not a title guarantee. |
## Connect your agent
Hosted MCP: https://mcp.carsxe.com/mcp
```bash
claude mcp add --transport http carsxe https://mcp.carsxe.com/mcp \
--header "X-API-Key: YOUR_API_KEY"
claude mcp list
```
Use the [onboarding skill](https://carsxe.com/agent-onboarding/SKILL.md) to guide setup. Verify the connected tool list before making lookups.
[Connect via MCP](https://carsxe.com/mcp) · [For AI agents](https://carsxe.com/agents) · [Compare integrations](https://carsxe.com/compare)
[Documentation](https://docs.carsxe.com/docs) · [API key](https://carsxe.com/dashboard/developer) · [Pricing](https://carsxe.com/pricing) · [Agent onboarding skill](https://carsxe.com/agent-onboarding/SKILL.md) · [LLM documentation index](https://docs.carsxe.com/llms.txt)
## Coverage and costs
Tools, fields and regional availability depend on the underlying endpoint and your plan. Lookups consume plan usage; consult [current pricing](https://carsxe.com/pricing) for costs. A missing record is not proof that an event did not occur.
[Machine-readable OpenAPI](https://docs.carsxe.com/openapi.yaml) · [Agent discovery](https://docs.carsxe.com/.well-known/agent.json) · [API status](https://carsxe.com/status)