Home / Servers / Stripe API / post_prices

Create a price

An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.

Create a price Creates a new Price for an existing Product . The Price can be recurring or one-time. [POST /v1/prices]

Name on the gateway: stripe_api__post_prices · may change things.

Parameters

NameTypeDescription
activebooleanWhether the price can be used for new purchases. Defaults to true.
billing_schemeper_unit | tieredDescribes how to compute the price per period. Either per_unit or tiered.…
currency requiredstringThree-letter ISO currency code, in lowercase. Must be a supported currency.
currency_optionsobjectPrices defined in each available currency option. Each key must be a…
custom_unit_amountobjectWhen set, provides configuration for the amount to be adjusted by the customer…
expandarraySpecifies which fields in the response should be expanded.
lookup_keystringA lookup key used to retrieve prices dynamically from a static string. This…
metadataobjectSet of key-value pairs that you can attach to an object. This can be useful…
nicknamestringA brief description of the price, hidden from customers.
productstringThe ID of the Product that this Price will belong to.
product_dataobjectThese fields can be used to create a new product that this price will belong to.
recurringobjectThe recurring components of a price such as interval and usage_type.
tax_behaviorexclusive | inclusive | unspecifiedOnly required if a default tax behavior) was not provided in the Stripe Tax…
tiersarrayEach element represents a pricing tier. This parameter requires billing_scheme…
tiers_modegraduated | volumeDefines if the tiering price should be graduated or volume based. In…
transfer_lookup_keybooleanIf set to true, will atomically remove the lookup key from the existing price…
transform_quantityobjectApply a transformation to the reported usage or set quantity before computing…
unit_amountintegerA positive integer in cents (or local equivalent) (or 0 for a free price)…
unit_amount_decimalstringSame as unit_amount, but accepts a decimal value in cents (or local…

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:

call_tool arguments
{
  "name": "stripe_api__post_prices",
  "arguments": {
    "currency": "…"
  }
}

Or connect the Stripe API server directly, which lists 606 tools including this one:

Run in your terminal
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 price tool with active set to ….

More from Stripe API