EveryCalc

io.github.xOyabunxv1.0.0更新於 Oct 10, 2026

8 free finance calculators as MCP tools: mortgage, refinance, loans, interest, salary, tips.

已驗證Streamable HTTP可網頁執行FinanceProductivity & Workflow

概覽

AI 產生的概覽

EveryCalc 以 MCP 工具形式提供八個免費個人理財計算器,涵蓋房貸、再融資、貸款、利息、薪資、小費與百分比。

功能
它提供八個計算工具:房貸月付明細(本金、利息、稅費、保險、PMI、HOA)、再融資回本月份與終身節省、依 28/36 規則計算購屋負擔能力、分期貸款還款、含每月投入的複利預測、百分比計算、小費與帳單分攤,以及時薪、週薪、雙週薪、月薪與年薪之間的換算。每項結果都附有 calculator_url 深層連結,指向對應的互動式計算器。另有 REST API 提供相同計算。
適用情境
適合助理需要快速、一致的個人理財算術時使用:估算房貸或貸款月付、比較再融資、評估購屋負擔能力、預測複利、分攤帳單或換算薪資,無須使用者手動計算。
執行需求
遠端 Streamable HTTP 端點 API 金鑰、註冊或本機安裝。自行部署需要 Node 18+ 與 wrangler,以 Cloudflare Worker 形式執行。
安裝前請注意
這些工具僅依提供的輸入進行計算;結果為估算值,不構成理財建議。輸入資料會傳送至第三方託管服務。不涉及憑證、付款或寫入操作。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 EveryCalc,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "everycalc": {
      "type": "http",
      "url": "https://everycalc.xyz/mcp"
    }
  }
}

README

EveryCalc

Free finance calculators for every part of life, exposed as a REST API and an MCP server so AI assistants can do the math for you.

Live site: https://everycalc.xyz API docs (OpenAPI): https://everycalc.xyz/api/v1/openapi.json MCP endpoint: POST https://everycalc.xyz/mcp (Streamable HTTP, no auth)

What it is

EveryCalc is a collection of interactive personal-finance calculators. This repo hosts the server code that powers two machine-friendly interfaces on top of those calculators:

  1. REST API at everycalc.xyz/api/v1/* — plain GET endpoints, JSON in and out.
  2. MCP server at POST everycalc.xyz/mcp — eight calculator tools for Model Context Protocol clients (Claude, Cursor, and friends).

No API key. No signup. No local install for the hosted version.

Every tool result includes a calculator_url deep link to the matching interactive calculator on everycalc.xyz, so users can explore the numbers visually after the assistant does the math.

The 8 tools

ToolWhat it computes
calculate_mortgageMonthly payment breakdown: principal and interest via the amortization formula, plus property tax, homeowner insurance, PMI, and HOA
calculate_refinanceRefinance break-even month and lifetime savings
calculate_affordabilityHome affordability via the 28/36 rule
calculate_loanAmortizing loan payments
calculate_compound_interestCompound interest projections with monthly contributions
calculate_percentagePercentage calculations
calculate_tipTip and bill splitting
calculate_salarySalary conversions between hourly, weekly, biweekly, monthly, and annual pay

Use the hosted MCP server

Add this to your MCP client config:

json
{  "mcpServers": {    "everycalc": {      "url": "https://everycalc.xyz/mcp"    }  }}

That is the whole setup. The server is remote (Streamable HTTP), so there is nothing to install.

Use the REST API

All endpoints are GET with query parameters. Example:

GET https://everycalc.xyz/api/v1/calculate/mortgage?home_price=400000&down_payment_pct=20&annual_rate_pct=6.5&term_years=30

Response:

json
{  "ok": true,  "tool": "calculate_mortgage",  "inputs": { "homePrice": 400000, "annualRatePct": 6.5, "termYears": 30, "...": "..." },  "results": {    "loan_amount": 320000,    "down_payment_usd": 80000,    "monthly_principal_interest": 2022.62,    "monthly_total": 2022.62,    "total_interest": 408142.36,    "total_cost": 808142.36  },  "calculator_url": "https://everycalc.xyz/mortgage-calculator/"}

Available endpoints (full spec in openapi.json):

  • GET /api/v1/health
  • GET /api/v1/calculate/mortgage
  • GET /api/v1/calculate/refinance
  • GET /api/v1/calculate/affordability
  • GET /api/v1/calculate/loan
  • GET /api/v1/calculate/compound-interest
  • GET /api/v1/calculate/percentage
  • GET /api/v1/calculate/tip
  • GET /api/v1/calculate/salary
  • GET /api/v1/openapi.json

Errors return {"ok": false, "error": {"code": "...", "message": "...", "field": "..."}} with an appropriate HTTP status.

Run it yourself

The server is a Cloudflare Worker. The calculation math lives in src/engine.js as pure functions (no I/O), shared by the REST handlers and the MCP handlers in src/index.js.

Prerequisites: Node 18+, wrangler.

bash
npm install -g wranglerwrangler login# point [assets] directory at your static-site build, then:wrangler deploy

The OpenAPI document is generated from the same handlers, so API docs never drift from behavior.

Tests

bash
npm test

test/test.mjs exercises the REST endpoints against the pure math functions; test/test-mcp.mjs exercises the MCP tool handlers. All green as of the last deploy.

MCP registry

This repo includes server.json, the manifest for the official MCP registry.

License

MIT. See LICENSE.

來源:README.md,提交 69b7759

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v1.0.0最新Oct 10, 2026