Skip to main content

Personal finance CLI: bank statement import, transaction categorization, budgets, and net worth tracking

Project description

finance-cli

Personal finance CLI and MCP server for AI-assisted financial management.

Import bank statements (Plaid, CSV, PDF), categorize transactions via rules + AI, track budgets, subscriptions, debt, and net worth. SQLite backend, 151 MCP tools for Claude Code integration.

Features

  • Multi-source import: Plaid API, CSV statements, PDF statements (AI-parsed)
  • Smart categorization: Keyword rules → vendor memory → Plaid PFC → AI fallback
  • Budget tracking: Per-category budgets with alerts and forecasting
  • Debt management: Dashboard, paydown simulator, spending impact analysis
  • Subscription detection: Fixed + metered recurring charge detection
  • Business accounting: P&L, Schedule C, estimated tax, 1099 tracking
  • Net worth tracking: Balance snapshots, investment accounts, projections
  • 151 MCP tools: Full Claude Code integration for AI-assisted workflows

Quick Start

pip install -e ".[all]"     # Install with all provider extras
finance-cli setup init       # Initialize database and seed categories
finance-cli setup connect    # Link bank accounts via Plaid
finance-cli plaid sync       # Sync transactions
finance-cli daily            # Today's spending summary

Installation

# Core only (categorization, budgets, reports)
pip install -e .

# With specific providers
pip install -e ".[plaid]"       # Plaid bank sync
pip install -e ".[stripe]"      # Stripe revenue tracking
pip install -e ".[mcp]"         # Claude Code MCP server
pip install -e ".[all]"         # Everything

Configuration

Set environment variables (or use a .env file):

# Plaid (optional)
PLAID_CLIENT_ID=...
PLAID_SECRET=...
PLAID_ENV=production

# Stripe (optional)
STRIPE_API_KEY=...

# AI categorization (optional)
OPENAI_API_KEY=...
ANTHROPIC_API_KEY=...

Local MCP (Claude Code)

claude mcp add finance-cli -- python3 -m finance_cli.mcp_local

Documentation

Requirements

  • Python 3.11+
  • SQLite (included with Python)

License

PolyForm Noncommercial 1.0.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

finance_cli-1.3.0.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

finance_cli-1.3.0-py3-none-any.whl (2.2 MB view details)

Uploaded Python 3

File details

Details for the file finance_cli-1.3.0.tar.gz.

File metadata

  • Download URL: finance_cli-1.3.0.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for finance_cli-1.3.0.tar.gz
Algorithm Hash digest
SHA256 2bf6578258acdf1ace9fd783802d9c780dd20a15898c1863208aabe7405ece63
MD5 b148072e4c1a7328c441e52e908cf761
BLAKE2b-256 bfa30bbf229c283b843d0049edf9092cbeb50ea0005651edbe5b50f757bf3c5c

See more details on using hashes here.

File details

Details for the file finance_cli-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: finance_cli-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for finance_cli-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8ef3b7a1f98544f524e6e0a38772c0cfd14a55f00dee0b7183e4fd057ba8c33
MD5 177fc7b2fed58cb746701552e86686a9
BLAKE2b-256 e9c7e2a3cf72d443fbd69d434152a6676c9c41475d0c71708016d0ae6109a74c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page