Pluggy

Finance and commerce

MCP server for Pluggy, Open Finance Brasil aggregator: accounts, transactions, payment initiation.

Your AI app calls the Pluggy MCP server, which does the finance and commerce work and sends the result back to the chat.

About Pluggy

Pluggy is a community MCP server from codespar, filed in our directory under finance and commerce. MCP server for Pluggy, Open Finance Brasil aggregator: accounts, transactions, payment initiation.

Pluggy runs on your own machine: your AI app starts it with the command npx -y @codespar/mcp-pluggy@0.1.2 and talks to it over standard input and output. It needs PLUGGY_CLIENT_ID and PLUGGY_CLIENT_SECRET set before Pluggy starts.

Pluggy is listed in the official MCP registry as io.github.codespar/mcp-pluggy, version 0.1.2.

At a glance

Publisher
codespar (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @codespar/mcp-pluggy
Written in
TypeScript
License
MIT
GitHub stars
278
Official MCP registry
io.github.codespar/mcp-pluggy

How to set up Pluggy

  1. Install Node.js on the machine that runs your AI app, because Pluggy starts with npx and downloads its package on first run.
  2. Create PLUGGY_CLIENT_ID and PLUGGY_CLIENT_SECRET for Pluggy in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Pluggy to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Pluggy tools to confirm the connection.
  5. Run one read-only task with Pluggy first, and keep your app asking before each tool call until the results look right.

Pluggy compared with similar servers

  • Pomelo by codespar has fewer GitHub stars than Pluggy (278 against 278); both are community servers, and both run locally.
  • Pix Bcb by codespar has fewer GitHub stars than Pluggy (278 against 278); both are community servers, and both run locally.
  • Quickbooks by codespar has fewer GitHub stars than Pluggy (278 against 278); both are community servers, and both run locally.

Before you connect Pluggy

  • Give Pluggy its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Pluggy tool call until you trust what it does with them.
  • Treat text that Pluggy fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Pluggy on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Pluggy

How marketing and sales teams put Pluggy to work, by company size. Pick the size closest to yours and start Pluggy on one use case.

Small business

  • A small business can ask Pluggy which products and customers drive margin, then plan promotions around them.
  • Owners can use Pluggy to check refunds, failed payments and churn reasons without opening three dashboards.
  • Pluggy runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Ecommerce teams can connect Pluggy to tie campaigns to orders and revenue, not just clicks.
  • Marketing and finance can use Pluggy to check spend against budget each week and move money to what's working.
  • Start Pluggy on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should keep Pluggy read-only for agents, with any money movement handled by people and existing approvals.
  • Large commerce teams can use Pluggy to answer revenue questions by channel and region with figures finance signs off on.
  • Pluggy is a community server, so have security review the code and pin a version before Pluggy touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Pluggy README

From codespar/mcp-dev-latam on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

@codespar/mcp-pluggy

MCP server for Pluggy, Open Finance Brasil aggregator (ITP/TPP). Pluggy holds the ICP-Brasil certificate and runs Dynamic Client Registration with each Brazilian bank, so you integrate against one API instead of N.

Quick Start

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "pluggy": {
      "command": "npx",
      "args": ["@codespar/mcp-pluggy"],
      "env": {
        "PLUGGY_CLIENT_ID": "your-client-id",
        "PLUGGY_CLIENT_SECRET": "your-client-secret"
      }
    }
  }
}
Cursor / VS Code

Same config in .cursor/mcp.json or VS Code's MCP integration.

Tools (16)

Connectors + categories
Tool Pluggy endpoint Notes
list_connectors GET /connectors Filter by name / types / countries / sandbox
get_connector GET /connectors/{id} Single connector definition
list_categories GET /categories Transaction categorization taxonomy
Connect token
Tool Pluggy endpoint Notes
create_connect_token POST /connect_token Embed Pluggy Connect widget on the client
Items (bank connections)
Tool Pluggy endpoint Notes
create_item POST /items New bank connection from credentials
list_items GET /items Lists existing connections
get_item GET /items/{id} Single connection
update_item PATCH /items/{id} Refresh credentials / trigger sync
delete_item DELETE /items/{id} Revoke connection
Accounts + transactions + identity
Tool Pluggy endpoint Notes
list_accounts GET /accounts?itemId=... Checking / savings / credit / investment
get_account GET /accounts/{id} Single account
list_transactions GET /transactions?accountId=... Date-range filter
get_transaction GET /transactions/{id} Single transaction
list_identities GET /identity?itemId=... Legal name + document + address
Payments (PISP)
Tool Pluggy endpoint Notes
create_payment_intent POST /payments/intents Initiate a Pluggy Payments intent
get_payment_intent GET /payments/intents/{id} Poll status

Authentication

Pluggy uses an OAuth2 client-credentials flow:

  1. Client obtains an API key by POST /auth with clientId + clientSecret
  2. Subsequent requests include the API key as X-API-KEY

Issue credentials at the Pluggy dashboard:

Sandbox / Testing

Pluggy provides sandbox connectors with synthetic accounts and transactions. The sandbox uses the same API endpoint (https://api.pluggy.ai); the connector list returned by /connectors includes sandbox banks (Pluggy Bank, BR · Pluggy Bank).

Environment Variables

Variable Required Description
PLUGGY_CLIENT_ID yes Client ID from the Pluggy dashboard
PLUGGY_CLIENT_SECRET yes Client secret from the Pluggy dashboard
PLUGGY_API_BASE no Override API base (default https://api.pluggy.ai)

Why use Pluggy via CodeSpar

If you only need the MCP server, install the package directly. If you're building a commerce agent that needs Pluggy + Pix + NF-e + WhatsApp + dashboard governance, look at the managed tier.

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

Questions about Pluggy

What is the Pluggy MCP server?

MCP server for Pluggy, Open Finance Brasil aggregator: accounts, transactions, payment initiation. Pluggy is maintained by codespar on GitHub at codespar/mcp-dev-latam, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Pluggy MCP server?

Add Pluggy to your AI app's MCP config with the command npx -y @codespar/mcp-pluggy@0.1.2. In Claude Code, run claude mcp add --transport stdio codespar-pluggy -- npx -y @codespar/mcp-pluggy@0.1.2. To run Pluggy this way you need Node.js installed.

Does Pluggy need an API key?

Yes. Pluggy expects PLUGGY_CLIENT_ID and PLUGGY_CLIENT_SECRET to be set. Create the key for Pluggy in the connected service's own settings, give it the smallest permissions the job needs, and keep it out of shared config files.

Is Pluggy an official MCP server?

No. Pluggy is a community server maintained by codespar. Community servers can be excellent; read the code and the open issues before you give Pluggy access to company data.

What license is Pluggy under?

Pluggy is released under the MIT license, according to its GitHub repository. The license covers the code of Pluggy; the service it connects to has its own terms.