Home / Servers / Stripe API / post_plans
Create a plan
An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.
Create a plan You can now model subscriptions more flexibly using the Prices API . It replaces the Plans API and is backwards compatible to simplify your migration. [POST /v1/plans]
Name on the gateway: stripe_api__post_plans · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
active | boolean | Whether the plan is currently available for new subscriptions. Defaults to true. |
amount | integer | A positive integer in cents (or local equivalent) (or 0 for a free plan)… |
amount_decimal | string | Same as amount, but accepts a decimal value with at most 12 decimal places.… |
billing_scheme | per_unit | tiered | Describes how to compute the price per period. Either per_unit or tiered.… |
currency required | string | Three-letter ISO currency code, in lowercase. Must be a supported currency. |
expand | array | Specifies which fields in the response should be expanded. |
id | string | An identifier randomly generated by Stripe. Used to identify this plan when… |
interval required | day | month | week | year | Specifies billing frequency. Either day, week, month or year. |
interval_count | integer | The number of intervals between subscription billings. For example… |
metadata | object | Set of key-value pairs that you can attach to an object. This can be useful… |
meter | string | The meter tracking the usage of a metered price |
nickname | string | A brief description of the plan, hidden from customers. |
product | object | The product whose pricing the created plan will represent. This can either be… |
tiers | array | Each element represents a pricing tier. This parameter requires billing_scheme… |
tiers_mode | graduated | volume | Defines if the tiering price should be graduated or volume based. In… |
transform_usage | object | Apply a transformation to the reported usage or set quantity before computing… |
trial_period_days | integer | Default number of trial days when subscribing a customer to this plan using… |
usage_type | licensed | metered | Configures how the quantity per period should be determined. Can be either… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "stripe_api__post_plans",
"arguments": {
"currency": "…",
"interval": "…"
}
}Or connect the Stripe API server directly, which lists 606 tools including this one:
claude mcp add --transport http hj-stripe-api https://mcp.hjlabs.in/mcp/stripe-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the create a plan tool with active set to ….