Home / Servers / Stripe API / post_tax_calculations
Create a Calculation
An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.
Create a Calculation Calculates tax based on the input and returns a Tax Calculation object. [POST /v1/tax/calculations]
Name on the gateway: stripe_api__post_tax_calculations · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
currency required | string | Three-letter ISO currency code, in lowercase. Must be a supported currency. |
customer | string | The ID of an existing customer to use for this calculation. If provided, the… |
customer_details | object | Details about the customer, including address and tax IDs. |
expand | array | Specifies which fields in the response should be expanded. |
line_items required | array | A list of items the customer is purchasing. You can pass up to 100 line items… |
ship_from_details | object | Details about the address from which the goods are being shipped. |
shipping_cost | object | Shipping cost details to be used for the calculation. |
tax_date | integer | The calculation uses the tax rules and rates that are in effect at this… |
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_tax_calculations",
"arguments": {
"currency": "…",
"line_items": []
}
}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 calculation tool with currency set to ….