Official Pix API from Banco Central do Brasil. Instant transfers, QR codes, DICT key lookup, and devolution flows.
Pix BCB gives your agent 18 tools it calls directly β pick the ones it needs, in Claude, Cursor, or any MCP client.
create_cob β Create an immediate Pix charge (cobranca imediata)get_cob β Get immediate charge details by txidlist_cobs β List immediate charges with date range and filters// Your agent calls a tool directly β no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("create_cob", { /* ... */ });$ npm install @codespar/mcp-pix-bcbAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"pix-bcb": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-pix-bcb"
],
"env": {
"PIX_CLIENT_SECRET": "<your_pix_client_secret>"
}
}
}
}After restart, your agent can call any of the 18 tools below β try create_cob first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
PIX_CLIENT_SECRETAPI key for pix-bcb
Each tool is independent β your agent loads only what it needs to reduce context and response time.
create_cobget_coblist_cobsupdate_cobcreate_cobvlist_cobvupdate_cobvget_pixMCP is a protocol β any framework that speaks it can mount this server.