# cafir_imoveis_rurais — how to use (mcp.ai)

Looks up the Rural Property Registry (CAFIR) from the property's CIB. 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_cafir_imoveis_rurais?ms=1787194380000`
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. `cafir_imoveis_rurais_consultar`).

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

### Endpoints
- `POST https://api.mcp.ai/api/cafir_imoveis_rurais/consultar` — Consulta o Cadastro de Imóveis Rurais (CAFIR) a partir do CIB do imóvel. Hospedado pela plataforma, sem credenciais, pague por consulta com crédito pré-pago. Consulta informação de ACESSO PÚBLICO em b
  - body: { CIB: string, completo?: boolean }

## Example prompts
- "Rural property data for CIB 1234567-8 in CAFIR"
- "Look up CAFIR by CIB"

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