npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@codespar/mcp-open-finance

v0.2.1

Published

MCP server for Open Finance Brasil — accounts, transactions, consents, credit cards, loans, financings, investments, payment-initiation, customer qualifications

Downloads

648

Readme

@codespar/mcp-open-finance

MCP server for Open Finance Brasil — open banking standard for accounts, transactions, and consents

npm License: MIT

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

  1. Go to Open Finance Brasil
  2. Register with a participating financial institution
  3. Obtain your OAuth2 client credentials
  4. 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 consent
  • list_payments — List initiated payments
  • create_payment_consent — Create a payment initiation consent
  • initiate_payment — Initiate a payment via Open Finance
  • get_payment_status — Get payment initiation status

v0.3 (planned)

  • insurance_products — List insurance products from institutions
  • pension_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