
EveryCalc
io.github.xOyabunxv1.0.0更新于 Oct 10, 2026
8 free finance calculators as MCP tools: mortgage, refinance, loans, interest, salary, tips.
概览
EveryCalc 以 MCP 工具形式提供八个免费个人理财计算器,涵盖房贷、再融资、贷款、利息、薪资、小费和百分比。
- 功能
- 它提供八个计算工具:房贷月供明细(本金、利息、税费、保险、PMI、HOA)、再融资回本月份与终身节省、按 28/36 规则计算购房负担能力、分期贷款还款、含每月投入的复利预测、百分比计算、小费与账单分摊,以及时薪、周薪、双周薪、月薪和年薪之间的换算。每个结果都带有 calculator_url 深链,指向对应的交互式计算器。另有 REST API 提供相同计算。
- 适用场景
- 适合助手需要快速、一致的个人理财算术时使用:估算房贷或贷款月供、比较再融资、评估购房负担能力、预测复利、分摊账单或换算薪资,无需用户手动计算。
- 运行要求
- 远程 Streamable HTTP 端点 API 密钥、注册或本地安装。自行部署需要 Node 18+ 和 wrangler,以 Cloudflare Worker 形式运行。
安装
在 SourceWeft 中
- 打开 控制台中的 EveryCalc,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
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:
- REST API at
everycalc.xyz/api/v1/*— plain GET endpoints, JSON in and out. - 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
Use the hosted MCP server
Add this to your MCP client config:
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:
Response:
Available endpoints (full spec in openapi.json):
GET /api/v1/healthGET /api/v1/calculate/mortgageGET /api/v1/calculate/refinanceGET /api/v1/calculate/affordabilityGET /api/v1/calculate/loanGET /api/v1/calculate/compound-interestGET /api/v1/calculate/percentageGET /api/v1/calculate/tipGET /api/v1/calculate/salaryGET /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.
The OpenAPI document is generated from the same handlers, so API docs never drift from behavior.
Tests
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- v1.0.0最新Oct 10, 2026

