carsxe — Claude Code hook: what it does, how to install
carsxe is a Claude Code hook that loads the CarsXE API key at session start. The API provides vehicle data such as VIN details, market value, history, and OBD codes.
MIT ★ 1,596 updated 2026-10-29
.claude/settings.jsonWhat carsxe does
carsxe runs an API-key loader when the SessionStart event fires. The hook is bundled with the carsxe plugin and executes hooks/load-api-key.mjs from the plugin directory.
CarsXE API covers VINs and license plates, vehicle value and history, recalls, liens, and OBD codes. The hook requires Node.js and a CarsXE API key; its loader command has a 5-second timeout.
What it helps with
- load a CarsXE API key when a session starts
- look up vehicle data by VIN
- check a vehicle's history and recalls
- decode OBD codes through CarsXE API
Example prompts for the agent
- Look up this vehicle by VIN through CarsXE.
- Check this car's history and recalls with CarsXE.
- Decode this OBD code using CarsXE API.
How to install carsxe
Manually: put the files in place
.claude/settings.jsonThe hooks block: event (PreToolUse, PostToolUse, Stop…) → command. Personal ones go to ~/.claude/settings.json
Step by step, with commands for each platform: Claude Code hooks: what they are, where to configure them, how to block a risky command
Questions about carsxe
How do I install carsxe in Claude Code?
Add the hook configuration to .claude/settings.json.
What does the carsxe hook do?
On SessionStart, it runs a script that loads the CarsXE API key. The plugin uses CarsXE API for vehicle information.
What does carsxe require?
It requires Node.js and a CarsXE API key.
Source text
hooks.json · MIT
Hooks bundle shipped with the carsxe plugin for Claude Code.
Decode VINs, license plates, market value, vehicle history, recalls, liens, OBD codes, and more via the CarsXE API.
Triggers on: SessionStart.
```json
{
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "node \"${PLUGIN_ROOT}/hooks/load-api-key.mjs\"",
"timeout": 5,
"statusMessage": "Loading CarsXE API key"
}
]
}
]
}
}
```
© CarsXE · MIT · hashgraph-online/awesome-codex-plugins