# prf_infracoes — how to use (mcp.ai)

History of traffic fines recorded by Brazil's Federal Highway Police by RENAVAM, including canceled, open, or already paid. 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_prf_infracoes?ms=1787191320000`
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. `prf_infracoes_consultar`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/prf_infracoes`
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/prf_infracoes/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/prf_infracoes/consultar` — Histórico de multas de trânsito registradas pela Polícia Rodoviária Federal por RENAVAM, incluindo canceladas, em aberto ou já pagas. Hospedado pela plataforma, sem credenciais, pague por consulta com
  - body: { Renavam: string, completo?: boolean }

## Example prompts
- "Does RENAVAM 98765432109 have PRF fines?"
- "Federal-highway fines for RENAVAM 98765432109"

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