Installation
Get firma running in about 5 minutes. You'll need Node.js 22+, Claude Desktop, and free accounts at Finnhub and FRED.
Requirements
Setup Steps
npm install -g firma-appInstalls two binaries: firma (CLI) and firma-mcp (MCP server).
firma config set finnhub-key YOUR_KEYfirma config set fred-key YOUR_KEYFinnhub keys are at finnhub.io/dashboard. FRED keys are at fred.stlouisfed.org. Both are free.
firma mcp installWrites the MCP server entry into Claude Desktop's config file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS). Restart Claude Desktop to activate.
Open Claude Desktop. Firma tools should appear in the toolbar. Drop a CSV / brokerage export / screenshot in chat (or just describe what you hold) and ask Claude to set up firma:
"[trades.csv attached] Set up firma with these. Then sync prices and FX, and show me my portfolio."
Claude calls add_txn for each row, then sync_prices + sync_fx_rates, then show_portfolio. No CLI commands needed for onboarding. See Importing Data for more examples covering balances and cash flow.
After the initial setup, just ask Claude for the brief once a day:
"Sync everything and give me today's brief."
Claude runs sync_prices + sync_fx_rates (incremental, sub-second after the first run), then get_brief. The response includes holdings with weights, today's P&L, news, upcoming earnings, macro context, and pre-computed insights. See Daily Brief.
Local Data
~/.firma/firma.db (SQLite) and
~/.firma/config.json. Nothing is sent to Firma servers.
Back up ~/.firma/ to preserve your financial history.Support firma