API & MCP

Everything a person can do on Energy Time Planner, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Energy Time Planner

Schedule appliances against hourly or quarter-hourly prices, with deadlines, parallel-device and modeled power constraints plus a baseline comparison.

Inputs of Energy Time Planner
FieldTypeDefaultDescription
pricestextarea"0.15, 0.15, 0.15, 0.15, 0.15, 0.15, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 024 hourly or 96 quarter-hourly prices per kWh
parallelnumber1Maximum appliances at once
maxKwnumber0Maximum modeled power (kW, 0 = no limit)
devicestable[{"name":"Washer","earliest":0,"deadline":8,"duration":2,"kwh":1},{"name":"DishwAppliances

Example request

Try an example

curl -X POST https://ledgerlyenergyschedule.usefulweb.app/api/v1/calculate -H 'content-type: application/json' -d '{}'

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-energy-schedule": { "type": "http", "url": "https://ledgerlyenergyschedule.usefulweb.app/mcp" }
  }
}