Skip to main content
Glama

Fizen MCP

Open Banking for your AI assistant. An MCP server for the Fizen API: bank account information (AIS, PSD2) for Poland and Central Europe, right inside Claude Code, Claude Desktop, Cursor, VS Code and any other MCP client.

npm CI License: Apache 2.0 MCP

Polski · Fizen API docs · Get sandbox keys


Ask your coding assistant "add bank account linking with Fizen to my app" and it can read the API documentation, list the sandbox banks, start a consent, and fetch real (sandbox) account data while it writes and tests your integration.

You:    Connect a test account at fizenbank and show me last month's transactions.
Claude: fizen_list_banks → fizen_start_linking → (you approve at the bank) → fizen_get_transactions
        Here are 23 transactions from 1 to 31 October...

Why

  • Docs your assistant can read. The full Fizen API reference is bundled and searchable, so the assistant stops guessing header names and status codes.

  • A real sandbox in the loop. It calls api.sandbox.fizen.com with your keys and sees real responses, errors and edge cases while it codes.

  • Your keys stay with you. The server runs locally over stdio and talks to the Fizen API directly. Nothing passes through any server of ours.

  • Open source. Read exactly what it does with your credentials. Apache 2.0.

Related MCP server: Pekao MCP Server

What's inside

Tool

What it does

Needs keys

fizen_docs_list

Every section and endpoint of the Fizen API documentation

fizen_docs_search

Keyword search across the documentation

fizen_docs_read

One section or endpoint in full: parameters, responses, cURL example

fizen_environment

Which environment is in use, whether keys are set, sandbox hours

fizen_list_banks

Banks available for account information, with their bankId

✓

fizen_start_linking

Starts a consent at a bank: returns state and the bank page for the user

✓

fizen_get_account

Owner, account number, currency, balances, consent expiry

✓

fizen_get_transactions

Transaction history from a date, optionally with every status

✓

fizen_get_account_owner

Owner name and address for identification (KYC)

✓

fizen_get_consent_definitions

Consent types and versions configured for your client

✓

fizen_get_user_consents

Consents recorded for one end user

✓

fizen_grant_consents

Records consents an end user granted (off in production by default)

✓

fizen_revoke_consents

Revokes an end user's consents (off in production by default)

✓

Retail and company accounts are both supported (accountType: "company", including the extra nip and psuContextIdentifierValue some banks require). Payments are not part of this server: Fizen provides account information only.

Quick start

You need Node.js 20 or later. The documentation tools work right away; the account tools need sandbox keys (see below).

Claude Code

claude mcp add fizen -e FIZEN_API_KEY=your-key -e FIZEN_TOKEN=your-token -- npx -y fizen-mcp

Claude Desktop

Add to claude_desktop_config.json (Settings → Developer → Edit Config):

{
  "mcpServers": {
    "fizen": {
      "command": "npx",
      "args": ["-y", "fizen-mcp"],
      "env": {
        "FIZEN_API_KEY": "your-key",
        "FIZEN_TOKEN": "your-token"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project (or ~/.cursor/mcp.json):

{
  "mcpServers": {
    "fizen": {
      "command": "npx",
      "args": ["-y", "fizen-mcp"],
      "env": { "FIZEN_API_KEY": "your-key", "FIZEN_TOKEN": "your-token" }
    }
  }
}

VS Code

Add to .vscode/mcp.json; VS Code asks for the keys once and stores them securely:

{
  "inputs": [
    { "id": "fizen-key", "type": "promptString", "description": "Fizen API key", "password": true },
    { "id": "fizen-token", "type": "promptString", "description": "Fizen API token", "password": true }
  ],
  "servers": {
    "fizen": {
      "command": "npx",
      "args": ["-y", "fizen-mcp"],
      "env": { "FIZEN_API_KEY": "${input:fizen-key}", "FIZEN_TOKEN": "${input:fizen-token}" }
    }
  }
}

More ready-to-copy configs are in examples/. Any other MCP client works the same way: run npx -y fizen-mcp over stdio with the environment variables below.

Getting keys

  1. Open a developer account at company.fizen.com/signup?as=developer. The business is checked against the public registers by its NIP.

  2. In the Developer tab, request the sandbox. You get an apiKey and a token for api.sandbox.fizen.com.

  3. Give Fizen the AIS return address of your backend: after a user approves access, Fizen posts the account ids there (see How linking works).

Production access follows the agreement with Fizen and requires the public IP address your requests come from.

How linking works

sequenceDiagram
    autonumber
    participant A as Your assistant (MCP)
    participant F as Fizen API
    participant U as End user
    participant B as Bank
    participant S as Your backend

    A->>F: fizen_start_linking(bankId, redirectUri, userId)
    F-->>A: state + redirectUri (bank page)
    A->>U: open redirectUri
    U->>B: log in, approve access (SCA)
    B-->>U: back to your redirectUri
    F->>S: POST callback: state, userId, bankId, accounts, consentExpirationDateTime
    S-->>A: accountId (you pass it on)
    A->>F: fizen_get_account / fizen_get_transactions(bankId, accountId, state)
    F-->>A: account data

The callback goes to the address configured for your API client, not to this MCP server. In the sandbox, any endpoint you can read works: your dev server, a tunnel, or a request inspector. Then give the accountId to the assistant.

Good to know:

  • A consent state lives for 200 days; the bank consent itself expires at consentExpirationDateTime.

  • Send the same userId for the same person: consents with the same userId and bank are grouped, which extends how long history can be read at banks with strict limits.

  • Banks limit how often and how far back history can be read. Read once, store it on your side, then read only what is new.

  • tradeDateFrom must be a day before today.

Example prompts

  • "Using the Fizen docs, write a TypeScript function that fetches the transactions of an account and retries on HTTP 430."

  • "List the sandbox banks and start linking a company account at mbank, returning to http://localhost:3000/bank/return."

  • "Here is the accountId from the callback: …. Show the balance and the last 30 days of transactions."

  • "What does the AIS callback contain, and how long is a state valid?"

  • "Build me an Express endpoint that receives the Fizen AIS callback and stores the accounts."

Configuration

Variable

Default

Description

FIZEN_ENV

sandbox

sandbox (api.sandbox.fizen.com) or production (api.app.fizen.com)

FIZEN_API_KEY

Your API key. Without it only the documentation tools work.

FIZEN_TOKEN

Your API token

FIZEN_BASE_URL

per environment

Override the API address (e.g. a proxy)

FIZEN_TIMEOUT_MS

30000

Request timeout. Transaction history always gets at least 60 s.

FIZEN_ALLOW_CONSENT_CHANGES

false

Allow fizen_grant_consents and fizen_revoke_consents in production

The sandbox works 8:00 to 18:00 UTC. Outside those hours the first request wakes it up, which takes 2 to 5 minutes; the server tells the assistant to wait and retry. Sandbox banks: fizenbank (Fizen's test bank), ing, alior, mbank.

Production

The same server works against production with FIZEN_ENV=production and your production keys. Keep in mind:

  • It returns real people's bank data. You process it under your agreement with Fizen and the GDPR. If an AI assistant reads it, you decide which model provider receives it, and your users should know.

  • IP allowlist. Production requests must come from the IP address registered with Fizen, so run the server where that address applies.

  • Consent records are off by default. Granting or revoking consents must reflect what the end user actually did in your product, so those tools need FIZEN_ALLOW_CONSENT_CHANGES=true in production.

Security

  • Credentials are read from the environment and sent only as request headers to the Fizen API. They never appear in tool results or logs.

  • The server is local (stdio) and makes no requests other than to the configured Fizen API address.

  • Report vulnerabilities privately: see SECURITY.md.

Development

git clone https://github.com/fizen-com/fizen-mcp.git
cd fizen-mcp
npm install        # also builds dist/
npm test           # unit tests, no network
npm run inspect    # try the tools in the MCP Inspector
npm run update-spec  # refresh spec/fizen-api.json from docs.fizen.com

The documentation tools read spec/fizen-api.json, a snapshot of the OpenAPI definition published at docs.fizen.com, limited to account information and the general sections. Contributions are welcome: see CONTRIBUTING.md.

About Fizen

Fizen (FIZEN Sp. z o.o., Łódź, Poland) is an account information service provider supervised by the Polish Financial Supervision Authority (KNF register AISP13/2022). The Fizen API gives businesses standardised access, with the account owner's consent, to retail, company and corporate accounts at the major banks in Poland, the Czech Republic, Slovakia, Hungary and Romania.

License

Apache License 2.0. Copyright 2026 FIZEN Sp. z o.o.

Available Tools

13 tools
fizen_docs_listList Fizen API documentationA
Read-onlyIdempotent

Lists every section (getting started, environments, notifications, consents, account information) and endpoint of the Fizen API documentation, with the ids fizen_docs_read takes.

Inputs: no named parameters.

fizen_docs_readRead Fizen API documentationA
Read-onlyIdempotent

Reads one section (e.g. "environments", "notifications", "getting-started", "lifetime", "ais-retail") or one endpoint (e.g. "GET /{bankId}/account/{accountId}/transactions") in full: parameters, request body, responses and a cURL example.

Inputs: id (required).

fizen_environmentShow Fizen API environmentA
Read-onlyIdempotent

Shows which Fizen API environment this server uses (sandbox or production), its address, whether credentials are set (never their values) and what to know about it.

Inputs: no named parameters.

fizen_get_accountGet account detailsB
Read-onlyIdempotent

Account details for a linked account: owner name and address, account number, currency, available and booked balance, description and consent expiry. Fields vary by bank.

Inputs: state (required), bankId (required), accountId (required), accountType.

fizen_get_account_ownerGet account owner (KYC)A
Read-onlyIdempotent

The account owner's name and address as the bank reports it, to identify the user (KYC).

Inputs: state (required), bankId (required), accountId (required), accountType.

fizen_get_transactionsGet account transactionsA
Read-onlyIdempotent

Transaction history of a linked account. By default only DONE, PENDING and HOLD transactions; includeAllTransactionStatuses adds REJECTED, CANCELED and SCHEDULED. If some statuses could not be fetched, transactionsStatusesFetchFailures lists them. Banks limit how often and how far back history can be read: read once and store it on your side.

Inputs: state (required), bankId (required), accountId (required), accountType, +2 more.

fizen_get_user_consentsGet an end user's consentsC
Read-onlyIdempotent

The consents recorded for one end user, with their status.

Inputs: userId (required).

fizen_grant_consentsRecord consents granted by an end userA
Idempotent

Records consents an end user granted (updates existing ones). Record only what the end user actually agreed to in your product. In production this tool is off unless FIZEN_ALLOW_CONSENT_CHANGES=true.

Inputs: userId (required), consentTypes (required).

fizen_list_banksList banksA
Read-onlyIdempotent

Lists the banks available for account information (AIS) in the current environment, with their bankId.

Inputs: no named parameters.

fizen_revoke_consentsRevoke an end user's consentsB
DestructiveIdempotent

Revokes consents of an end user. Record only what the end user actually agreed to in your product. In production this tool is off unless FIZEN_ALLOW_CONSENT_CHANGES=true.

Inputs: userId (required), consentTypes (required).

fizen_start_linkingStart linking a bank accountA

Starts the account information consent at a bank. Returns the consent state (keep it) and redirectUri, the bank page where the end user logs in and approves access. After approval the user returns to your redirect address and Fizen posts the account ids to the AIS callback address configured for your API client.

Inputs: bankId (required), redirectUri (required), nip, userId, +5 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 13 tools

    Disambiguation4/5

    Most tools have crisp, distinct purposes: docs listing/search/read are separated by intent, and the consent tools split cleanly into definitions, user consents, grant, and revoke. The one real overlap is fizen_get_account versus fizen_get_account_owner, since the account tool already returns owner name and address, so an agent may hesitate over which to call for KYC.

    Naming Consistency4/5

    All tools share the fizen_ prefix and snake_case, with a strong verb_noun pattern (get_account, list_banks, start_linking, grant_consents, revoke_consents). Deviations are minor: the docs family uses noun-first ordering (docs_list, docs_search, docs_read) and fizen_environment is a bare noun.

    Tool Count5/5

    13 tools sits squarely in the well-scoped range for an AIS/open-banking integration. Each group (docs, environment, banks, linking, accounts, transactions, consents) earns its place with no obviously redundant entries.

    Completeness4/5

    The AIS lifecycle is well covered: discover banks, start linking, read accounts, owners and transactions, and manage consents. Gaps exist around connection lifecycle and notifications (no tool to list/refresh/unlink linked accounts or register/manage callback addresses), though the embedded docs tools let an agent work around these.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to access financial data from 20,000+ banks across 40+ countries, allowing users to query account balances, transactions, and spending patterns through natural language.
      4
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with the Pekao banking API for account information, payment initiation, and confirmation of funds via MCP tools.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to query Rede Celcoin account balances, statements, credit card bills, and investments via Open Finance Brazil (read-only, regulated by the Central Bank).
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to access and manage personal financial data from US institutions and manual entries, including transactions, balances, liabilities, and investments.
      MIT