# receita_federal_sicalc_darf — how to use (mcp.ai)

Receita Federal SICALC: Gerar DARF, 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_receita_federal_sicalc_darf?ms=1787191440000`
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. `receita_federal_sicalc_darf_consultar`).

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

### Endpoints
- `POST https://api.mcp.ai/api/receita_federal_sicalc_darf/consultar` — Receita Federal SICALC: Gerar DARF, 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ãos
  - body: { cnpj?: string, cpf?: string, birthdate?: string, observacoes?: string, codigo?: string, valor_principal: string, periodo_apuracao: string, data_consolidacao?: string, numero_referencia?: string, quota?: string }

## Example prompts
- "Look up Receita Federal SICALC: Gerar DARF"

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