# CarVector MCP server

> Provides AI agents with structured vehicle specifications, federal recalls, owner complaints, service bulletins, and OBD-II diagnostic data.

- Repository: https://github.com/carvectorio/carvector-mcp
- Page: https://hostedmcp.org/servers/carvectorio/carvector-mcp
- Transport: stdio
- Stars: 1
- License: MIT
- Latest version: 1.1.1

## Install

### Claude Code

```sh
claude mcp add --env 'CARVECTOR_API_KEY=<YOUR_CARVECTOR_API_KEY>' carvector-mcp -- npx -y carvector-mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "carvector-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "carvector-mcp"
      ],
      "env": {
        "CARVECTOR_API_KEY": "<YOUR_CARVECTOR_API_KEY>"
      }
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "carvector-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "carvector-mcp"
      ],
      "env": {
        "CARVECTOR_API_KEY": "<YOUR_CARVECTOR_API_KEY>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"carvector-mcp","type":"stdio","command":"npx","args":["-y","carvector-mcp"],"env":{"CARVECTOR_API_KEY":"<YOUR_CARVECTOR_API_KEY>"}}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "carvector-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "carvector-mcp"
      ],
      "env": {
        "CARVECTOR_API_KEY": "<YOUR_CARVECTOR_API_KEY>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add carvector-mcp --env 'CARVECTOR_API_KEY=<YOUR_CARVECTOR_API_KEY>' -- npx -y carvector-mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.carvector-mcp]
command = "npx"
args = ["-y", "carvector-mcp"]

[mcp_servers.carvector-mcp.env]
CARVECTOR_API_KEY = "<YOUR_CARVECTOR_API_KEY>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'CARVECTOR_API_KEY=<YOUR_CARVECTOR_API_KEY>' carvector-mcp npx -- -y carvector-mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "carvector-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "carvector-mcp"
      ],
      "env": {
        "CARVECTOR_API_KEY": "<YOUR_CARVECTOR_API_KEY>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `CARVECTOR_API_KEY` | yes | yes | Your CarVector API key (free at carvector.io) |

## Tools (7)

- `search_vehicles`
- `get_vehicle`
- `get_recalls`
- `get_complaints`
- `get_tsbs`
- `get_investigations`
- `lookup_dtc`

## FAQ

### What kind of vehicle data can I access?

You can access vehicle specs, representative images, federal recalls, owner complaints, service bulletins, defect investigations, and OBD-II diagnostic trouble codes.

### Does the MCP server handle payments?

No, the MCP client requires an API key and does not support x402 payments; those are for the direct HTTP API.
