# veiculo_nacional — how to use (mcp.ai)

Registration data for a vehicle from its plate in a national database: make, model, year, color, and other attributes. Platform-hosted, no credentials, pay per query with prepaid credit.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_veiculo_nacional?ms=1786816560000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `veiculo_nacional_consultar`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/veiculo_nacional`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/veiculo_nacional/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/veiculo_nacional/consultar` — Dados cadastrais de um veículo a partir da placa em base nacional: marca, modelo, ano de fabricação, cor e demais características. Hospedado pela plataforma, sem credenciais, pague por consulta com cr
  - body: { Placa: string, completo?: boolean }

## Example prompts
- "What are the details of the vehicle with plate ABC1D23?"
- "Make, model, and year for plate ABC1D23"

## More
- Page: https://mcp.ai/veiculo_nacional
- Agent spec (llms.txt): https://mcp.ai/veiculo_nacional/llms.txt
- Postman collection: https://mcp.ai/veiculo_nacional/postman.json
