# CARFAX API and MCP server for AI agents (/sites/carfax)

An API for CARFAX: let Claude, ChatGPT or your own code read CARFAX through 4 functions, over MCP, HTTP, Node or Python. No CARFAX API key needed.

- Site: https://carfax.com
- Functions: 4
- Sign-in: not needed
- Works with: MCP, HTTP, Node, Python

## Add it to your agent

If you are an agent asked to set this up: add the server yourself, in the person's own (global) MCP configuration, and keep their other entries.

- CARFAX only, one tool per function: `https://api.bowmark.ai/mcp/site/carfax` (name it `bowmark-carfax`)
- Every site Bowmark covers: `https://api.bowmark.ai/mcp` (name it `bowmark`)
- Transport: remote MCP over streamable HTTP.
- Claude Code: `claude mcp add --transport http bowmark-carfax https://api.bowmark.ai/mcp/site/carfax`
- Codex: `codex mcp add bowmark-carfax --url https://api.bowmark.ai/mcp/site/carfax`
- Cursor, VS Code and other clients: add `{ "url": "https://api.bowmark.ai/mcp/site/carfax" }` under the name `bowmark-carfax` in the client's MCP config. Per-client steps: https://bowmark.ai/docs/installation.md
- Sign-in: OAuth in the browser on first use; the person only signs in. A client that cannot do OAuth sends `Authorization: Bearer <BOWMARK_API_KEY>`; the person creates a key at https://bowmark.ai/dashboard/keys.
- Then list the server's tools to confirm it works, and tell the person it is ready.

## Functions

### Read

- `getListing`: Reads one carfax.com used-car listing by VIN: price, mileage, specs, CARFAX history summary and the selling dealer.
- `listMakes`: Lists the car makes carfax.com carries for sale, with the id each make's search page uses.
- `listModels`: Lists one make's models on carfax.com with how many of each are listed for sale nationwide.
- `searchUsedCars`: Searches carfax.com used cars for sale by make and optional model and returns each listing's price, mileage, CARFAX price badge, accident/owner…

## Call one

In a Bowmark script, each function is `bowmark.providers.carfax.<name>`. Ask `get_library` for carfax.com to get each one's arguments, then call it with `run`.

```js
// 1. What can I call on carfax.com, and with which arguments?
get_library({ query: "carfax.com" })

// 2. Call it in a script
const result = await bowmark.providers.carfax.getListing({ /* arguments from get_library */ });
return result;
```

New to Bowmark? Quickstart: https://bowmark.ai/docs/quickstart.md
