API & MCP

Everything a person can do on Skyfold Star Map Poster, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Skyfold Star Map Poster

Draws the stars to magnitude 6.5, constellation figures, the Moon and planets exactly as they stood above a place at a local date and time, in five print styles and seven paper sizes, as a vector SVG and PDF.

Inputs of Skyfold Star Map Poster
FieldTypeDefaultDescription
locationtext"48.8566, 2.3522"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/Paris"Time zone. IANA name such as Europe/Berlin or America/New_York, or a fixed offset such as UTC+2.
datedate"2019-06-14"Local date
timetime"23:30"Local time
styleselect (midnight, ivory, black, blueprint, red)"midnight"Style
sizeselect (a4, a3, a2, letter, in12x16, in18x24, square)"a3"Paper size
magLimitnumber6Faintest stars (magnitude). Larger numbers show fainter stars; 6 to 6.5 is the naked-eye limit under a dark sky.
titletext"The night we met"Title
subtitletext—Subtitle
placeLabeltext"Paris, France"Place line
dateLabeltext—Date line. Leave blank to print the local date and time.
constellationsbooleantrueConstellation lines
constellationNamesbooleantrueConstellation names
starNamesbooleanfalseNames of the brightest stars
planetsbooleantrueMoon and planets
colorStarsbooleanfalseStar colours from the B−V index

Example request

Paris, 14 June 2019, ivory print

curl -X POST https://skyfoldstarmapposter.usefulweb.app/api/v1/calculate -H 'content-type: application/json' -d '{"location":"48.8566, 2.3522","timeZone":"Europe/Paris","date":"2019-06-14","time":"23:30","style":"ivory","size":"a3","magLimit":6,"title":"The night we met","placeLabel":"Paris, France"}'

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-star-map-poster": { "type": "http", "url": "https://skyfoldstarmapposter.usefulweb.app/mcp" }
  }
}