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