Connect the CarsXE MCP server to your Google Agent Development Kit (ADK) agents — decode VINs and plates, get market values, history, recalls, liens, images, and OBD codes with natural language.
The CarsXE MCP server brings the full suite of CarsXE vehicle data APIs into your Google Agent Development Kit (ADK) agents through a single remote endpoint at https://mcp.carsxe.com/mcp. Your agents can decode VINs and license plates, retrieve market values and ownership history, check safety recalls, and diagnose trouble codes — all from natural language queries, with no local install.
ADK Integration Page: adk.dev/integrations/carsxe
MCP Endpoint: https://mcp.carsxe.com/mcp
P0300) into readable definitions and probable causes.Before you begin, ensure you have:
The integration connects to the hosted CarsXE MCP server over streamable HTTP — there is nothing to install locally. Add the McpToolset to your agent and pass your CarsXE API key via the X-API-Key header.
from google.adk.agents import Agent
from google.adk.tools.mcp_tool import McpToolset
from google.adk.tools.mcp_tool.mcp_session_manager import StreamableHTTPConnectionParams
CARSXE_API_KEY = "YOUR_CARSXE_API_KEY"
root_agent = Agent(
model="gemini-flash-latest",
name="carsxe_agent",
instruction="You are a vehicle data assistant...",
tools=[
McpToolset(
connection_params=StreamableHTTPConnectionParams(
url="https://mcp.carsxe.com/mcp",
headers={"X-API-Key": CARSXE_API_KEY},
),
)
],
)import { LlmAgent, MCPToolset } from "@google/adk";
const CARSXE_API_KEY = "YOUR_CARSXE_API_KEY";
const rootAgent = new LlmAgent({
model: "gemini-flash-latest",
name: "carsxe_agent",
instruction: "You are a vehicle data assistant...",
tools: [
new MCPToolset({
type: "StreamableHTTPConnectionParams",
url: "https://mcp.carsxe.com/mcp",
transportOptions: {
requestInit: {
headers: { "X-API-Key": CARSXE_API_KEY },
},
},
}),
],
});| Tool | Function |
|---|---|
get-vehicle-specs | Decode a VIN to full specifications |
decode-vehicle-plate | Extract vehicle data from a license plate |
get-market-value | Determine current vehicle valuation |
get-vehicle-history | Access ownership and accident records |
get-vehicle-recalls | Check active safety recalls |
get-lien-theft | Verify lien and theft status |
international-vin-decoder | Decode non-US VINs |
vin-ocr | Extract a VIN from an image |
recognize-plate-image | Identify a plate in a photo |
get-year-make-model | Retrieve specs by vehicle attributes |
get-vehicle-images | Fetch images by make and model |
decode-obd-code | Translate OBD-II trouble codes |
The integration uses header-based authentication. Send your CarsXE API key in the X-API-Key header on every request to the hosted MCP server over a streamable HTTP connection — no local installation required.
If you do not have a key yet, sign up and get one from the CarsXE developer dashboard.
Once the toolset is attached, your ADK agent invokes CarsXE tools automatically when it detects relevant context. For example:
get-vehicle-specsget-vehicle-recallsdecode-obd-codeget-market-valueFull API documentation is available at carsxe.com/docs.