# siconfi_declaracao — how to use (mcp.ai)

SICONFI: Declaração Fiscal, 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_siconfi_declaracao?ms=1787246940000`
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. `siconfi_declaracao_consultar`).

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

### Endpoints
- `POST https://api.mcp.ai/api/siconfi_declaracao/consultar` — SICONFI: Declaração Fiscal, 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 oficiai
  - body: { esfera: string, uf?: string, ente: string, poder: string, orgao: string, exercicio: string, titulo?: string }

## Example prompts
- "Look up SICONFI: Declaração Fiscal"

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