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
POST https://subscriptionstack.usefulweb.site/api/v1/calculate– run Subscription StackGET https://subscriptionstack.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
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.
| Field | Type | Default | Description |
|---|---|---|---|
currency | text | "EUR" | Currency. Shown in results only; no conversion is performed. |
minUsesPerMonth | number | 2 | Flag if used fewer than |
maxCostPerUse | number | 5 | Flag 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)
- Streamable HTTP endpoint:
https://subscriptionstack.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
subscription_stack - Local stdio connector:
node src/mcp-stdio.ts --tool=subscription-stack
{
"mcpServers": {
"subscription-stack": { "type": "http", "url": "https://subscriptionstack.usefulweb.site/mcp" }
}
}