CalcWorkBench Logo CalcWorkBench
100% Free for People in Browsers • Deterministic Paid API for AI

Deterministic Engineering & Financial Calculations for AI Agents & MCP

Equip Claude Desktop, Cursor, ChatGPT, and autonomous agents with 7 rigorous, deterministic tools across electrical engineering (verified by Licensed Professional Engineers) and personal finance (period-by-period amortization, multi-debt optimization, and debt-vs-investment analysis).

Professional Engineering Verification

Created and Verified by Licensed Professional Engineers

We test and verify each calculator before release and sometimes weeks can go by between calculator releases or calculator improvements. The electrical related calculators have been developed by Licensed Electrical Power Engineers with verification against codes and standards (NEC / NFPA 70 / IEEE) to eliminate LLM mathematical hallucinations.

Standards Verified:
• NEC 310.16 & 110.14(C)
• NEC 250.122(B) EGC Upsizing
• NEC Ch. 9 Tables 1, 4, 5, 9
• IEEE Std C37.110 (CT Saturation)

Simple, Transparent Pricing

Pay via PayPal, Credit Card, or Autonomous Machine Payments (HTTP 402 / Stripe MPP / x402)

Most Flexible

Prepaid Credit Pack

Ideal for developers, testing & personal agents

$5.00 / 500 Credits
Credits never expire • Instant API key generation
  • ✓ 1 Credit ($0.01) for Standard Calculators (Ampacity, Conduit, Box Fill, Ohm’s Law & Loan Payoff)
  • ✓ 2 Credits ($0.02) for Circuit Designer Bundle
  • ✓ 5 Credits ($0.05) for CT Saturation ODE Solver
  • ✓ Full Remote MCP Server & REST API access
  • ✓ Printable HTML/PDF Submittal generation

Instant API key displayed on screen

Pro Agent Subscription

For engineering teams & automated workflows

$12.00 / month
Unlimited standard calculations (10,000 calls/mo fair use)
  • ✓ Unlimited Circuit Bundle & Ampacity runs
  • ✓ Includes CT Saturation transient simulations
  • ✓ High concurrency & priority Cloudflare Edge
  • ✓ Monthly invoice & team key management

Cancel anytime with 1 click

Autonomous HTTP 402

Machine-to-machine zero-signup micropayments

$0.01–$0.05 / per call
Stripe MPP (Card SPT) • x402 Protocol (Base USDC)
  • ✓ Zero human account registration required
  • ✓ Autonomous agents pay directly via HTTP 402
  • ✓ Supported in Claude Code & AI Agent SDKs
  • ✓ Atomic per-call verification
View HTTP 402 Specs ↓

Standard RFC / IETF drafts

Live API Key Balance Checker & Test Sandbox

Verify your remaining credits or test calculation execution right from your browser.

API Key Credentials
Lost your API key?

Enter your PayPal billing email to recover your active key & credits.

One-Click Integration Guides

Configure your favorite agent environment in seconds

C Claude Desktop & Cursor (MCP)

claude_desktop_config.json

Add to your MCP configuration file to enable all 7 deterministic tools (6 engineering + 1 personal finance) in Claude:

{
  "mcpServers": {
    "calcworkbench": {
      "url": "https://calcworkbench.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

P cURL & Python REST API

POST /api/v1/calculate

Execute the 4-Stage Electrical Circuit Bundle with a single HTTP call:

curl -X POST "https://calcworkbench.com/api/v1/calculate?tool=design_electrical_circuit" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "voltage": 480,
    "phase": "3phase",
    "load_amps": 125,
    "length_ft": 200,
    "continuous_load": true,
    "include_submittal": true
  }'

Available Deterministic Tools (7 Tools)

6 Electrical Engineering Tools (PE-verified) + 1 Personal Finance Engine (CalcWorkBench Deterministic Financial Ledger Engine)

1–5 Credits / Call
design_electrical_circuit
4-stage NEC feeder & branch circuit bundle • 2 Credits ($0.02)
calculate_wire_ampacity_voltage_drop
NEC 310.16 ampacity & IEEE 141 voltage drop • 1 Credit ($0.01)
calculate_conduit_cable_fill
NEC Ch. 9 conduit fill, nipples & jamming • 1 Credit ($0.01)
calculate_electrical_box_fill
NEC 314.16 box volume & 314.28 pull boxes • 1 Credit ($0.01)
calculate_ohms_law_and_circuits
Ohm’s wheel, networks & AC power triangle • 1 Credit ($0.01)
simulate_ct_saturation
IEEE C37.110 RK4 CT transient saturation • 5 Credits ($0.05)
calculate_loan_payoff Personal Finance • 1 Credit ($0.01)

Supports 3 modes: single (amortization, biweekly/accelerated biweekly, extra payments, lump sums, PITI escrow), multi_debt (Avalanche, Snowball, Custom with rollover & negative-amortization alerts), and compare_invest (matched cash-flow Debt vs. Investing with tax drag & break-even return). Outputs clean financial audit Markdown & SVG payoff summary HTML without PE engineering disclaimers.

curl -X POST "https://calcworkbench.com/api/v1/calculate?tool=calculate_loan_payoff" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "mode": "compare_invest",
    "balance": 350000,
    "apr": 6.5,
    "termMonths": 360,
    "extraMonthly": 500,
    "expectedAnnualReturnPct": 8.0,
    "investmentTaxDragPct": 15,
    "include_submittal": true
  }'
Engineering Liability Disclaimer & Terms of Use

While all calculation algorithms and deterministic engines have been engineered and verified in accordance with NFPA 70 (NEC) and IEEE standards by licensed Professional Engineers, all outputs, submittal sheets, and API deliverables are provided as assistive calculation aids for educational and preliminary engineering reference only. Use of these APIs does not establish a Professional Engineer-client relationship. All final design, construction, and permit documents must be reviewed, verified, and sealed by a qualified licensed Professional Engineer or Master Electrician in the relevant jurisdiction.

Read Full Terms & Disclaimer →