# antt_frete_piso_minimo — how to use (mcp.ai)

ANTT: Calcular Piso Mínimo de Frete, official-source lookup. Platform-hosted, pay per query with prepaid credit.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_antt_frete_piso_minimo?ms=1787247000000`
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. `antt_frete_piso_minimo_consultar`).

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

### Endpoints
- `POST https://api.mcp.ai/api/antt_frete_piso_minimo/consultar` — ANTT: Calcular Piso Mínimo de Frete, consulta em fonte oficial. Hospedado pela plataforma, sem credenciais da plataforma, pague por consulta com crédito pré-pago. Consulta informação de fontes e órgão
  - body: { tipo_carga: string, eixos: string, distancia: string, composicao_veicular?: string, alto_desempenho?: string, retorno_vazio?: string }

## Example prompts
- "Look up ANTT: Calcular Piso Mínimo de Frete"

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