Skip to main content
MCP server CX Codex

mcp-celcoin — Claude Code MCP server: Pix, boleto, transfers

An MCP server that hands your agent Celcoin's payment API: Pix charges, boletos, TED/DOC transfers, top-ups. Handy when a Brazilian payment has to happen from the chat.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add mcp-celcoin -e CELCOIN_CLIENT_SECRET=<CELCOIN_CLIENT_SECRET> -- npx -y @codespar/mcp-celcoin
Open on GitHub

What mcp-celcoin does

Eighteen tools are exposed. The agent can open a Pix payment or an immediate cob charge with a QR code, issue and cancel a boleto, read a bill barcode and then confirm the payment, send a TED/DOC transfer. Lookups come along too: balance, statement for a date range, Brazilian banks by ISPB code, telecom operators for top-ups.

Auth is OAuth2 client credentials and the server refreshes the token on its own. You supply CELCOIN_CLIENT_ID and CELCOIN_CLIENT_SECRET from a Celcoin developer account. Testing runs against sandbox.openfinance.celcoin.dev, switched on with CELCOIN_SANDBOX=true.

Production is the awkward part. Celcoin only accepts live calls over mTLS using a certificate they issue, and only from IPs registered with them beforehand. This server presents no client certificate, so a direct production call answers 401. Point CELCOIN_BASE_URL at a proxy that holds the certificate and terminates mTLS.

What it helps with

  • open a Pix payment and hand over the QR code
  • issue a boleto, then cancel it
  • read a bill barcode before paying
  • send a TED/DOC transfer from the agent
  • top up a phone through a telecom operator

Example prompts for the agent

  • Create a Pix payment for 150 reais and show me the copia-e-cola
  • Read the barcode in boleto.txt and tell me the amount and due date
  • Pull my Celcoin statement for last week

How to install mcp-celcoin

Platform CLI

claude mcp add mcp-celcoin -e CELCOIN_CLIENT_SECRET=<CELCOIN_CLIENT_SECRET> -- npx -y @codespar/mcp-celcoin

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about mcp-celcoin

How do I install mcp-celcoin in Claude Code?

Run claude mcp add mcp-celcoin -e CELCOIN_CLIENT_SECRET=<CELCOIN_CLIENT_SECRET> -- npx -y @codespar/mcp-celcoin, with your own secret in place of the placeholder.

What does mcp-celcoin do?

It exposes Celcoin tools to the agent: Pix, boleto issuance, TED/DOC transfers, bill payment, phone top-ups, balance and statement.

Why does production return 401?

Live calls need mTLS with a Celcoin-issued certificate and a pre-registered IP. The server sends no certificate, so route requests through a proxy that terminates mTLS and set its address in CELCOIN_BASE_URL.

Similar MCP servers

Everything for Finance and business →

From the same set124

mcp-circle Give an agent Circle tools for USDC payments, wallets, payouts and transfers. A Circle API key is required. CX Codex +1 ★ 274repo stars mcp-cielo Wires Cielo payments into your coding agent: card sales, boleto, Pix, recurring charges and payment links, as 22 callable tools. Handy when billing logic lives in the repo you are editing. CX Codex +1 ★ 274repo stars mcp-chargebee Manages recurring subscriptions, customer records, and invoices in Chargebee through your AI agent. Useful for automating SaaS billing tasks directly from the workspace. CX Codex +1 ★ 274repo stars mcp-certta This MCP server exposes Certta identity checks, biometrics, document OCR, fraud scoring, and signature tools to an agent. Its API host currently does not resolve, so the tools cannot reach a service. CX Codex +1 ★ 274repo stars mcp-caixa Connects AI agents to Caixa Econômica Federal for Pix transfers, Cobrança boletos, and statement queries using mTLS and OAuth2. CX Codex +1 ★ 274repo stars mcp-caf This MCP server exposes KYC/KYB, biometrics, document OCR, and Trust Platform flows. Its default service host currently fails DNS resolution. CX Codex +1 ★ 274repo stars mcp-c6 An MCP server exposing Pix, boleto and account calls for C6 Bank to your coding agent. The npm package is deprecated and its hosts do not resolve. CX Codex +1 ★ 274repo stars mcp-btg Connects AI tools to BTG Pactual banking and investment services in Brazil. Handles Pix transfers, boletos, account data, and fund operations under strict mTLS. CX Codex +1 ★ 274repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor