therealcost-mcp
Run free US money calculators for AI agents and return pre-filled links to The Real Cost site with guide suggestions.
Calculate credit card payoff: months and total interest paying only the minimum vs. a fixed monthly payment.
Compare debt consolidation: current debts vs. one consolidation loan, including origination fee effects.
Compare loan costs by term: monthly payment, total interest, and total paid for multiple loan terms.
Estimate crypto trading costs: fees, spread, network fees, break-even price rise, and recurring-buy yearly costs.
Plan an emergency fund: goal amount, months to reach it, and required monthly deposit by target date or months.
List The Real Cost's ten money guides with prices, contents, and starter-pack details.
Each calculator returns JSON with result numbers, a plain-English summary, formula in words, warnings when relevant, a pre-filled
calculator_url, matching guide info (go_deeper), source, and disclaimer.Return structured validation errors for bad input instead of crashing.
Works over stdio with no network calls, API keys, or tracking.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@therealcost-mcp how long to pay off $5,000 credit card at 22% APR paying $200/month?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
All calculators: https://therealcost.nohumannearby.com/calculators/
Education only. Not financial advice. Results are estimates from the numbers entered.
What every result includes
Each calculator tool returns JSON with:
Key | What it is |
| The numbers (months, total interest, payments, costs) |
| The result in one plain-English paragraph |
| The formula in words, so the user can see how the number was made |
| The matching page on therealcost.nohumannearby.com, pre-filled with the inputs |
| Present when a plan never pays off or never reaches the goal |
| The matching guide and chapters, with the guides link |
| "The Real Cost by NoBanks Nearby, https://therealcost.nohumannearby.com" |
| "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.
Related MCP server: mquickcalc-utility
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):
Guide | Pages | Goes with |
The Real Cost of Credit Card Debt | 112 | credit card payoff, debt consolidation |
The Real Cost of Loans and Big Purchases | 110 | loan cost by term, debt consolidation |
The Real Cost of Everyday Spending | 123 | emergency fund |
The Real Cost of Crypto Fees and Taxes | 110 | crypto trade cost |
The Real Cost of Credit Reports and Scores | 115 | loan cost by term |
The Real Cost of Paychecks and Taxes | 109 | |
The Real Cost of Retirement Accounts | 117 | |
The Real Cost of Student Loans | 115 | |
The Real Cost of Renting and Buying a Home | 125 | loan cost by term |
The Real Cost of Scams and Fraud | 103 |
$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-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-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 mcp add therealcost -- uvx --from git+https://github.com/NoBanks/therealcost-mcp therealcost-mcpClaude Desktop
Add this to claude_desktop_config.json (Settings, Developer, Edit Config), then restart Claude Desktop:
{
"mcpServers": {
"therealcost": {
"command": "uvx",
"args": ["--from", "git+https://github.com/NoBanks/therealcost-mcp", "therealcost-mcp"]
}
}
}From a local clone
git clone https://github.com/NoBanks/therealcost-mcp
cd therealcost-mcp
pip install -e .
therealcost-mcp # speaks MCP over stdioThen 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.
Input | Type | Default | Notes |
| number | required | dollars |
| number | required | percent, 24 means 24% |
| number | none | fixed monthly payment to compare |
| number | 1 | minimum = this % of the balance |
| number | 25 | dollar floor on the minimum |
| boolean | true | minimum also includes that month's interest |
{"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%)).
Input | Type | Default | Notes |
| array | required | 1 to 10 items of |
| number | required | percent |
| integer | required | 1 to 600 |
| number | 0 | percent |
{"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.
Input | Type | Default | Notes |
| number | required | dollars |
| number | required | percent |
| integer array | [36, 48, 60, 72, 84] | months; the first two pre-fill the site |
{"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.
Input | Type | Default | Notes |
| number | required | dollars bought |
| number | required | trading fee per trade, percent |
| number | required | spread per trade, percent |
| number | 0 | flat dollars after the buy |
| number | 0 | flat dollars to move coins back to sell |
| number | none | recurring buy amount; adds the yearly cost |
| integer | 52 | 52 weekly, 26 biweekly, 12 monthly |
| number | 0 | flat fee some platforms add on small buys |
{"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.
Input | Type | Default | Notes |
| number | required | must-pay expenses per month |
| integer | required | 1 to 60 |
| number | 0 | already saved |
| number | 0 | added each month |
| number | 0 | savings APY, percent |
| integer | 12 | reach the goal in this many months |
| string | none |
|
{"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.
{"name": "list_guides", "arguments": {}}Errors
Bad input never crashes the server. It returns:
{"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 page | Parameters |
|
|
|
|
|
|
|
|
|
|
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
pip install -e ".[dev]"
pytesttests/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.
Available Tools
6 toolscredit_card_payoffA
Credit card payoff: months and total interest to clear a balance paying only the card minimum, versus a fixed monthly payment (optional), and the difference. Returns the formula in words and a pre-filled link to The Real Cost's free calculator. Education only.
Inputs: apr (required), balance (required), min_pct, payment, +2 more.
crypto_trade_costA
Crypto trading cost: the 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 (with weekly_buy) the yearly cost of recurring buys. Returns the formula and a pre-filled calculator link. Education only, not investment advice.
Inputs: amount (required), fee_pct (required), spread_pct (required), weekly_buy, +4 more.
debt_consolidationA
Debt consolidation: compare current debts (each with balance, APR, monthly payment) against one consolidation loan, including the origination fee taken out of the loan. Returns monthly payment, months, total interest and total cost for both, the formula, and a pre-filled calculator link. Education only.
Inputs: debts (required), loan_apr (required), loan_term_months (required), origination_fee_pct.
emergency_fundA
Emergency fund: goal = monthly expenses x months to cover, months to reach it from current savings and a monthly deposit (optional APY), and the monthly amount needed to reach it by a target date or number of months. Returns the formula and a pre-filled calculator link. Education only.
Inputs: months_covered (required), monthly_expenses (required), apy, saved, +3 more.
list_guidesA
List The Real Cost's ten plain-English money guides (titles, page counts, what each covers, $4.99 each; guides 1-3 also as a $9.98 starter pack) with the link to the guides page. Use when a user wants to go deeper than one calculation.
Inputs: no named parameters.
loan_cost_by_termA
Loan cost by term: monthly payment, total interest and total paid for the same loan over several terms (default 36, 48, 60, 72, 84 months). Returns the formula and a pre-filled calculator link. Education only.
Inputs: apr (required), principal (required), terms.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each calculator targets a clearly distinct financial scenario (credit card payoff, debt consolidation, loan term comparison, crypto trading costs, emergency fund), so an agent can easily select the right one. list_guides is also clearly separate as a guide-listing tool. No overlapping purposes or ambiguous boundaries.
All names use a consistent lowercase snake_case style and are highly readable. There is one minor deviation in convention: list_guides uses a verb_noun pattern, while the calculators use descriptive noun phrases. Still, the set feels predictable overall.
Six tools is well-scoped for a focused financial education/calculator server. Each tool covers a distinct calculation or resource, so none feels redundant or missing from a count perspective. The surface is compact and purposeful.
The server covers core money-cost calculators and guides, with a generic loan term tool that can handle many loan types. Minor gaps exist, such as no explicit savings goal or mortgage-specific calculator beyond loan_cost_by_term, but agents can work around them. Overall the surface is near-complete for the stated educational purpose.
Maintenance
Related MCP Connectors
Loan & mortgage calculator, compound interest, ROI, crypto prices, FX conversion for AI agents.
55 stateless calculators for AI agents: loans and mortgage amortization, income and sales tax, retirement and FIRE, BMI and health, date and planning, and unit conversions, returned as clean JSON. Nothing is stored. Part of FreeDailyPro's 211+ MCP tools; trial key with 20,000 calls/month at freedailypro.com/developers.
Tested financial & practical calculators as free, no-auth MCP tools for AI agents.
SmartMoney77 MCP v0.6.0 — 14 public tools that turn financial questions into exact numbers and citable links. New: historical_investment_return and compare_investments, which compute "what if I had invested" results from real yearly price data. Also compound interest, FIRE number, credit-card payoff, emergency fund, inflation, latte factor, investment fees, cost of waiting, plus discovery/deep-link/share-pack tools for a catalog of calculators in 6 languages (he/en/ar/es/pt/in). Public, no login. Endpoint: https://smartmoney77.com/mcp
Related MCP Servers
- AlicenseBqualityCmaintenanceProvides 77 deterministic financial calculators, live market data, and a meta-advisor that chains tools into prioritized plans from plain-language descriptions.777MIT
- AlicenseBqualityCmaintenanceEnables AI agents to perform 22 unit conversions and common calculations such as length, weight, temperature, volume, tip, percentage, date difference, age, currency, cooking, and fuel consumption.141MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to run finance, military, school, and everyday calculations through 69 hosted calculator tools over a no-auth Streamable HTTP endpoint, returning results with deep links to the matching interactive calculators.MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to run free, read-only calculators built on official government rules across Ireland, the UK, Canada, Québec, Australia and New Zealand, covering taxes, welfare benefits, pensions, property transaction taxes, parental leave and savings. Every result links the public calculator page and the official sources it relies on, so agents can cite them.-