API & MCP

Everything a person can do on Ledgerly Is It Peanuts? Relative Scale, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Ledgerly Is It Peanuts? Relative Scale

Compares a big amount — a donation, a fine, a bonus or a price — with the wealth of whoever pays it and scales the same share to your net worth, your hourly income and a median household. The reverse check scales your own gift up to their fortune. Part of Ledgerly’s Reality Check.

Inputs of Ledgerly Is It Peanuts? Relative Scale
FieldTypeDefaultDescription
currencytext"EUR"Currency
amountnumber100000000The big amount (gift, fine, price …)
theirWealthnumber50000000000Net worth of the giver or payer
yourWealthnumber120000Your net worth
yourIncomenumber42000Your net income per year
workHoursPerYearnumber1700Your working hours per year
populationnumber0Population to share it among (0 = skip)
yourGiftnumber0Your own gift for the reverse check (0 = skip)
countryselect (none, EA, AT, BE, HR, CY, CZ, EE, FI, FR, DE, GR, HU, IE, IT, LV, LT, LU, MT, NL, PT, SK, SI, ES)"none"Also compare with a typical household in

Example request

$100 million gift from a $50 billion fortune

curl -X POST https://ledgerlyrelativescale.usefulweb.app/api/v1/calculate -H 'content-type: application/json' -d '{"currency":"USD","amount":100000000,"theirWealth":50000000000,"yourWealth":120000,"yourIncome":52000,"workHoursPerYear":1800}'

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-relative-scale": { "type": "http", "url": "https://ledgerlyrelativescale.usefulweb.app/mcp" }
  }
}