Skip to main content
OF

Open Finance

@codespar/mcp-open-finance Β· v0.2.2

πŸ‡§πŸ‡· BrazilBankingAuth Β· OAuth2live18 tools3 env vars

Open Finance Brasil standard: account data, transactions, consent management, and payment initiation across 100+ institutions.

Get started Β· freeView docs

MIT Β· runs locally with your own credentials

Limitations

  • The package manifest does not declare 2 of the 3 variables the code reads.
Package
@codespar/mcp-open-finance
Version
0.2.2
npm dist-tag
latest
Category
Banking
Auth
OAuth2
Country
πŸ‡§πŸ‡· Brazil
License
MIT
Transport
stdio Β· streamable-http

Quickstart

Install, set the credentials, make the first call.

Pick your client. The server runs locally over stdio, with your own credentials.

Add the server to your clientOne config entry. No build step, no SDK required.
Set the environment variables3 variables read by this server's code, listed below.
Restart and make the first callThe agent can call any of the 18 tools. Try list_accounts first.
terminal
# Claude Code claude mcp add open-finance -e OPEN_FINANCE_BASE_URL=… -e OPEN_FINANCE_CLIENT_ID=… -e OPEN_FINANCE_CLIENT_SECRET=… -- npx -y @codespar/mcp-open-finance@0.2.2 # then: /mcp to confirm the server is connected
Environment variables3 variables
OPEN_FINANCE_BASE_URLRead by the code; the package manifest does not declare it.
OPEN_FINANCE_CLIENT_IDRead by the code; the package manifest does not declare it.
OPEN_FINANCE_CLIENT_SECRETAPI key for open-financerequiredsecret

Names read from the package code (@codespar/mcp-open-finance@0.2.2). Descriptions and flags come from its manifest. Self-hosted, you hold the credentials.

First call demolist_accounts

"List customer bank accounts via Open Finance"

tools/calllist_accountsresult returned

Tools

What your agent can call.

18 tools, as the package's tools/list returns them.

list_accounts

List customer bank accounts via Open Finance

get_account_balance

Get account balance via Open Finance

list_transactions

List account transactions via Open Finance

get_account_overdraft_limits

Get account overdraft (limites) via Open Finance

get_consent

Get consent details by ID

create_consent

Create a new consent request for data access

revoke_consent

Revoke an existing consent (data or payment)

list_credit_cards

List credit card accounts via Open Finance

get_credit_card_bills

Get credit card bills (faturas) via Open Finance

get_credit_card_transactions

Get credit card transactions via Open Finance

list_loans

List loan contracts (emprΓ©stimos) via Open Finance

get_loan_payments

Get loan payment schedule via Open Finance

Names and descriptions come from the package's tools/list (@codespar/mcp-open-finance@0.2.2). A kind (read, write, delete) is shown only when the package annotates its tools or each tool was verified one by one; neither exists for this server yet.

Compatibility

MCP is a protocol. Any client that speaks it can mount this server.

The CodeSpar runtime does not route this server. Mount it in your client over stdio Β· streamable-http.

Protocol

Any MCP client

stdio Β· streamable-http

Questions

Before you install.

How do I install the Open Finance MCP server?

Run npx -y @codespar/mcp-open-finance@0.2.2 and add the config block above to your MCP client: Claude Code, Cursor, Claude Desktop, VS Code, or any MCP-compatible client. No build step, no SDK required.

What can my agent do with Open Finance?

Open Finance exposes 18 tools for banking. Your agent calls them directly; the full list is above.

How does Open Finance authenticate, and how are credentials stored?

Open Finance uses OAuth2. Self-hosted, you hold the credentials: the server reads them from its environment variables.

How does Open Finance handle upstream API changes?

Every server is versioned independently on npm. The command on this page pins 0.2.2, the version whose tools are listed here; your agent keeps running it until you change the version.

Is Open Finance open source? How do I report a bug?

Yes. Open Finance is MIT-licensed and published on npm as @codespar/mcp-open-finance, source on GitHub (link in the Details panel). Report issues on the package repository; security issues go to security@codespar.dev, and we respond within 24 hours.

Start in seconds.

Add the config above, set the variables, and your agent calls the tools.

Start in seconds demo
Add the server to your client with the config above.
Set the environment variables listed above.
Ask your agent for the first call.
Open Finance β€” MCP server Β· 18 tools | CodeSpar