
The Real Cost
io.github.NoBanksv0.1.0更新于 Oct 2, 2026
Free US money calculators with the math shown, from The Real Cost. Education only.
概览
运行免费的美国理财计算器(信用卡还款、债务合并、贷款成本、加密货币费用、应急基金),返回计算过程并附上已填好数字的计算器链接。
- 功能
- 提供五个计算器工具:credit_card_payoff、debt_consolidation、loan_cost_by_term、crypto_trade_cost 和 emergency_fund,另有 list_guides。每个结果返回 JSON,包含数字、一段通俗英文摘要、用文字写出的公式、计划永远还不清或达不到目标时的警告,以及可预填网站对应页面的 calculator_url。计算逻辑是该网站自身计算器代码的移植,测试套件复用了网站人工核对的用例。
- 适用场景
- 适合用户让助手计算信用卡还清时间、把合并贷款与现有债务作比较、比较不同期限的贷款成本、估算加密货币交易费用,或规划应急基金,并希望看到公式、再到网站上调整数字的场景。
- 运行要求
- 通过 stdio 运行的本地进程。需要 Python 3.10+;README 建议使用 uv/uvx,或克隆仓库后执行 pip install -e .。未声明需要 API 密钥、账号、环境变量或网络访问。
安装
在 SourceWeft 中
- 打开 控制台中的 The Real Cost,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
therealcost-mcp
Free money calculators for AI agents, from The Real Cost.
The Real Cost by NoBanks Nearby is a free set of US money calculators with the math shown: credit card payoff, debt consolidation, loan cost by term, crypto trading fees and emergency fund. This MCP server lets Claude and other AI assistants run those exact calculators and hand the user a link to the same calculator on the site, already filled in with their numbers, so they can check the math and keep adjusting it.
- Site: https://therealcost.nohumannearby.com
- All calculators: https://therealcost.nohumannearby.com/calculators/
- Guides: https://therealcost.nohumannearby.com/books/
Education only. Not financial advice. Results are estimates from the numbers entered.
What every result includes
Each calculator tool returns JSON with:
The math is a line-for-line port of the site's own calculator code, and the test suite reuses the site's hand-checked cases, so a number from this server matches the number on the site. No network calls, no API keys, no tracking.
The guides
The Real Cost also publishes ten plain-English guides that go deeper than any one calculation, with every number worked out step by step (PDF and EPUB):
$4.99 each at https://therealcost.nohumannearby.com/books/ . All ten come together as the complete set for $24.95 (10 for the price of 5). Guides 1-3 also come as a starter pack for $9.98 (3 for the price of 2); the starter pack does not include guides 4-10.
Free sample chapters (Chapter 1 of each guide, PDF):
- https://therealcost.nohumannearby.com/samples/the-real-cost-of-credit-card-debt-chapter-1.pdf
- https://therealcost.nohumannearby.com/samples/the-real-cost-of-loans-and-big-purchases-chapter-1.pdf
- https://therealcost.nohumannearby.com/samples/the-real-cost-of-everyday-spending-chapter-1.pdf
- https://therealcost.nohumannearby.com/samples/the-real-cost-of-crypto-fees-and-taxes-chapter-1.pdf
- https://therealcost.nohumannearby.com/samples/the-real-cost-of-credit-reports-and-scores-chapter-1.pdf
- https://therealcost.nohumannearby.com/samples/the-real-cost-of-paychecks-and-taxes-chapter-1.pdf
- https://therealcost.nohumannearby.com/samples/the-real-cost-of-retirement-accounts-chapter-1.pdf
- https://therealcost.nohumannearby.com/samples/the-real-cost-of-student-loans-chapter-1.pdf
- https://therealcost.nohumannearby.com/samples/the-real-cost-of-renting-and-buying-a-home-chapter-1.pdf
- https://therealcost.nohumannearby.com/samples/the-real-cost-of-scams-and-fraud-chapter-1.pdf
The server tells connected agents about the guides in its instructions, and each calculator result
names the matching guide, its relevant chapters and its free sample chapter in a calm one-line go_deeper block. The calculators are free and complete
on their own.
Install
Requires Python 3.10+. The easiest runner is uv.
Claude Code
Claude Desktop
Add this to claude_desktop_config.json (Settings, Developer, Edit Config), then restart Claude Desktop:
From a local clone
Then point your client at the therealcost-mcp command (Claude Code: claude mcp add therealcost -- therealcost-mcp).
Tools
credit_card_payoff
Months and total interest to clear a card balance paying only the minimum, versus a fixed monthly payment.
Result (abridged): minimum only 234 months and $8,886.95 interest; $200 a month 36 months and
$2,000.56 interest; link
https://therealcost.nohumannearby.com/calculators/credit-card-payoff/?balance=5000&apr=24&minPct=1&minFloor=25&plusInterest=1&fixedPayment=200
debt_consolidation
Current debts versus one consolidation loan, including the origination fee (taken out of the loan, so the loan is sized up to total / (1 - fee%)).
loan_cost_by_term
Monthly payment, total interest and total paid for one loan over several terms.
Result (abridged): 36 months $783.41 a month; 60 months $506.91 a month.
crypto_trade_cost
Trading fee, spread and network fees on a buy and a later sale at the same price, the price rise needed to break even, and the yearly cost of recurring buys.
emergency_fund
Goal = monthly expenses x months to cover. Months to reach it, and the monthly amount needed to reach it by a target.
Result (abridged): goal $7,500.00; 24 months to reach it at $300 a month; $583.33 a month reaches it in 12 months.
list_guides
No inputs. Returns the ten guides (title, subtitle, pages, what each covers, price), the complete set ($24.95 for all ten, 10 for the price of 5), the starter pack price (guides 1-3 only), and the guides link.
Errors
Bad input never crashes the server. It returns:
Calculator link parameters (for the site)
calculator_url uses the site's own form field ids as query parameters, so the site can pre-fill
each form by reading ?name=value into the field with that id. Numbers are plain (5000, 24.99);
booleans are 1 or 0.
Notes: unused debt rows are sent as dNb=0 so the form's example rows are not counted. With more
than 3 debts the link opens the plain page (the form has 3 rows) and the result says so. Some site
fields are dropdowns (loan terms, months to cover, target, frequency); a value outside the dropdown's
options needs the site to add that option or fall back to its default.
Development
tests/test_calc.py is a port of the site's site/tests/calc-math.test.js (same hand-checked cases
and the same cross-checks), and tests/test_server.py awaits list_tools and call_tool directly.
License
MIT. The Real Cost by NoBanks Nearby.
来源:README.md,提交 a2c6ad1
工具
0版本历史
1- v0.1.0最新Oct 2, 2026

