API & MCP

Everything a person can do on Skyfold Printable Moon Calendar, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Skyfold Printable Moon Calendar

Draws the Moon of every day of a month or year for your place, with the illuminated fraction, moonrise and moonset in local time, the four principal phases, perigee and apogee with distances and the supermoons, as a print-ready PDF, SVG and PNG in 17 languages.

Inputs of Skyfold Printable Moon Calendar
FieldTypeDefaultDescription
locationtext"52.52, 13.405"Location (latitude, longitude). Decimal degrees such as 52.09, 5.12 (north and east positive), or DMS, UTM, MGRS, Maidenhead or a plus code.
elevationnumber0Elevation above sea level
timeZonetext"Europe/Berlin"Time zone. IANA name such as Europe/Berlin or America/New_York, or a fixed offset such as UTC+2.
yearinteger2027Year
monthselect (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)"0"Month
layoutselect (month, year)"month"Layout
langselect (en, de, fr, es, it, pt, nl, pl, tr, ru, uk, ar, hi, zh, ja, ko, id)"en"Language of the calendar
paperselect (a4, a3, letter, tabloid)"a4"Paper size
orientationselect (portrait, landscape)"portrait"Orientation
weekStartselect (auto, mon, sun, sat)"auto"Week starts on
placeLabeltext"Berlin"Place line

Example request

Berlin, January 2027, German

curl -X POST https://skyfoldmooncalendar.usefulweb.app/api/v1/calculate -H 'content-type: application/json' -d '{"location":"52.52, 13.405","timeZone":"Europe/Berlin","year":2027,"month":"1","layout":"month","lang":"de","paper":"a4","orientation":"portrait","weekStart":"auto","placeLabel":"Berlin"}'

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": {
    "skyfold-moon-calendar": { "type": "http", "url": "https://skyfoldmooncalendar.usefulweb.app/mcp" }
  }
}