Skip to main content

Business, financial, and tax calculator — MCP server + CLI

Project description

finance-calc-mcp

Business, financial, and tax calculator — MCP server + CLI.

Single command install. No cloning required.


Install

# Run directly (no install needed)
uvx finance-calc-mcp calc "185000 * 0.21"

# Or install permanently
uv tool install finance-calc-mcp
# or: pip install finance-calc-mcp

Claude Desktop — MCP Config

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "finance-calculator": {
      "command": "uvx",
      "args": ["finance-calc-mcp"]
    }
  }
}

Restart Claude Desktop.


Claude Code — MCP Config

claude mcp add finance-calculator -- uvx finance-calc-mcp

CLI Usage

# Evaluate any expression
finance-calc-mcp calc "185000 * 0.21"
finance-calc-mcp calc "(850000 - 612000) / 850000 * 100"

# Gross margin
finance-calc-mcp margin 850000 612000

# 2024 US federal income tax estimate
finance-calc-mcp tax 185000 single
finance-calc-mcp tax 320000 married_jointly

# Self-employment tax
finance-calc-mcp se-tax 95000

# Loan amortization (add --schedule for full table)
finance-calc-mcp amortize 400000 6.5 30
finance-calc-mcp amortize 400000 6.5 30 --schedule

# Payroll (optional: state SUTA rate %)
finance-calc-mcp payroll 95000
finance-calc-mcp payroll 95000 3.4

# Depreciation (straight-line default, or double_declining)
finance-calc-mcp depreciation 50000 5
finance-calc-mcp depreciation 50000 5 5000 --method double_declining

# Break-even analysis
finance-calc-mcp break-even 120000 49.99 18.50

# Percent change
finance-calc-mcp pct-change 1200000 1485000

# Format as currency
finance-calc-mcp format 1234567.89

MCP Tools Available to Claude

Tool Description
calculate Safe eval of any math expression
gross_margin Revenue, COGS → profit, margin %, markup %
us_income_tax_estimate 2024 federal tax with bracket detail
self_employment_tax SE tax + deductible half
depreciation Straight-line or double-declining schedule
payroll_summary Employer cost + employee FICA
loan_amortization Monthly payment, total interest, optional full schedule
percent_change % change between two values
break_even Units + revenue to break even
currency_format Format number as $USD

License

MIT

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_calc_mcp-0.1.0.tar.gz (51.6 kB view details)

Uploaded Source

Built Distribution

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

finance_calc_mcp-0.1.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file finance_calc_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: finance_calc_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 51.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.8

File hashes

Hashes for finance_calc_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 011cfb388c942296c98e61f5ce6193aab90618437e2a128bffa2a79ca7fbecd3
MD5 ba5ce6ca2679ea62ce47c128758255f8
BLAKE2b-256 ad64275614c14725e4783abdf93361f99c1dac414e1cedeef881306ad7d52360

See more details on using hashes here.

File details

Details for the file finance_calc_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for finance_calc_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 db53b5c4a204da9ccfc3ed55105cebdf372a445094dde13f3c34f93b67300eda
MD5 004f6a1278fe361c12c326f6a54361b9
BLAKE2b-256 f68b4a6ca474f5f07a28e9ef0512bf8e9f1aa07b1406e94c48bff2d8bbe2bd8d

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