API & MCP

Everything a person can do on Ledgerly Early Retirement Bridge, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Ledgerly Early Retirement Bridge

Plans the bridge from early retirement (FIRE) to the statutory pension: the pension age by year of birth for Germany, Austria, Switzerland, the Netherlands, the UK and the US (editable, with sources), locked pension savings with their access age, the capital needed when you stop, a year-by-year plan and the earliest age that works.

Inputs of Ledgerly Early Retirement Bridge
FieldTypeDefaultDescription
countryselect (DE, AT, CH, NL, GB, US, other)"DE"Country of your state pension
pensionRulesselect (general, female)"general"Pension age rules
birthYearinteger1990Year of birth
currentYearinteger—Current year. Empty = this year.
currencytext"EUR"Currency
fireAgenumber50Age when you stop working
pensionAgenumber—State pension age (empty = from the country rules)
privateAccessAgenumber—Age from which locked pension savings can be used (empty = country default)
endAgeinteger95Plan until age
annualSpendingnumber36000Spending per year in retirement (today’s money)
statePensionPerYearnumber18000Expected state pension per year (today’s money). From your pension statement; leaving work early usually lowers it.
currentSavingsnumber150000Savings you can use any time
annualContributionnumber24000Added to those savings per year until you stop
lockedSavingsnumber0Locked pension savings today (401(k), Riester …)
lockedContributionnumber0Added to locked savings per year until you stop
realReturnPercentnumber3Real return after inflation (% per year)

Example request

Germany, born 1990, stop at 55

curl -X POST https://ledgerlyfirebridge.usefulweb.app/api/v1/calculate -H 'content-type: application/json' -d '{"country":"DE","birthYear":1990,"currentYear":2026,"currency":"EUR","fireAge":55,"annualSpending":36000,"statePensionPerYear":18000,"currentSavings":150000,"annualContribution":24000,"realReturnPercent":3}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "ledgerly-fire-bridge": { "type": "http", "url": "https://ledgerlyfirebridge.usefulweb.app/mcp" }
  }
}