lemma-banking-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@lemma-banking-mcp Show me recent transactions for the practice checking account"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
lemma-banking-mcp
Part of PracticeOS — the operating layer for therapy practice owners, by Private Practice Collective.
Live MCP server for the Lemma healthcare banking API (https://api.getlemma.com/v0).
TypeScript, stdio transport, same pattern as stedi-mcp-server / medallion-mcp-server.
Built 2026-09-01 against Lemma's published OpenAPI spec (getlemma.com/docs/openapi.json).
⚠️ Blocker before any live call: no API key yet
Lemma platform API keys are issued manually by the Lemma team — this is not a
key you can generate in the dashboard. Email contact@getlemma.com to request one.
Until then the server runs fine (all 27 tools register) and every call returns a
clear LEMMA_API_KEY not set error instead of crashing. The offline smoke suite
(npm run smoke) proves the full behavior against a mocked API.
Related MCP server: fineye-mcp
Safety model — this API moves real money
Read-only by default. The 22 read tools work with just an API key.
The 5 write tools (
lemma_create_external_account,lemma_move_money_externally,lemma_move_money_internally,lemma_create_card,lemma_delete_card) are registered but blocked unlessLEMMA_ENABLE_WRITES=trueis set in the env block, and each call passesconfirm: true(stedi-mcp-server precedent).Even fully enabled, every write tool's description tells the calling agent it moves real money / creates a real financial instrument — the MCP being callable does not waive Claude's explicit-permission rule for financial actions.
Every POST carries a mandatory
Idempotency-Key(10–256 chars,[A-Za-z0-9-_:]), derived deterministically from the caller'sreferenceparam — same reference → same key, so retries replay instead of double-paying. The HTTP layer never auto-retries POSTs; only GETs back off on 429 (500 req/min limit).Amounts: wire format is integer cents; tools accept
amount_dollarsand convert internally (sub-cent precision rejected). Responses annotate cent fields with*_dollarssiblings.Saved recipients are immutable — no update API; archiving is email-only (contact@getlemma.com), which the tool description states rather than attempts.
Build / test
npm install
npm run build # tsc → build/index.js
npm run smoke # offline: mock API, 14 assertions, no key neededClaude Desktop registration
Add to ~/Library/Application Support/Claude/claude_desktop_config.json under
mcpServers (placeholders — paste real values only into the config, never here;
use an absolute node path since GUI apps don't inherit shell PATH — find yours
with which node):
"lemma-banking-mcp": {
"command": "/absolute/path/to/node",
"args": ["/absolute/path/to/lemma-banking-mcp/build/index.js"],
"env": {
"LEMMA_API_KEY": "<platform key from the Lemma team>",
"LEMMA_ENABLE_WRITES": ""
}
}Leave LEMMA_ENABLE_WRITES empty/absent for read-only. Set it to "true" only
deliberately, when money movement is intended.
Env vars: LEMMA_API_KEY (or HD_LEMMA_API_KEY), LEMMA_ENABLE_WRITES,
LEMMA_BASE_URL (default https://api.getlemma.com/v0), LEMMA_TIMEOUT_MS (30000).
Scope notes (v1)
Not included: webhooks (Lemma calling us — needs a running HTTP receiver, separate project), the forthcoming TypeScript SDK (unreleased), and invoicing / lockbox EOB parsing / team management / approval rules (dashboard-only, no documented API endpoints yet).
lemma_list_entities'npifilter is client-side (the API has no npi query param).lemma_get_card_iframeis flagged sensitive — it returns a short-lived URL that renders the full PAN/CVV.Docs lookups: use the separate read-only
lemma_docs_mcpserver; its corpus is the marketing/guides subset, while this server was built from the live OpenAPI spec.
Available Tools
27 toolslemma_create_cardA
WRITE -- CREATES A REAL FINANCIAL INSTRUMENT: issue a virtual debit card drawing on a Lemma bank account. At least one spending limit is REQUIRED (Lemma sets no ceiling of its own -- a card without limits could spend the entire account balance in one transaction). Requires explicit user approval before every call.
Inputs: nickname (required), reference (required), bank_account_id (required), spending_limits (required), +1 more.
lemma_create_external_accountA
WRITE: save a new external bank account (saved recipient) for an entity -- the required first step before any external transfer. Creates a REAL payment destination. Saved recipients are IMMUTABLE once created: there is no update API, and archiving is done by emailing the Lemma team (contact@getlemma.com), not via API -- so double-check routing/account numbers before confirming.
Inputs: nickname (required), entity_id (required), reference (required), holder_name (required), +5 more.
lemma_delete_cardA
WRITE -- PERMANENTLY cancels a real card so it can no longer be used. Idempotent by nature (DELETE; no idempotency key needed). Requires explicit user approval before every call.
Inputs: card_id (required), confirm.
lemma_get_account_settlement_instructionsA
Download a bank account's settlement instructions as a PDF. Pass save_to (absolute path) to write the file; otherwise small PDFs are returned base64-inline.
Inputs: account_id (required), save_to.
lemma_get_ach_transferA
Get one outbound ACH transfer by ID (status: pending/submitted/settled/returned/canceled/rejected).
Inputs: ach_transfer_id (required).
lemma_get_bank_accountA
Get one bank account (name, account/routing number, balances).
Inputs: account_id (required).
lemma_get_book_transferA
Get one internal book transfer by ID.
Inputs: book_transfer_id (required).
lemma_get_cardA
Get an issued virtual debit card by ID (nickname, last 4, status, every authorization control and spending limit).
Inputs: card_id (required).
lemma_get_card_iframeA
SENSITIVE: get a short-lived iframe URL that renders the card's full PAN/CVV. The URL expires quickly and exposes real card credentials -- only fetch it when the user explicitly needs to view card details, never log or store it.
Inputs: card_id (required).
lemma_get_check_depositA
Get one check deposit by ID.
Inputs: check_deposit_id (required).
lemma_get_entityB
Get one entity by ID (name, legal structure, NPI, address).
Inputs: entity_id (required).
lemma_get_entity_lockboxA
Get an entity's lockbox mailing address (where payers send checks/EOBs).
Inputs: entity_id (required).
lemma_get_external_accountA
Get one saved recipient by ID (nickname, routing/account number, holder type, status).
Inputs: external_account_id (required).
lemma_get_inbound_ach_transferA
Get one inbound ACH transfer by ID.
Inputs: inbound_ach_transfer_id (required).
lemma_get_pdfA
Download a file by file ID (e.g. a scanned lockbox mail item). Pass save_to (absolute path) to write it; small files return base64-inline.
Inputs: file_id (required), save_to.
lemma_get_remittance_eraA
Fetch a remittance's 835 Electronic Remittance Advice as raw X12. Returns the X12 text inline (or save_to a file for large ERAs).
Inputs: remittance_id (required), save_to.
lemma_get_transactionA
Get one transaction (amount, counterparty, source category, linked card if any).
Inputs: transaction_id (required).
lemma_list_bank_accountsB
List Lemma bank accounts for an entity, with balances (cents; *_dollars annotated).
Inputs: entity_id (required), limit, cursor.
lemma_list_check_depositsB
List check deposits, optionally filtered by account (status, holds, MICR payer details).
Inputs: limit, cursor, account_id.
lemma_list_entitiesA
List legal entities this platform API key has been granted access to. Entities are the top-level scope -- most other tools take an entity_id or account_id from here. Do not assume a single entity.
Inputs: npi, limit, cursor.
lemma_list_entity_mailA
List lockbox mail received for an entity, including any checks found in each mail item (amounts in cents, *_dollars annotated).
Inputs: entity_id (required), limit, cursor, received_on_or_after, +1 more.
lemma_list_external_accountsA
List saved recipients (external bank accounts) for an entity. These are the only allowed destinations for external transfers.
Inputs: entity_id (required), limit, cursor.
lemma_list_inbound_ach_transfersB
List inbound ACH transfers (money pushed/pulled by outside parties), optionally filtered by account.
Inputs: limit, cursor, account_id.
lemma_list_remittancesB
List an entity's insurance remittances (payer, payment amount, trace number, whether an 835 ERA is available).
Inputs: entity_id (required), limit, payer, cursor, +3 more.
lemma_list_transactionsA
List transactions for a bank account (paginated; amounts in cents, *_dollars annotated).
Inputs: account_id (required), limit, cursor.
lemma_move_money_externallyA
WRITE -- MOVES REAL MONEY: send an ACH transfer from a Lemma account to a SAVED RECIPIENT (destination must be an external_account_id from lemma_list_external_accounts; arbitrary bank accounts are rejected). Settles in 1-2 business days; transfers over $100,000 are held for manual review by Lemma. Requires explicit user approval before every call.
Inputs: reference (required), amount_dollars (required), source_account_id (required), destination_account_id (required), +2 more.
lemma_move_money_internallyA
WRITE -- MOVES REAL MONEY: instant, free book transfer between two Lemma accounts owned by this platform's granted entities. Requires explicit user approval before every call.
Inputs: reference (required), amount_dollars (required), source_account_id (required), destination_account_id (required), +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 27 tools
For the most part every tool targets a distinct resource (entities, bank accounts, cards, ACH, check deposits, remittances), and get/list pairs are clear. However, lemma_get_ach_transfer and lemma_get_inbound_ach_transfer differ only by one word in the tool name, and the generic 'ach_transfer' name hides that it is the outbound variant; list_transactions also overlaps conceptually with the resource-specific list tools.
All tools share the lemma_ prefix and mostly follow lemma_<verb>_<noun>, with get/list/create/delete/move verbs. Minor deviations exist: lemma_get_ach_transfer does not mark outbound while its inbound counterpart does, and lemma_get_account_settlement_instructions breaks the concise noun pattern.
27 tools is above the typical 3-15 range, but the server covers a genuinely broad banking domain: entities, accounts, transactions, cards, transfers, check deposits, remittances, lockbox mail, and external recipients. Each tool maps to a distinct endpoint or resource and none are duplicates, so the size feels justified rather than bloated.
Core banking operations are covered well: list/get accounts and transactions, create external accounts, move money internally/externally, and create/delete cards. However, there is no way to list cards or update card spending limits, and outbound ACH/book transfers have get-by-ID but no list endpoint, which are notable lifecycle gaps for a banking surface.
Maintenance
Related MCP Connectors
Connect AI agents to bank accounts, transactions, balances, and investments.
Connect AI agents to financial institution origination, analytics, and compliance workflows.
Read-only access to your own bank, card and brokerage accounts for Claude, ChatGPT and other AI agents: balances, transactions, spending, subscriptions, cashflow and investment holdings. It can never move money.
Read-only receipts, budgets & bank data for AI agents. Free plan includes 1 bank via Plaid.
Related MCP Servers
AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with the Griffin API for banking operations like opening accounts, creating payments, and managing legal persons.16 npm14MIT- AlicenseNot gradedqualityDmaintenanceEnables AI agents to securely access and manage your FinEye personal-finance data—accounts, transactions, budgets, categories, tags, holdings, and spending analytics—with read-only, write, and delete operations controlled by explicit safety gates.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to access banking data APIs and list customers, connections, accounts, and posted transactions, with metering tied to the caller’s own API key.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to query account balances, audit corporate ledgers, and prepare or execute banking transfers under strict whitelisting, spending caps, human approval, and emergency freeze controls.Business Source 1.1