Polar MCP by usefulapi
v1.41.1Products, customers, orders, subscriptions, benefits, revenue metrics and refunds.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
polar_list_organizations List organisations
List the organisations the token can act for. Start here — most other tools take an organization_id. Polar: GET /v1/organizations/.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Page size, 1-100. |
page | integer | 1-based page number. |
polar_list_products List products
List products, optionally filtered by archived state, recurrence or a text query. Polar: GET /v1/products/.
| Parameter | Type | Description |
|---|---|---|
is_archived | boolean | Only archived, or only live, products. |
is_recurring | boolean | Only subscriptions, or only one-off products. |
limit | integer | Page size, 1-100. |
organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
page | integer | 1-based page number. |
query | string | Free-text search over product names. |
polar_get_product Get one product
Fetch a single product with its prices and attached benefits. Polar: GET /v1/products/{id}.
| Parameter | Type | Description |
|---|---|---|
product_id * | string | The product's id. |
polar_list_customers List customers
List customers, optionally by email or a text query. Polar: GET /v1/customers/.
| Parameter | Type | Description |
|---|---|---|
email | string | Only the customer with this email. |
limit | integer | Page size, 1-100. |
organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
page | integer | 1-based page number. |
query | string | Free-text search over name and email. |
polar_get_customer Get one customer
Fetch a single customer by Polar id. Polar: GET /v1/customers/{id}.
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | The customer's Polar id. |
polar_get_customer_state Get a customer's full state
Fetch everything about one customer in a single call — active subscriptions, granted benefits and entitlements. The best answer to 'what does this customer currently have?'. Polar: GET /v1/customers/{id}/state.
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | The customer's Polar id. |
polar_get_customer_state_by_external_id Get a customer's state by your own id
Same as polar_get_customer_state, but looked up by YOUR external id rather than Polar's — the usual path when you hold your own user id. Polar: GET /v1/customers/external/{external_id}/state.
| Parameter | Type | Description |
|---|---|---|
external_id * | string | Your own id for this customer. |
polar_list_orders List orders
List orders, filtered by customer, product, subscription, status or a date window. Polar: GET /v1/orders/.
| Parameter | Type | Description |
|---|---|---|
created_after | string | ISO-8601 lower bound on creation time. |
created_before | string | ISO-8601 upper bound on creation time. |
customer_id | string | Only this customer's orders. |
limit | integer | Page size, 1-100. |
organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
page | integer | 1-based page number. |
product_id | string | Only orders for this product. |
status | string | Only orders in this state, e.g. paid, pending, refunded. |
subscription_id | string | Only orders from this subscription. |
polar_get_order Get one order
Fetch a single order with its line items, discount and tax. Polar: GET /v1/orders/{id}.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | The order's id. |
polar_list_subscriptions List subscriptions
List subscriptions, filtered by customer, product, status, active state or cancellation window. Polar: GET /v1/subscriptions/.
| Parameter | Type | Description |
|---|---|---|
active | boolean | Only active, or only inactive, subscriptions. |
cancel_at_period_end | boolean | Only those already set to cancel — your churn pipeline. |
customer_id | string | Only this customer's subscriptions. |
limit | integer | Page size, 1-100. |
organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
page | integer | 1-based page number. |
product_id | string | Only subscriptions to this product. |
status | string | Only subscriptions in this state. |
polar_get_subscription Get one subscription
Fetch a single subscription with its product, price and period. Polar: GET /v1/subscriptions/{id}.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | string | The subscription's id. |
polar_get_metrics Get revenue metrics
Fetch revenue and subscription metrics over a date range, bucketed by interval — orders, revenue, MRR, active subscriptions. Polar: GET /v1/metrics/.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | End of the window, YYYY-MM-DD. |
interval * | string | Bucket size for the series. |
start_date * | string | Start of the window, YYYY-MM-DD. |
customer_id | string | Only this customer's metrics. |
organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
product_id | string | Only this product's metrics. |
polar_list_benefits List benefits
List benefits — the things a product grants, such as licence keys, file downloads or Discord roles. Polar: GET /v1/benefits/.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Page size, 1-100. |
organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
page | integer | 1-based page number. |
query | string | Free-text search. |
type | string | Only benefits of this type. |
polar_list_benefit_grants List grants of a benefit
List who has been granted one benefit, and whether the grant is still active. Polar: GET /v1/benefits/{id}/grants.
| Parameter | Type | Description |
|---|---|---|
benefit_id * | string | The benefit's id. |
limit | integer | Page size, 1-100. |
page | integer | 1-based page number. |
polar_list_discounts List discounts
List discount codes and their redemption limits. Polar: GET /v1/discounts/.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Page size, 1-100. |
organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
page | integer | 1-based page number. |
query | string | Free-text search over discount names and codes. |
polar_list_refunds List refunds
List refunds, filtered by order, subscription, customer or success. Polar: GET /v1/refunds/.
| Parameter | Type | Description |
|---|---|---|
customer_id | string | Only this customer's refunds. |
limit | integer | Page size, 1-100. |
order_id | string | Only refunds against this order. |
organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
page | integer | 1-based page number. |
succeeded | boolean | Only successful, or only failed, refunds. |
polar_list_license_keys List licence keys
List issued licence keys and their status. Polar: GET /v1/license-keys/.
| Parameter | Type | Description |
|---|---|---|
benefit_id | string | Only keys from this benefit. |
limit | integer | Page size, 1-100. |
organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
page | integer | 1-based page number. |
status | string | Only keys in this state, e.g. granted, revoked, disabled. |
polar_list_meters List usage meters
List the usage meters that aggregate events into billable quantities. Polar: GET /v1/meters/.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Page size, 1-100. |
organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
page | integer | 1-based page number. |
polar_get_meter_quantities Get a meter's quantities
Fetch the aggregated quantities a meter has recorded over a window — what usage-based billing will charge for. Polar: GET /v1/meters/{id}/quantities.
| Parameter | Type | Description |
|---|---|---|
end_timestamp * | string | ISO-8601 end of the window. |
interval * | string | Bucket size for the series. |
meter_id * | string | The meter's id. |
start_timestamp * | string | ISO-8601 start of the window. |
customer_id | string | Only this customer's usage. |
polar_list_events List usage events
List the raw usage events ingested for metering, filtered by customer, meter, name or time. Polar: GET /v1/events/.
| Parameter | Type | Description |
|---|---|---|
customer_id | string | Only this customer's events. |
end_timestamp | string | ISO-8601 upper bound. |
limit | integer | Page size, 1-100. |
meter_id | string | Only events matching this meter. |
name | string | Only events with this name. |
organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
page | integer | 1-based page number. |
start_timestamp | string | ISO-8601 lower bound. |
polar_list_webhook_deliveries List webhook deliveries
List webhook delivery attempts with their HTTP results — the tool for 'why did my webhook not arrive?'. Polar: GET /v1/webhooks/deliveries.
| Parameter | Type | Description |
|---|---|---|
end_timestamp | string | ISO-8601 upper bound. |
endpoint_id | string | Only deliveries to this endpoint. |
event_type | string | Only deliveries of this event type. |
limit | integer | Page size, 1-100. |
page | integer | 1-based page number. |
start_timestamp | string | ISO-8601 lower bound. |
succeeded | boolean | Only failures, or only successes. |
polar_list_webhook_endpoints List webhook endpoints
List the configured webhook endpoints and their subscribed events. Polar: GET /v1/webhooks/endpoints.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Page size, 1-100. |
organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
page | integer | 1-based page number. |
polar_redeliver_webhook_event Redeliver a webhook event
Queue one webhook event for redelivery after your endpoint recovered. Polar: POST /v1/webhooks/events/{id}/redeliver.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | The webhook event to resend. |
polar_create_refund Refund an order
Refund an order, in full or in part. This moves real money back to the customer. Polar: POST /v1/refunds/.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | The order to refund. |
reason * | string | Why the refund is being issued. |
amount | integer | Amount in the currency's minor unit (cents). Omit to refund the full order. |
comment | string | An internal note about the refund. |
revoke_benefits | boolean | Also revoke the benefits the order granted. Defaults to false. |
polar_cancel_subscription Cancel a subscription
Cancel a subscription at the end of its current period. The customer keeps access until then. Polar: PATCH /v1/subscriptions/{id}.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | string | The subscription to cancel. |
customer_cancellation_comment | string | The customer's own words. |
customer_cancellation_reason | string | Why the customer is leaving, for your churn reporting. |
polar_create_checkout_link Create a checkout link
Create a reusable checkout URL for one or more products — the link you put in a page or an email. Polar: POST /v1/checkout-links/.
| Parameter | Type | Description |
|---|---|---|
products * | array | Product ids the link sells. |
allow_discount_codes | boolean | Let the buyer enter a discount code. Defaults to true. |
discount_id | string | Apply this discount automatically. |
label | string | An internal label for the link. |
success_url | string | Where to send the buyer after payment. |