Skip to main content

calcnook-mcp

PyPI License: MIT Python

MCP server wrapping the calcnook financial engine. Gives any MCP-compatible AI agent (Claude Code, Cursor, Goose, Continue, etc.) native access to 17 calculation tools across compound interest, SIP/DCA, loans, retirement planning, BMI/BMR, Islamic finance, income tax (US/UK/CA/AU/India), VAT, End of Service Gratuity, and more.

Install

Preferred — zero setup via uvx:

uvx calcnook-mcp

Or pip:

pip install calcnook-mcp
calcnook-mcp

Configure your AI agent

Claude Desktop / Claude Code

Add to claude_desktop_config.json (or your MCP settings):

{
  "mcpServers": {
    "calcnook": {
      "command": "uvx",
      "args": ["calcnook-mcp"]
    }
  }
}

Cursor

{
  "mcpServers": {
    "calcnook": {
      "command": "uvx",
      "args": ["calcnook-mcp"]
    }
  }
}

Goose / Continue

Use the same JSON block in the respective mcp_servers config section.

Tools

Tool What it does Example query
calculate_compound_interest Future value of a lump-sum at compound interest "What will ₹1L grow to in 10 years at 7%?"
calculate_sip_dca SIP (India) / DCA (global) with optional annual step-up "SIP ₹5000/month for 15 years at 12%"
calculate_loan_payment EMI / mortgage amortization with optional extra payment "EMI for ₹30L home loan at 8.5% for 20 years"
calculate_retirement Corpus needed, monthly SIP to reach corpus, safe withdrawal (4% rule) "How much SIP to reach 2Cr in 20 years?"
calculate_bmi_bmr_tdee BMI + WHO category, BMR (Mifflin-St Jeor), TDEE "BMI for 70kg 175cm"
convert_currency Convert between any currencies using caller-supplied rates "Convert $1000 to INR at 83.5"
format_currency_amount Format amount as currency string; INR supports lakh/crore "Show 25000000 as crores"
calculate_zakat Zakat al-Mal (2.5% wealth obligation): all asset categories, nisab check "Zakat on $25k savings + $5k stocks"
calculate_islamic_financing Murabaha, Ijarah, or Mudarabah financing calculator "Murabaha for $100k house at 30% markup over 5 years"
calculate_hajj_savings Monthly savings needed to fund Hajj by target year "Save monthly for Hajj costing $8000 in 5 years"
screen_halal_stock AAOIFI Sharia compliance screen (debt, cash, receivables, haram revenue ratios) "Is this tech stock halal given these financials?"
calculate_income_tax Federal/national income tax for US, UK, CA, AU, India (2026) "India income tax on ₹12L new regime"
calculate_us_retirement_account Traditional 401(k) contribution analysis or Roth IRA phase-out check "Am I eligible for Roth IRA at $155k income?"
calculate_eosg End of Service Gratuity for UAE or Saudi Arabia "UAE gratuity for 7 years at AED 8000 basic salary"
calculate_vat VAT for UAE (5%) or Saudi Arabia (15%) "UAE VAT on AED 1000 product"
calculate_saudi_zakat_citizen ZATCA-collected Zakat estimate for Saudi/GCC nationals (2.5% of base) "Saudi corporate zakat on SAR 1M base"
calculate_india_electricity_bill India electricity bill with BESCOM/MSEB/BSES presets or custom slabs "BESCOM bill for 250 units in Bangalore"

Built on

calcnook engine — the open-source personal finance calculation library.

DISCOM presets (BESCOM_RESIDENTIAL, MSEB_RESIDENTIAL, BSES_RESIDENTIAL) are importable directly from calcnook.countries.india.electricity_bill for custom slab configuration.

License

MIT

Metadata

Release files for calcnook-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for calcnook-mcp 0.1.0
File Size Uploaded Provenance
calcnook_mcp-0.1.0.tar.gz 20.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for calcnook-mcp 0.1.0
File Interpreter ABI Platform
calcnook_mcp-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 38.2 kB

Release files / calcnook_mcp-0.1.0.tar.gz

Download URL calcnook_mcp-0.1.0.tar.gz
Size 20.4 kB
Tags Source
SHA-256 checksum
How to use checksums
fd30b8ef15a0d33eae893e1cd5be298d8b7abb19933eeba609ed24f9194b64b6
BLAKE2b-256 checksum
How to use checksums
1a7d2b9191816f0ee86b9234f7fc75855ae5252597f103c54f83b7f994f52abe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / calcnook_mcp-0.1.0-py3-none-any.whl

Download URL calcnook_mcp-0.1.0-py3-none-any.whl
Size 17.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
680876315c874fbd457ff0ec20bdf4b0b535220c041fd96f98752488a9027363
BLAKE2b-256 checksum
How to use checksums
9955801d8a1fb2855aadc38573161b9f15c39d6c41abe1cb9961047b53a82fde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for calcnook-mcp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page