API & MCP

Everything a person can do on Household Plant Fit, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Household Plant Fit

Compare twenty-four identified houseplants by light, space and care effort, with scientific-name aliases and species-specific ASPCA/RHS references.

Inputs of Household Plant Fit
FieldTypeDefaultDescription
lightselect (bright, low, direct)"bright"Light conditions
careselect (easy, moderate, attentive)"moderate"Maximum care effort
petsbooleantrueOnly ASPCA-listed non-toxic choices for cats and dogs
spaceselect (any, compact, medium, large)"any"Space
querytext—Plant name or scientific alias

Example request

Try an example

curl -X POST https://hearthplantfit.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": {
    "hearth-plant-fit": { "type": "http", "url": "https://hearthplantfit.usefulweb.app/mcp" }
  }
}