# io.github.codespar/mcp-caixa (npm · @codespar/mcp-caixa)

MCP server for Caixa Econômica Federal — Pix, Cobrança (SICOB boleto), Extrato (OAuth2 + mTLS)

- Trust score: 70/100 (medium)
- Change this week: +24
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-04

## Components

- npm · `@codespar/mcp-caixa`: 70/100 (this document), [markdown](https://verifymcp.io/servers/codespar-mcp-caixa/codespar-mcp-caixa.md), [page](https://verifymcp.io/servers/codespar-mcp-caixa/codespar-mcp-caixa)

## Channel facts

- Registry: `npm`
- Package: `@codespar/mcp-caixa`
- Version: `0.2.0-alpha.3`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-04.

- **Supply Chain Security**: 86/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 42 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 77/100
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 2429 tokens (~105/item across 23 items; 23 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 30/100
  - Stability observed for 9 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add codespar-mcp-caixa -- npx -y @codespar/mcp-caixa
```

### Codex

```bash
codex mcp add codespar-mcp-caixa -- npx -y @codespar/mcp-caixa
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "codespar-mcp-caixa": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@codespar/mcp-caixa"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add codespar-mcp-caixa --command npx --arg -y --arg @codespar/mcp-caixa
```

### Hermes

```yaml
mcp_servers:
  codespar-mcp-caixa:
    command: "npx"
    args: ["-y", "@codespar/mcp-caixa"]
```

### Other

```json
{
  "mcpServers": {
    "codespar-mcp-caixa": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-caixa"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-04 (score 70, +1)

No change was recorded against any check on this day. Stability & Change Management went from 27 to 30. That category is still filling its 30-day observation window: 8 days of observed history at the previous scan, 9 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-08-02 (score 69, +33)

- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [functional improvement] License: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Stability: unverified → 0.23
- [functional improvement] Schema quality: unverified → excellent
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional] Licence: MIT

### 2026-08-01 (score 36, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-07-31 (score 21, −25)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-27 (score 46)

First indexed and scored.

## MCP tools (23)

### `get_oauth_token` (~43 tokens)

Mint or return a cached OAuth2 client_credentials bearer token for the Caixa Developer Portal. Exposed so agents can inspect token freshness; normal tool calls obtain tokens implicitly.

### `send_pix` (~136 tokens)

Initiate an outbound Pix payment from the merchant's Caixa account. Amount in BRL major units (e.g. '10.50').

Input parameters:

- `amount` (string, required): Amount in BRL major units with two decimals, e.g. '10.50'
- `description` (string): Free-text description shown on the statement (max 140 chars)
- `idempotency_key` (string, required): Merchant-side idempotency key (UUID recommended)
- `payee` (object, required): Payee identification — either a DICT key or explicit bank account
- `payer_account` (string, required): Merchant account to debit (agência-conta)

### `create_pix_qr` (~127 tokens)

Create a dynamic Pix charge with QR code (cob). Returns the txid, copy-paste EMV payload, and location URL.

Input parameters:

- `additional_info` (array): Optional free-text key/value info shown to the payer
- `amount` (string, required): Amount in BRL major units, e.g. '99.90'
- `description` (string): Payer-visible description
- `expires_in` (number): QR lifetime in seconds (default 3600)
- `payer` (object): Payer identification (required by BCB for cobv / common for cob)

### `get_pix` (~51 tokens)

Retrieve a Pix transaction by its BCB endToEndId (E<ispb><yyyymmddhhmm><sequence>).

Input parameters:

- `end_to_end_id` (string, required): BCB endToEndId

### `resolve_dict_key` (~92 tokens)

Resolve a DICT key (CPF, CNPJ, email, phone, EVP) to the owner's account data before sending a Pix. Subject to BCB rate limits per consenting payer.

Input parameters:

- `key` (string, required): DICT key — CPF, CNPJ, email, phone (+55...), or EVP UUID
- `payer_document` (string): Merchant / end-payer CPF/CNPJ for BCB audit logging

### `refund_pix` (~109 tokens)

Refund (devolução) a previously received Pix. Must reference the original endToEndId and a merchant-side refund id.

Input parameters:

- `amount` (string): Refund amount in BRL major units. Omit for full refund.
- `end_to_end_id` (string, required): Original Pix endToEndId to refund
- `reason` (string): Free-text reason (stored by BCB for audit)
- `refund_id` (string, required): Merchant-side refund identifier (alphanumeric up to 35 chars)

### `create_boleto` (~171 tokens)

Issue a boleto via Caixa Cobrança (SICOB). Returns nosso_numero, linha_digitável, barcode, and PDF URL.

Input parameters:

- `amount` (string, required): Amount in BRL major units, e.g. '150.00'
- `due_date` (string, required): Due date ISO-8601 (YYYY-MM-DD)
- `fine` (object): Multa (fine after due date): { percentage?, amount?, days_after_due? }
- `instructions` (array): Free-text instructions printed on the boleto
- `interest` (object): Juros (daily interest after due date): { percentage?, amount? }
- `our_number` (string): Nosso_numero. Omit to have Caixa/SICOB assign one.
- `payer` (object, required): Payer (sacado) data

### `get_boleto` (~37 tokens)

Retrieve a boleto by its Caixa identifier (id or nosso_numero).

Input parameters:

- `id` (string, required): Boleto id or nosso_numero

### `cancel_boleto` (~47 tokens)

Cancel (baixa) an outstanding boleto before payment.

Input parameters:

- `id` (string, required): Boleto id or nosso_numero
- `reason` (string): Cancellation reason code or free text

### `get_statement` (~97 tokens)

Retrieve account statement transactions for a given period. Paginated.

Input parameters:

- `account` (string, required): Agência-conta identifier of the merchant account
- `from` (string, required): Start date ISO-8601 (YYYY-MM-DD)
- `page` (number): Page number (1-indexed)
- `page_size` (number): Items per page (default 50)
- `to` (string, required): End date ISO-8601 (YYYY-MM-DD)

### `get_pix_charge` (~58 tokens)

Retrieve a Pix immediate charge (cob) by its BCB txid. Returns status, QR payload, and associated received Pix (if paid).

Input parameters:

- `txid` (string, required): BCB txid (26-35 alphanumeric chars)

### `update_pix_charge` (~127 tokens)

Update (PATCH) a Pix immediate charge (cob) — e.g. change amount before payment, adjust expiration, or mark as REMOVIDA_PELO_USUARIO_RECEBEDOR.

Input parameters:

- `amount` (string): New amount in BRL major units (optional)
- `description` (string): Payer-visible description
- `expires_in` (number): New QR lifetime in seconds
- `status` (string): New status: ATIVA | REMOVIDA_PELO_USUARIO_RECEBEDOR
- `txid` (string, required): BCB txid of the charge to update

### `list_pix_charges` (~180 tokens)

List Pix immediate charges (cob) filtered by date range and optional status / CPF / CNPJ. Paginated per BACEN Pix v2.

Input parameters:

- `cnpj` (string): Filter by payer CNPJ (digits only)
- `cpf` (string): Filter by payer CPF (digits only)
- `from` (string, required): Start date-time ISO-8601 (e.g. 2025-01-01T00:00:00Z)
- `page` (number): Page number (0-indexed per BACEN)
- `page_size` (number): Items per page
- `status` (string): Filter by status: ATIVA | CONCLUIDA | REMOVIDA_PELO_USUARIO_RECEBEDOR | REMOVIDA_PELO_PSP
- `to` (string, required): End date-time ISO-8601

### `create_pix_due_charge` (~206 tokens)

Create a Pix due-date charge (cobv) with mandatory payer data and due date. Supports fine, interest, discount, and abatement fields.

Input parameters:

- `amount` (string, required): Original amount in BRL major units
- `description` (string): Payer-visible description
- `discount` (object): Desconto: { modalidade, descontoDataFixa: [...] }
- `due_date` (string, required): Due date ISO-8601 (YYYY-MM-DD)
- `fine` (object): Multa: { modalidade: 1|2, valorPerc: string }
- `interest` (object): Juros: { modalidade: 1..7, valorPerc: string }
- `payer` (object, required): Payer (devedor) — required by BACEN for cobv
- `txid` (string, required): Merchant-provided BCB txid (26-35 alphanumeric)
- `validity_after_due` (number): Days the charge remains payable after due date

### `get_pix_due_charge` (~40 tokens)

Retrieve a Pix due-date charge (cobv) by its BCB txid.

Input parameters:

- `txid` (string, required): BCB txid

### `list_pix_received` (~123 tokens)

List received Pix transactions (pix recebidos) by date range. Useful for reconciliation against cob/cobv charges.

Input parameters:

- `cnpj` (string): Optional payer CNPJ filter
- `cpf` (string): Optional payer CPF filter
- `from` (string, required): Start date-time ISO-8601
- `page` (number): Page number (0-indexed per BACEN)
- `page_size` (number): Items per page
- `to` (string, required): End date-time ISO-8601
- `txid` (string): Optional txid filter

### `register_dict_key` (~103 tokens)

Register a DICT key (CPF, CNPJ, email, phone, or EVP) to an account owned by the merchant. Subject to BACEN portability flow for keys claimed elsewhere.

Input parameters:

- `account` (object, required): Account the key should resolve to
- `key` (string): DICT key value. Omit / use EVP to request a random UUID key.
- `key_type` (string, required): Key type: CPF | CNPJ | EMAIL | PHONE | EVP

### `delete_dict_key` (~49 tokens)

Delete (unregister) a DICT key owned by the merchant. The key must belong to a Caixa account under the merchant's contract.

Input parameters:

- `key` (string, required): DICT key to delete

### `download_boleto_pdf` (~55 tokens)

Fetch the rendered boleto PDF for an issued boleto. Returns the PDF URL (or base64 bytes) so it can be attached to an invoice or email.

Input parameters:

- `id` (string, required): Boleto id or nosso_numero

### `get_account_balance` (~46 tokens)

Return the current balance for a Caixa merchant account, including available, blocked, and overdraft limit if present.

Input parameters:

- `account` (string, required): Agência-conta identifier of the merchant account

### `transfer_ted` (~131 tokens)

Initiate an outbound TED transfer from a Caixa merchant account to an external bank account. Settles same-day within BACEN TED windows.

Input parameters:

- `amount` (string, required): Amount in BRL major units
- `beneficiary` (object, required): TED beneficiary data
- `description` (string): Free-text description (max 140 chars)
- `idempotency_key` (string, required): Merchant-side idempotency key (UUID recommended)
- `payer_account` (string, required): Source Caixa account (agência-conta)
- `purpose` (string): Finalidade TED code (e.g. 1=Crédito em Conta)

### `consult_fgts` (~140 tokens)

Query FGTS balance / extrato. Caixa is the sole operator of FGTS (Fundo de Garantia do Tempo de Serviço) and exposes worker-side and employer-side queries through dedicated product contracts.

Input parameters:

- `employer_cnpj` (string): Employer CNPJ — required for employer-side consults
- `from` (string): Start competency YYYY-MM for extrato (optional)
- `pis_pasep` (string): NIS / PIS / PASEP number (optional, improves lookup)
- `to` (string): End competency YYYY-MM for extrato (optional)
- `worker_document` (string, required): CPF of the worker (digits only)

### `pay_tribute` (~194 tokens)

Pay a federal tribute (DARF, GPS, GRU) or other guia de arrecadação via Caixa. Input is the full 44/47-digit barcode or linha digitável plus debit account. Requires arrecadação contract.

Input parameters:

- `amount` (string): Amount to pay in BRL major units (required when barcode has 0000000 amount)
- `barcode` (string, required): 44-digit barcode OR 47/48-digit linha digitável (digits only)
- `due_date` (string): Original due date ISO-8601 (YYYY-MM-DD) — used when barcode does not carry it
- `idempotency_key` (string, required): Merchant-side idempotency key (UUID recommended)
- `kind` (string): Tribute kind hint: DARF | GPS | GRU | FGTS_GRRF | OUTROS
- `payer_account` (string, required): Caixa account to debit (agência-conta)

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/codespar-mcp-caixa/codespar-mcp-caixa#diagnostics

## Score history

- 2026-08-04: 70
- 2026-08-03: 69
- 2026-08-02: 69
- 2026-08-01: 36
- 2026-07-31: 21
- 2026-07-30: 46
- 2026-07-28: 46
- 2026-07-27: 46

## Links

- npm package: https://www.npmjs.com/package/@codespar/mcp-caixa
- Socket report: https://socket.dev/npm/package/@codespar/mcp-caixa
- Repository: https://github.com/codespar/mcp-dev-latam
- Changelog RSS feed: https://verifymcp.io/servers/codespar-mcp-caixa/codespar-mcp-caixa/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/codespar-mcp-caixa/codespar-mcp-caixa/changelog.json
- HTML version of this page: https://verifymcp.io/servers/codespar-mcp-caixa/codespar-mcp-caixa
