# mcp-nubank

This MCP server is designed to access Nubank accounts, PIX, cards, and boletos through Open Finance Brasil. Its current API endpoint is unreachable.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 274
- Author: codespar
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/codespar/mcp-dev-latam/tree/HEAD/packages/payments/nubank
- Updated: 2026-09-27
- HTML: https://affpapa.org/en/nevibecode/mcp/mcp-nubank

## What it does

mcp-nubank is intended to expose Nubank account tools to an AI coding client. The planned operations cover balances, transactions, statements, card bills, investments, PIX transfers, PIX keys, and boleto payments.

Authentication uses OAuth2 client credentials together with an mTLS certificate. The process expects `NUBANK_CLIENT_ID`, `NUBANK_CLIENT_SECRET`, and `NUBANK_CERT_PATH`; a working provider address can be supplied through `NUBANK_BASE_URL`.

The package is deprecated because DNS currently fails for `api.nubank.com.br`, so none of its tools reaches a live service. Installing the MCP configuration does not restore access until a working endpoint is available.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `NUBANK_CLIENT_ID` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add mcp-nubank -e NUBANK_CLIENT_ID=<NUBANK_CLIENT_ID> -- npx -y @codespar/mcp-nubank
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add nubank --env NUBANK_CLIENT_ID=<NUBANK_CLIENT_ID> -- npx -y @codespar/mcp-nubank
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "nubank": {
            "command": "npx",
            "args": [
                "-y",
                "@codespar/mcp-nubank"
            ],
            "env": {
                "NUBANK_CLIENT_ID": "<NUBANK_CLIENT_ID>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "nubank": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@codespar/mcp-nubank"
            ],
            "env": {
                "NUBANK_CLIENT_ID": "<NUBANK_CLIENT_ID>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e NUBANK_CLIENT_ID=<NUBANK_CLIENT_ID> nubank npx -y @codespar/mcp-nubank
```
Replace <…> with your own values

## When to use it
- read a Nubank account balance
- inspect transactions and statements
- start or track PIX transfers
- manage registered PIX keys
- retrieve and pay boleto details

## Example prompts
- Check my Nubank balance and recent transactions.
- Show the status and details of this PIX transfer.
- Look up the boleto by its barcode and prepare the payment.

## Similar
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89408
- [CCXT](https://affpapa.org/en/nevibecode/mcp/ccxt.md) — MCP server · ★ 44583
- [Finance Toolkit](https://affpapa.org/en/nevibecode/mcp/finance-toolkit.md) — MCP server · ★ 5458
- [EdgarTools](https://affpapa.org/en/nevibecode/mcp/edgartools.md) — MCP server · ★ 2814
- [LetsFG — Flights & Hotels](https://affpapa.org/en/nevibecode/mcp/letsfg-flights-hotels.md) — MCP server · ★ 2188
- [AutoTS](https://affpapa.org/en/nevibecode/mcp/autots.md) — MCP server · ★ 1434

From the same set: [codespar/mcp-dev-latam](https://affpapa.org/en/nevibecode/by/codespar/mcp-dev-latam.md) — 124 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
