API & MCP

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

HTTP API

Subscription Stack

List your subscriptions with price, billing cycle, category, how often you use them and how many people share them. Subscription Stack converts everything to monthly and yearly totals, groups by category, flags overlapping services, computes cost per use and lists cancellation candidates with the savings.

Inputs of Subscription Stack
FieldTypeDefaultDescription
currencytext"EUR"Currency. Shown in results only; no conversion is performed.
minUsesPerMonthnumber2Flag if used fewer than
maxCostPerUsenumber5Flag if cost per use is above. In your currency, for your share.
subscriptions (required)table—Subscriptions. Price is the full price per billing period; “Shared by” splits it (you pay price ÷ people). Leave uses empty if unknown.

Example request

Typical household stack

curl -X POST https://subscriptionstack.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"currency":"EUR","minUsesPerMonth":2,"maxCostPerUse":5,"subscriptions":[{"name":"Netflix","price":13.99,"billing":"monthly","category":"video","usesPerMonth":12,"sharedBy":2},{"name":"Disney+","price":89.9,"billing":"yearly","category":"video","usesPerMonth":2},{"name":"Spotify","price":10.99,"billing":"monthly","category":"music","usesPerMonth":40},{"name":"Gym","price":34.9,"billing":"monthly","category":"fitness","usesPerMonth":3},{"name":"Cloud 2 TB","price":9.99,"billing":"monthly","category":"cloud-storage","usesPerMonth":30},{"name":"Newspaper","price":29.97,"billing":"quarterly","category":"news","usesPerMonth":1}]}'

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": {
    "subscription-stack": { "type": "http", "url": "https://subscriptionstack.usefulweb.site/mcp" }
  }
}