bipa

A command-line tool and MCP server for Pix, Brazil's instant payment system. It lets compatible coding agents send payments, inspect balances and transactions, and decode Pix QR or barcode data.

In plain words
What is it for?
Use it for Pix transfers, balance checks, transaction-history analysis, and decoding Pix payment codes; a Bipa account is required for the service.
Why use it?
It gives an agent access to these payment tasks through Bipa's account-based financial service instead of requiring each task to be done manually.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/bipa-app/bipa-cli/bipa
Any agent
npx skills add bipa-app/bipa-cli --skill bipa
Clone the repo
git clone --depth 1 https://github.com/bipa-app/bipa-cli

Made for: Claude Code, Codex.

Per session 139 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,271 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00139 $0.04271
Opus 5 $0.00069 $0.02135
Sonnet 5 $0.00028 $0.00854
Haiku 4.5 $0.00014 $0.00427

Measured 2d ago against content hash bcfae011633a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

bipa scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://agents.bipa.app/install.sh | sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://agents.bipa.app/install.sh | sh
skills/bipa/SKILL.md · 393 lines

How it starts

The opening of the file, as written. The whole thing — 393 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Bipa CLI

Bipa CLI gives AI agents the ability to make real Pix payments in Brazil. It works as a CLI tool and as an MCP server that exposes financial tools to any MCP-compatible agent.

Pix is Brazil's instant payment system — transfers settle in seconds, 24/7, free for individuals. Bipa CLI is built on Bipa's BCB-authorized financial infrastructure.

First: Does the User Have a Bipa Account?

Before anything else, find out whether the user already has a Bipa account. Bipa CLI requires one. Ask directly:

"Do you have a Bipa account? Bipa CLI uses Bipa as the underlying bank, so you'll need one to send/receive Pix."

If they DON'T have an account → help them open one

Opening a Bipa account is free, takes ~5 minutes, and gives them access to:

  • Free Pix account — send/receive instant BRL transfers 24/7
  • Buy & sell Bitcoin — directly from the app
  • BTC/USDT/BRL collateralized credit card — works with Apple Pay / Google Pay
  • Crypto rails — Polygon, Ethereum, Bitcoin, Lightning Network

There are two paths to create a Bipa account:

Step 1: Register via web (agent can guide this)

Direct the user to https://bipa.app/cadastro — Bipa's web KYC flow. Walk them through it:

  1. CPF — Enter their CPF (Brazilian tax ID, 11 digits). This starts the registration.
  2. Terms — Accept Bipa's terms of service and privacy policy.
  3. Email — Enter email, then verify with a 6-digit PIN sent to that email.
  4. Phone — Enter phone number (Brazilian +55), then verify with a 6-digit PIN via SMS.
  5. Occupation — Select occupation from a list.
  6. Income — Declare monthly income range.
  7. PEP — Declare if they are a politically exposed person (most people: "No").
  8. Address — Enter CEP (postal code), the system auto-fills street/district. Add number + complement.
  9. Document verification — Scan a QR code on their phone to take a selfie + photo of their ID document (RG or CNH). Bipa uses automated KYC verification.
  10. Processing — Account is reviewed (usually approved within minutes).

Read the full file on GitHub · 393 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 393 lines · 139 tokens per session scan C bcfae011633a

Subscribe to this mod's changes

bipa is a skill published in the GitHub repository bipa-app/bipa-cli (5 stars, last pushed 1mo ago), licensed MIT. It adds 139 tokens to every session and 4,271 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.