API & MCP

Everything a person can do on Quiet Week Finder, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Quiet Week Finder

Name the countries most visitors to a place come from, with weights, and get a crowd index for every week: how much of each country is on school or public holiday. The lowest weeks are the quiet ones for a trip, a booking or an errand.

Inputs of Quiet Week Finder
FieldTypeDefaultDescription
visitors (required)text"DE:3, NL:2, BE:1"Visitor countries with weights. Two-letter codes, optional weights, for example “DE:3, NL:2, BE:1”. Include the destination’s own country for local visitors.
from (required)date"2027-01-04"Period from
to (required)date"2027-12-27"Period to

Example request

Dutch coast: Germans, Dutch and Belgians, 2027

curl -X POST https://hearthquietweeks.usefulweb.app/api/v1/calculate -H 'content-type: application/json' -d '{"visitors":"DE:3, NL:2, BE:1","from":"2027-01-04","to":"2027-12-27"}'

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": {
    "hearth-quiet-weeks": { "type": "http", "url": "https://hearthquietweeks.usefulweb.app/mcp" }
  }
}