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.

已驗證STDIO僅桌面Data & AnalyticsFinance

概覽

AI 產生的概覽

執行免費的美國理財計算器(信用卡還款、債務整合、貸款成本、加密貨幣費用、緊急預備金),回傳計算過程並附上已填好數字的計算器連結。

功能
提供五個計算器工具: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 金鑰、帳號、環境變數或網路存取。
安裝前請注意
僅供教育用途,不構成理財建議;結果只是依輸入數字得出的估算。此伺服器也推廣付費指南(每本 4.99 美元,全套 24.95 美元,入門包 9.98 美元),並在每個結果中提及對應指南,因此應把指南推薦視為推廣內容。不會要求任何憑證。

安裝

在 SourceWeft 中

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

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.

Education only. Not financial advice. Results are estimates from the numbers entered.

What every result includes

Each calculator tool returns JSON with:

KeyWhat it is
resultThe numbers (months, total interest, payments, costs)
summaryThe result in one plain-English paragraph
formulaThe formula in words, so the user can see how the number was made
calculator_urlThe matching page on therealcost.nohumannearby.com, pre-filled with the inputs
warningsPresent when a plan never pays off or never reaches the goal
go_deeperThe matching guide and chapters, with the guides link
source"The Real Cost by NoBanks Nearby, https://therealcost.nohumannearby.com"
disclaimer"Education only. Not financial advice."

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):

GuidePagesGoes with
The Real Cost of Credit Card Debt112credit card payoff, debt consolidation
The Real Cost of Loans and Big Purchases110loan cost by term, debt consolidation
The Real Cost of Everyday Spending123emergency fund
The Real Cost of Crypto Fees and Taxes110crypto trade cost
The Real Cost of Credit Reports and Scores115loan cost by term
The Real Cost of Paychecks and Taxes109
The Real Cost of Retirement Accounts117
The Real Cost of Student Loans115
The Real Cost of Renting and Buying a Home125loan cost by term
The Real Cost of Scams and Fraud103

$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):

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

bash
claude mcp add therealcost -- uvx --from git+https://github.com/NoBanks/therealcost-mcp therealcost-mcp

Claude Desktop

Add this to claude_desktop_config.json (Settings, Developer, Edit Config), then restart Claude Desktop:

json
{  "mcpServers": {    "therealcost": {      "command": "uvx",      "args": ["--from", "git+https://github.com/NoBanks/therealcost-mcp", "therealcost-mcp"]    }  }}

From a local clone

bash
git clone https://github.com/NoBanks/therealcost-mcpcd therealcost-mcppip install -e .therealcost-mcp   # speaks MCP over stdio

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.

InputTypeDefaultNotes
balancenumberrequireddollars
aprnumberrequiredpercent, 24 means 24%
paymentnumbernonefixed monthly payment to compare
min_pctnumber1minimum = this % of the balance
min_floornumber25dollar floor on the minimum
min_plus_interestbooleantrueminimum also includes that month's interest
json
{"name": "credit_card_payoff", "arguments": {"balance": 5000, "apr": 24, "payment": 200}}

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%)).

InputTypeDefaultNotes
debtsarrayrequired1 to 10 items of {balance, apr, payment, name?}
loan_aprnumberrequiredpercent
loan_term_monthsintegerrequired1 to 600
origination_fee_pctnumber0percent
json
{"name": "debt_consolidation", "arguments": {  "debts": [{"balance": 6000, "apr": 24.99, "payment": 200},            {"balance": 3000, "apr": 27.99, "payment": 110},            {"balance": 2500, "apr": 19.99, "payment": 90}],  "loan_apr": 13, "loan_term_months": 48, "origination_fee_pct": 5}}

loan_cost_by_term

Monthly payment, total interest and total paid for one loan over several terms.

InputTypeDefaultNotes
principalnumberrequireddollars
aprnumberrequiredpercent
termsinteger array[36, 48, 60, 72, 84]months; the first two pre-fill the site
json
{"name": "loan_cost_by_term", "arguments": {"principal": 25000, "apr": 8, "terms": [36, 60]}}

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.

InputTypeDefaultNotes
amountnumberrequireddollars bought
fee_pctnumberrequiredtrading fee per trade, percent
spread_pctnumberrequiredspread per trade, percent
network_fee_buynumber0flat dollars after the buy
network_fee_sellnumber0flat dollars to move coins back to sell
weekly_buynumbernonerecurring buy amount; adds the yearly cost
buys_per_yearinteger5252 weekly, 26 biweekly, 12 monthly
flat_fee_per_buynumber0flat fee some platforms add on small buys
json
{"name": "crypto_trade_cost", "arguments": {"amount": 1000, "fee_pct": 0.6, "spread_pct": 0.5,  "network_fee_buy": 2.5, "network_fee_sell": 2.5, "weekly_buy": 25, "flat_fee_per_buy": 0.99}}

emergency_fund

Goal = monthly expenses x months to cover. Months to reach it, and the monthly amount needed to reach it by a target.

InputTypeDefaultNotes
monthly_expensesnumberrequiredmust-pay expenses per month
months_coveredintegerrequired1 to 60
savednumber0already saved
monthly_addnumber0added each month
apynumber0savings APY, percent
target_monthsinteger12reach the goal in this many months
target_datestringnoneYYYY-MM or YYYY-MM-DD, instead of target_months
json
{"name": "emergency_fund", "arguments": {"monthly_expenses": 2500, "months_covered": 3,  "saved": 500, "monthly_add": 300, "target_date": "2027-10"}}

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.

json
{"name": "list_guides", "arguments": {}}

Errors

Bad input never crashes the server. It returns:

json
{"error": {"type": "validation_error", "message": "Invalid input for credit_card_payoff.",  "details": [{"field": "apr", "message": "Field required"}]}, "disclaimer": "Education only. Not financial advice."}

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.

Calculator pageParameters
/calculators/credit-card-payoff/balance, apr, minPct, minFloor, plusInterest, fixedPayment
/calculators/debt-consolidation/d1b, d1r, d1p, d2b, d2r, d2p, d3b, d3r, d3p (balance, APR, payment per debt), loanApr, loanMonths, feePct
/calculators/loan-term/amount, apr, termA, termB
/calculators/crypto-trade-cost/amount, feePct, spreadPct, networkBuy, networkSell, weekly, freq, flatFee
/calculators/emergency-fund/expenses, monthsCover, saved, monthly, apy, target

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

bash
pip install -e ".[dev]"pytest

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
  1. v0.1.0最新Oct 2, 2026