Worthune Models
Worthune SDKs
Official SDKs for the Worthune Model API —
verified financial calculation models you can cite, audit, and trust,
callable over REST or MCP. Free with attribution, no API keys. The catalog
grows in verified packs (loans & credit, retirement & tax, startup & small
business, with more steered by requests);
GET /api/v1/models is always the live list.
JavaScript / TypeScript:
npm install worthune— zero dependencies, Node 18+ and browsersPython:
pip install worthune— zero dependencies, Python 3.9+No SDK at all: it's plain JSON over HTTPS —
POST https://worthune.com/api/v1/models/{model}(the catalog keeps growing —GET /api/v1/modelsis always the live list)MCP (Claude, ChatGPT, agents):
https://worthune.com/api/mcp/mcp—com.worthune/modelsin the official MCP registry
Why these models are different
Financial calculators are easy to write and easy to get subtly wrong. Worthune treats accuracy as an artifact, not a claim:
Every model has a published spec — inputs, units, valid domains, exact formulas, assumptions, exclusions. The spec is one GET request:
GET /api/v1/models/{model}/spec.Two implementations must agree. Each model is independently rebuilt from its spec, and both implementations must match on 250 fuzzed cases per model — across the entire catalog — before any change ships. Disagreement anywhere stops the release.
Constants have provenance. IRS limits, brackets, and SSA factors come from a sourced registry with primary-source citations and verification dates — and every response cites the constants it used.
No silent changes. Model behavior changes ship as spec version bumps with a public changelog. Responses pin their
specVersion.
Related MCP server: QuantOracle
Sixty seconds to a verified computation
import { Worthune, verifyRecord } from "worthune";
const client = new Worthune();
const result = await client.run("relocation", {
currentSalary: 95000, newSalary: 108000,
currentMonthlyExpenses: 4200, newMonthlyExpenses: 4900,
movingCosts: 6000, currentSavings: 40000,
annualReturn: 0.07, yearsHorizon: 10,
});
result.outputs.breakEvenMonths; // 16
result.specVersion; // "1.0.0" — pinned contract
result.facts; // IRS/SSA constants used, with sources
await verifyRecord(result); // true — SHA-256 audit fingerprint checks outfrom worthune import Worthune, verify_record
client = Worthune()
result = client.run("relocation", {...})
result["outputs"]["breakEvenMonths"]
verify_record(result) # TrueWhat's in the box
Capability | JS | Python |
Run any model in the catalog |
|
|
Machine-readable contract |
|
|
Full spec (markdown) |
|
|
Eval datasets (ground truth for financial AI) |
|
|
Sourced IRS/SSA constants |
|
|
Decision-record verification |
|
|
Decision records: every successful response includes record.sha256 — a
hash over the canonical JSON of {model, specVersion, inputs, outputs} (keys
sorted recursively). Store it next to anything you build on the outputs;
recompute it later to prove the numbers came from that spec version,
unaltered. Both SDKs implement the recipe, byte-exactly.
Households: stateful planning resources (v0.2)
Beyond one-shot model runs, an API key opens the household engine — persistent, organization-owned household resources you create once, keep updated, and project on demand:
const client = new Worthune({ apiKey: "wk_…" });
const { household } = await client.createHousehold(doc, "The Alvarez family");
const run = await client.projectHousehold(household.id, {
horizon: { startYear: 2027, years: 40 },
monteCarlo: { seed: 42 }, // same seed, same result
});
// run.assumptionsSource names where the assumptions came from;
// run.projection.assumptionsApplied lists every simplification that fired.client = Worthune(api_key="wk_…")
created = client.create_household(doc, label="The Alvarez family")
run = client.project_household(created["household"]["id"],
horizon={"startYear": 2027, "years": 40},
monte_carlo={"seed": 42})Replaces use optimistic concurrency (pass expectedVersion and a stale
write loses cleanly with the current version), deletes archive rather than
destroy, and webhook endpoints (createWebhookEndpoint) deliver signed
household.computed / household.updated / household.archived events —
HMAC-SHA256 over ${timestamp}.${body}, secret shown once at create.
Fair use & attribution
Everything here is free with attribution — a visible "Powered by Worthune" with a link where end users see results. Fair use is 5,000 model runs a month per app (a guideline, not a meter). The details, in writing: worthune.com/pricing.
What this repo is (and isn't)
This repo contains the API clients, examples, and their tests. The models themselves — the specs, the verified engine, the second implementation, and the facts pipeline — live behind the API at worthune.com. That separation is the product: you get verified computation as a service, without owning the verification burden.
License
MIT (the SDK code in this repository). API usage is governed by the Worthune terms.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
61 verified financial models plus household planning and coordination tools; specs cited.
Finance canon lookup plus 30 deterministic formulas, each with a verifiable receipt.
131Deterministic company valuation and corporate finance tools for AI agents — IRR, NPV, MOIC, DCF, WACC, enterprise value, EV multiples, CAPM, beta and sensitivity analysis via Model Context Protocol. Useful for financial analysis, equity analysis, quantitative analysis, financial projections, financial formulas and financial modeling.
200+ transparent financial metrics calculated from raw statements, not third-party endpoints.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceReturns verified financial data (SEC EDGAR & FRED) with machine-readable citations. Guaranteed zero hallucinations for AI agents.-
- AlicenseAqualityAmaintenance63 deterministic quant computation tools for autonomous financial agents. Options pricing, derivatives, risk metrics, portfolio optimization, statistics, crypto/DeFi, macro/FX, time value of money. 1,000 free calls/day, no signup required.7411MIT
- FlicenseNot gradedqualityAmaintenanceFinancial model factory MCP server: turns a spec into a live-formula Excel workbook. 14 templates (LBO, DCF, M\&A, IPO, restructuring, project finance, NPL, structured credit, 3-statement) with every cell formulated and every number source-traced to its document page.1-
- AlicenseNot gradedqualityAmaintenanceDeterministic verification for AI-generated analysis. Reconciliation, consistency and Excel-integrity checks that stop the line when the numbers don't add up.1MIT
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/CapsteraSupport/worthune-sdk'
If you have feedback or need assistance with the MCP directory API, please join our Discord server