mcp-open-finance MCP Server
MCP server for Open Finance Brasil — accounts, transactions, consents, credit, loans, investments
mcp-open-finance scores 45 (Fair), with no SPDX license recorded. It installs as a local process. It declares 23 tools. Filed under Finance. Package registries report about 72 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
45 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Quality: Grade A
88/100 for listing completeness. Lost points: 2 of 23 tools barely described, short summary, no docs link.
How quality is graded
Where the 45 comes from
22 + 10 + 0 + 0 + 10 + 3 = 45. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 10 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "codespar-open-finance": { "command": "npx", "args": [ "-y", "@codespar/mcp-open-finance@0.2.2" ], "env": { "OPEN_FINANCE_CLIENT_SECRET": "YOUR_OPEN_FINANCE_CLIENT_SECRET" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
OPEN_FINANCE_CLIENT_SECRETSecret | Required | API key for open-finance |
Tools23Tool docs quality grade C
All capabilitiescreate_consenttoolCreate a new consent request for data access
create_paymenttoolInitiate a payment using an authorized payment consent
Create payment-initiation consent (e.g., PIX) via Open Finance
Get account balance via Open Finance
Get account overdraft (limites) via Open Finance
Get business customer qualifications via Open Finance
get_consenttoolGet consent details by ID
Get credit card bills (faturas) via Open Finance
Get credit card transactions via Open Finance
Get loan payment schedule via Open Finance
Get payment initiation status
Get personal customer qualifications (income, occupation) via Open Finance
About
@codespar/mcp-open-finance
MCP server for Open Finance Brasil — open banking standard for accounts, transactions, and consents
Quick Start
Claude Desktop
Add to ~/.config/claude/claude_desktop_config.json:
{
"mcpServers": {
"open-finance": {
"command": "npx",
"args": ["-y", "@codespar/mcp-open-finance"],
"env": {
"OPEN_FINANCE_BASE_URL": "https://api.institution.com.br",
"OPEN_FINANCE_CLIENT_ID": "your-client-id",
"OPEN_FINANCE_CLIENT_SECRET": "your-client-secret"
}
}
}
}
Claude Code
claude mcp add open-finance -- npx @codespar/mcp-open-finance
Cursor / VS Code
Add to .cursor/mcp.json or .vscode/mcp.json:
{
"servers": {
"open-finance": {
"command": "npx",
"args": ["-y", "@codespar/mcp-open-finance"],
"env": {
"OPEN_FINANCE_BASE_URL": "https://api.institution.com.br",
"OPEN_FINANCE_CLIENT_ID": "your-client-id",
"OPEN_FINANCE_CLIENT_SECRET": "your-client-secret"
}
}
}
}
Tools (18)
| Tool | Purpose |
|---|---|
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 |
list_financings | List financing contracts (financiamentos) via Open Finance |
list_investments | List investment products via Open Finance |
create_payment_consent | Create payment-initiation consent (e.g., PIX) via Open Finance |
create_payment | Initiate a payment using an authorized payment consent |
get_personal_qualifications | Get personal customer qualifications (income, occupation) via Open Finance |
get_business_qualifications | Get business customer qualifications via Open Finance |
Authentication
Open Finance Brasil uses OAuth2 client credentials. Each financial institution provides its own base URL and credentials.
Sandbox / Testing
Sandbox availability varies by institution. Contact your financial institution for Open Finance sandbox access.
Get your credentials
- Go to Open Finance Brasil
- Register with a participating financial institution
- Obtain your OAuth2 client credentials
- Set the environment variables
Environment Variables
| Variable | Required | Description |
|---|---|---|
OPEN_FINANCE_BASE_URL | Yes | Institution API base URL |
OPEN_FINANCE_CLIENT_ID | Yes | OAuth2 client ID |
OPEN_FINANCE_CLIENT_SECRET | Yes | OAuth2 client secret |
Roadmap
v0.2 (planned)
revoke_consent— Revoke a data sharing consentlist_payments— List initiated paymentscreate_payment_consent— Create a payment initiation consentinitiate_payment— Initiate a payment via Open Financeget_payment_status— Get payment initiation status
v0.3 (planned)
insurance_products— List insurance products from institutionspension_products— List pension products from institutions
Want to contribute? Open a PR or request a tool.
Links
Enterprise
Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.
License
MIT
Frequently asked questions
What is mcp-open-finance MCP Server?
MCP server for Open Finance Brasil — accounts, transactions, consents, credit, loans, investments
How do I install mcp-open-finance MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. mcp-open-finance MCP Server runs locally from the npm package @codespar/mcp-open-finance with the command npx -y @codespar/mcp-open-finance@0.2.2.
Does mcp-open-finance MCP Server support remote (HTTP) connections?
No remote endpoint is listed for mcp-open-finance MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does mcp-open-finance MCP Server provide?
mcp-open-finance MCP Server provides 23 tools, including create_consent, create_payment, create_payment_consent, and get_account_balance. See the full tool list for descriptions and parameters.
How is mcp-open-finance MCP Server's trust score calculated?
mcp-open-finance MCP Server scores 45 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.