# dap_pronaf_pj — how to use (mcp.ai)

Looks up the Pronaf eligibility declaration (DAP) of a company from the CNPJ. 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_dap_pronaf_pj?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. `dap_pronaf_pj_consultar`).

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

### Endpoints
- `POST https://api.mcp.ai/api/dap_pronaf_pj/consultar` — Consulta a Declaração de Aptidão ao Pronaf (DAP) de uma pessoa jurídica a partir do CNPJ. Hospedado pela plataforma, sem credenciais, pague por consulta com crédito pré-pago. Consulta informação de AC
  - body: { CNPJ: string, completo?: boolean }

## Example prompts
- "Does CNPJ 12345678000190 have a Pronaf DAP?"
- "Pronaf eligibility for CNPJ 12345678000190"

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