Skip to content

Integration · Payments

polar.sh

Connect Claude & ChatGPT to Polar

Ask your AI about your Polar products, orders, subscriptions and customers. It can see a customer's active subscriptions and benefits, list payments, refunds and disputes, and look up license keys. It can also create checkout sessions, update products and customers, generate invoices and refund orders, with your approval if you want it.

Connect Polar free

Free plan, no credit card. Takes about a minute.

Try asking

  • “What does [email protected] have access to right now?”

    The AI finds the customer and reads her current state: active subscriptions, granted benefits and meters.

  • “Make a checkout for the Pro plan for [email protected] with the LAUNCH20 discount.”

    It finds the product and the discount and creates a checkout session prefilled with her email. You get a payment link to share.

  • “Which subscriptions were canceled this month?”

    It lists subscriptions filtered by cancel date, with product and customer.

What your AI can do

Products and checkouts

Search and update products, create checkout sessions with discounts, and list checkout links and discount codes.

Orders and payments

Read orders, payments, refunds and disputes, generate order invoices and issue refunds.

Customers and subscriptions

Search and update customers, see their subscriptions, benefits and meters, and look up license keys.

  • “Are there any open disputes?”

    It lists payment disputes filtered by status.

  • “Refund order 8123 in full, the customer bought the wrong plan.”

    It reads the order amount and creates the refund with a reason. The money goes back to the customer and the refund cannot be undone.

  • “Get me the invoice for order 8123.”

    It generates the invoice for the order if none exists and returns the invoice link.

181 tools for Polar

These tools are switched on when you connect. You can switch any of them off, or require your approval before it runs.

  • add_customer_payment_methodChanges dataCreate a new customer. Required: confirmation token id, set default or return url. Search customers first to avoid duplicates. API summary: Add Customer Payment Method.
  • approve_customerVisible to othersConfirm a customer (client secret). Has effects visible outside this system. API summary: Confirm Checkout Session from Client.
  • approve_customer_confirmVisible to othersConfirm a customer. Has effects visible outside this system. API summary: Confirm Customer Payment Method.
  • approve_disputeVisible to othersAccept a dispute (dispute id). Has effects visible outside this system. API summary: Accept Dispute.
  • approve_order_paymentVisible to othersConfirm a order (order id). Has effects visible outside this system. API summary: Confirm Retry Payment.
  • archive_license_keyVisible to othersDeactivate a license key. Has effects visible outside this system. API summary: Deactivate License Key.
  • archive_license_key_deactivateVisible to othersDeactivate a license key. Has effects visible outside this system. API summary: Deactivate License Key.
  • assign_seatChanges dataCreate a new customer. Search customers first to avoid duplicates. API summary: Assign Seat.
  • cancel_subscriptionDeletesPermanently delete a subscription by subscription id. Destructive action; may require approval. API summary: Cancel Subscription.
  • create_benefitChanges dataCreate a new benefit. Required: body. Search benefits first to avoid duplicates. API summary: Create Benefit.
  • create_checkoutChanges dataCreate a checkout session for `products` (product IDs), optionally prefilled with customer email/name, a `discount_id` and `success_url`. Returns a payment link to share.
  • create_checkout_linkChanges dataCreate a new checkout link. Required: body. API summary: Create Checkout Link.
  • create_companyChanges dataCreate a new company. Required: name or slug. API summary: Create Organization.
  • create_custom_fieldChanges dataCreate a new custom field. Required: body. Search custom fields first to avoid duplicates. API summary: Create Custom Field.
  • create_customerChanges dataCreate a new customer. Required: redirect uris or client name. Search customers first to avoid duplicates. API summary: Create Client.
  • create_customer_customer_portal_customers_request_email_updateVisible to othersCreate a new customer. Required: email. Search customers first to avoid duplicates. Has effects visible outside this system. API summary: Request Email Change.
  • create_customer_customer_seats_assign_seatChanges dataCreate a new customer. Search customers first to avoid duplicates. API summary: Assign Seat.
  • create_customer_customer_seats_claim_seatChanges dataCreate a new customer. Required: invitation token. Search customers first to avoid duplicates. API summary: Claim Seat.
  • create_customer_customers_createChanges dataCreate a new customer. Required: body. Search customers first to avoid duplicates. API summary: Create Customer.
  • create_customer_oauth2_introspect_tokenDeletesCreate a new customer. Required: token, client id or client secret. Search customers first to avoid duplicates. Destructive action; may require approval. API summary: Introspect Token.
  • create_customer_sessionChanges dataCreate a new customer. Required: body. Search customers first to avoid duplicates. API summary: Create Customer Session.
  • create_customer_userChanges dataCreate a new user for a customer. Required: email. API summary: Create Member.
  • create_dashboardChanges dataCreate a new dashboard. Required: name. API summary: Create Metric Dashboard.
  • create_discountChanges dataCreate a new discount. Required: body. Search discounts first to avoid duplicates. API summary: Create Discount.
  • create_documentChanges dataCreate a new document. Required: body. API summary: Create File.
  • create_document_files_uploadedChanges dataCreate a new document for a document. Required: id, path or parts. API summary: Complete File Upload.
  • create_endpointDeletesCreate a new endpoint. Required: url, format or events. Destructive action; may require approval. API summary: Create Webhook Endpoint.
  • create_event_redeliverDeletesCreate a new redeliver for a event. Destructive action; may require approval. API summary: Redeliver Webhook Event.
  • create_ingestChanges dataCreate a new ingest. Required: events. API summary: Ingest Events.
  • create_member_by_customer_external_idChanges dataCreate a new user for a customer. Required: email. API summary: Create Member by Customer External ID.
  • create_meterChanges dataCreate a new customer. Required: name, filter or aggregation. Search customers first to avoid duplicates. API summary: Create Meter.
  • create_orderChanges dataCreate a new order. Required: customer id or product id. Search orders first to avoid duplicates. API summary: Create Order.
  • create_order_invoice_customer_portal_orders_generate_invoiceChanges dataCreate a new invoice for a order. API summary: Generate Order Invoice.
  • create_productChanges dataCreate a new product. Required: body. Search products first to avoid duplicates. API summary: Create Product.
  • create_refundChanges dataRefund an order by `order_id`: `amount` in cents and a `reason`, optionally `revoke_benefits`. Money goes back to the customer and cannot be undone.
  • create_revokeDeletesCreate a new revoke. Required: token, client id or client secret. Destructive action; may require approval. API summary: Revoke Token.
  • create_subscriptionChanges dataCreate a new subscription. Required: body. Search subscriptions first to avoid duplicates. API summary: Create Subscription.
  • create_userChanges dataCreate a new user. Required: email. API summary: Add Member.
  • delete_benefitDeletesPermanently delete a benefit by benefit id. Destructive action; may require approval. API summary: Delete Benefit.
  • delete_checkout_linkDeletesPermanently delete a checkout link by checkout link id. Destructive action; may require approval. API summary: Delete Checkout Link.
  • delete_custom_fieldDeletesPermanently delete a custom field by custom field id. Destructive action; may require approval. API summary: Delete Custom Field.
  • delete_customerDeletesPermanently delete a customer by client id. Destructive action; may require approval. API summary: Delete Client.
  • delete_customer_by_external_idDeletesPermanently delete a customer by customer id. Destructive action; may require approval. API summary: Delete Customer by External ID.
  • delete_customer_customer_portal_seats_revoke_seatDeletesPermanently delete a customer by customer id. Destructive action; may require approval. API summary: Revoke Seat.
  • delete_customer_customer_seats_revoke_seatDeletesPermanently delete a customer by seat id. Destructive action; may require approval. API summary: Revoke Seat.
  • delete_customer_customers_deleteDeletesPermanently delete a customer by customer id. Destructive action; may require approval. API summary: Delete Customer.
  • delete_customer_payment_methodDeletesPermanently delete a customer by customer id. Destructive action; may require approval. API summary: Delete Customer Payment Method.
  • delete_customer_userDeletesPermanently delete a user by user id. Destructive action; may require approval. API summary: Delete Member.
  • delete_dashboardDeletesPermanently delete a dashboard by dashboard id. Destructive action; may require approval. API summary: Delete Metric Dashboard.
  • delete_discountDeletesPermanently delete a discount by discount id. Destructive action; may require approval. API summary: Delete Discount.
  • delete_documentDeletesPermanently delete a document by document id. Destructive action; may require approval. API summary: Delete File.
  • delete_endpointDeletesPermanently delete a endpoint by endpoint id. Destructive action; may require approval. API summary: Delete Webhook Endpoint.
  • delete_member_by_external_idDeletesPermanently delete a user by user external id. Destructive action; may require approval. API summary: Delete Member by External ID.
  • delete_subscriptionDeletesPermanently delete a subscription by subscription id. Destructive action; may require approval. API summary: Revoke Subscription.
  • delete_userDeletesPermanently delete a user by user id. Destructive action; may require approval. API summary: Remove Member.
  • export_customersExport customers.
  • export_metricsExport metrics.
  • export_ordersExport orders.
  • export_subscriptionsExport subscriptions.
  • generate_order_invoiceChanges dataGenerate the invoice for an order by `order_id`.
  • get_authenticated_portal_userList users. API summary: Get Authenticated Portal User.
  • get_benefitGet one benefit by benefit id. API summary: Get Benefit.
  • get_benefit_grantGet one customer by customer id. API summary: Get Benefit Grant.
  • get_checkoutGet one checkout by checkout id. API summary: Get Checkout Session.
  • get_checkout_linkGet one checkout link by `checkout_link_id`, with its URL and products.
  • get_checkout_session_from_clientGet one customer by customer secret. API summary: Get Checkout Session from Client.
  • get_claim_infoGet one customer by invitation token. API summary: Get Claim Info.
  • get_companyGet one company by company id. API summary: Get Organization.
  • get_custom_fieldGet one custom field by custom field id. API summary: Get Custom Field.
  • get_customerGet one customer by `customer_id`, with email, billing address and metadata.
  • get_customer_2Get one customer by client id. API summary: Get Client.
  • get_customer_by_external_idGet one customer by customer id. API summary: Get Customer by External ID.
  • get_customer_customer_meters_getGet one customer by customer id. API summary: Get Customer Meter.
  • get_customer_meterGet one customer by customer id. API summary: Get Customer Meter.
  • get_customer_stateGet a customer's current state by `customer_id`: active subscriptions, granted benefits and meters.
  • get_customer_state_by_external_idList customers for a customer. API summary: Get Customer State by External ID.
  • get_customer_userGet one user for a customer by user id. API summary: Get Member.
  • get_dashboardGet one dashboard by dashboard id. API summary: Get Metric Dashboard.
  • get_discountGet one discount by discount id. API summary: Get Discount.
  • get_disputeGet one dispute by dispute id. API summary: Get Dispute.
  • get_endpointGet one endpoint by endpoint id. API summary: Get Webhook Endpoint.
  • get_eventGet one event by event id. API summary: Get Event.
  • get_license_keyGet one license key by `license_key_id`, with its customer, status and activations.
  • get_license_key_activationGet one activation for a license key by activation id. API summary: Get Activation.
  • get_license_key_customer_portal_license_keys_getGet one license key by license key id. API summary: Get License Key.
  • get_member_by_external_idGet one user for a customer by user external id. API summary: Get Member by External ID.
  • get_meterGet one customer by customer id. API summary: Get Meter.
  • get_orderGet one order by `order_id`, with amounts, items, customer and status.
  • get_order_customer_portal_orders_getGet one order by order id. API summary: Get Order.
  • get_order_invoiceGet the invoice link for an order by `order_id` (generate it first if none exists).
  • get_order_invoice_2List invoices for a order. API summary: Get Order Invoice.
  • get_order_payment_statusList orders for a order. API summary: Get Order Payment Status.
  • get_order_receiptList orders for a order. API summary: Get Order Receipt.
  • get_organizationGet one company by company slug. API summary: Get Organization.
  • get_paymentGet one payment by payment id. API summary: Get Payment.
  • get_productGet one product by `product_id`, with prices, benefits and settings.
  • get_subscriptionGet one subscription by `subscription_id`, with its product, price, status and renewal date.
  • get_subscription_customer_portal_subscriptions_getGet one subscription by subscription id. API summary: Get Subscription.
  • get_walletGet one customer by customer id. API summary: Get Wallet.
  • list_benefit_documentsList documents for a benefit. Results are paginated. API summary: List Benefit Files.
  • list_benefit_grantsList grants for a benefit. Optional filters: is granted, customer id or member id. Results are paginated. API summary: List Benefit Grants.
  • list_checkout_linksList your reusable checkout links, optionally for one product.
  • list_checksList checks. API summary: Check Email Change Token.
  • list_claimed_subscriptionsList subscriptions. Results are paginated. API summary: List Claimed Subscriptions.
  • list_customer_metersList customers. Optional filters: organization id, customer id, external customer id, meter id or sorting. Results are paginated. API summary: List Customer Meters.
  • list_customer_payment_methodsList customers. Results are paginated. API summary: List Customer Payment Methods.
  • list_customer_payment_methods_by_external_idList payments for a customer. Results are paginated. API summary: List Customer Payment Methods by External ID.
  • list_customer_paymentsList payments for a customer. Results are paginated. API summary: List Customer Payment Methods.
  • list_customer_quantitiesList quantities for a customer. Optional filters: start timestamp, end timestamp, interval, timezone, customer id or external customer id. API summary: Get Meter Quantities.
  • list_customersList customers. Optional filters: organization id, customer id, external customer id, is granted or sorting. Results are paginated. API summary: List Benefit Grants.
  • list_customers_customer_portal_customer_session_introspectList customers. API summary: Introspect Customer Session.
  • list_customers_customer_portal_customers_getList customers. API summary: Get Customer.
  • list_customers_customer_seats_list_seatsList customers. Optional filters: subscription id or order id. API summary: List Seats.
  • list_dashboardsList dashboards. Optional filters: organization id. API summary: List Metric Dashboards.
  • list_disputesList payment disputes (chargebacks), filtered by order or status.
  • list_documentsList documents. Optional filters: organization id or ids. Results are paginated. API summary: List Files.
  • list_downloadablesList downloadables. Optional filters: benefit id. Results are paginated.
  • list_endpointsList endpoints. Optional filters: organization id. Results are paginated. API summary: List Webhook Endpoints.
  • list_license_keysList license keys issued to customers, filtered by `status` or `benefit_id`.
  • list_license_keys_customer_portal_license_keys_listList license keys. Optional filters: benefit id. Results are paginated.
  • list_limitsList limits. API summary: Get Metrics Limits.
  • list_membersList users. Results are paginated. API summary: List Members.
  • list_metersSearch customers by meter id, query or sorting. Use this to find existing customers before creating a new customer. Results are paginated. API summary: List Meters.
  • list_ordersList orders, filtered by customer, product, subscription, status or created date.
  • list_orders_customer_portal_orders_receiptList orders for a order. API summary: Get Order Receipt.
  • list_organizationsList the Polar organizations you have access to. Use to confirm which organization you are working in.
  • list_paymentsList payments, filtered by order, checkout, customer, method or status.
  • list_refundsList refunds, filtered by order, customer, subscription or success.
  • list_seatsList customers. Optional filters: subscription id or order id. API summary: List Seats.
  • list_subscriptionsList subscriptions, filtered by customer, product, status or start/cancel dates.
  • list_userinfosList userinfos. API summary: Get User Info.
  • list_usersList users. Optional filters: customer id, external customer id, role or sorting. Results are paginated. API summary: List Members.
  • list_walletsList customers. Optional filters: sorting. Results are paginated. API summary: List Wallets.
  • search_benefitsSearch benefits (license keys, downloads, Discord or GitHub access and more) by `query` or `type`.
  • search_checkoutsSearch checkout sessions by `query`, status, product or customer.
  • search_custom_fieldsSearch custom fields by organization id, query, type or sorting. Use this to find existing custom fields before creating a new custom field. Results are paginated. API summary: List Custom Fields.
  • search_customersSearch customers by `query` or `email`. Use to find a customer's ID.
  • search_customers_customer_portal_benefit_grants_listSearch customers by query, type, benefit id, checkout id, order id or subscription id. Use this to find existing customers before creating a new customer. Results are paginated. API summary: List Benefit Grants.
  • search_customers_meters_listSearch customers by organization id, query, is archived, sorting or metadata. Use this to find existing customers before creating a new customer. Results are paginated. API summary: List Meters.
  • search_discountsSearch discount codes by `query`.
  • search_event_typesSearch event types by organization id, customer id, external customer id, query, root events or parent id. Use this to find existing event types before creating a new event type. Results are paginated. API summary: List Event Types.
  • search_eventsSearch events by filter, start timestamp, end timestamp, organization id, customer id or external customer id. Use this to find existing events before creating a new event. Results are paginated. API summary: List Events.
  • search_namesSearch names by organization id, customer id, external customer id, source, query or sorting. Use this to find existing names before creating a new name. Results are paginated. API summary: List Event Names.
  • search_ordersSearch orders by product id, product billing type, subscription id, query or sorting. Use this to find existing orders before creating a new order. Results are paginated. API summary: List Orders.
  • search_productsSearch products by `query`, optionally only recurring or archived. Use to find a product's ID.
  • search_shipmentsSearch shipments by endpoint id, start timestamp, end timestamp, succeeded, query or http code class. Use this to find existing shipments before creating a new shipment. Results are paginated. API summary: List Webhook Deliveries.
  • search_subscriptionsSearch subscriptions by product id, active, query or sorting. Use this to find existing subscriptions before creating a new subscription. Results are paginated. API summary: List Subscriptions.
  • submit_customerVisible to othersVerify a customer. Has effects visible outside this system. API summary: Verify Email Change.
  • submit_customer_customer_seats_resend_invitationVisible to othersResend a customer (seat id). Has effects visible outside this system. API summary: Resend Invitation.
  • submit_customer_resendVisible to othersResend a customer (seat id). Has effects visible outside this system. API summary: Resend Invitation.
  • submit_license_keyVisible to othersValidate a license key. Has effects visible outside this system. API summary: Validate License Key.
  • submit_license_key_activateVisible to othersActivate a license key. Has effects visible outside this system. API summary: Activate License Key.
  • submit_license_key_customer_portal_license_keys_activateVisible to othersActivate a license key. Has effects visible outside this system. API summary: Activate License Key.
  • submit_license_key_validateVisible to othersValidate a license key. Has effects visible outside this system. API summary: Validate License Key.
  • submit_orderVisible to othersFinalize a order (order id). Has effects visible outside this system. API summary: Finalize Order.
  • update_benefitChanges dataUpdate an existing benefit identified by benefit id. Only the fields you pass are changed. API summary: Update Benefit.
  • update_benefit_grantChanges dataUpdate an existing customer identified by customer id. Only the fields you pass are changed. API summary: Update Benefit Grant.
  • update_checkoutChanges dataUpdate an existing checkout identified by checkout id. Only the fields you pass are changed. API summary: Update Checkout Session.
  • update_checkout_linkChanges dataUpdate an existing checkout link identified by checkout link id. Only the fields you pass are changed. API summary: Update Checkout Link.
  • update_checkout_session_from_clientChanges dataUpdate an existing customer identified by customer secret. Only the fields you pass are changed. API summary: Update Checkout Session from Client.
  • update_companyChanges dataUpdate an existing company identified by company id. Only the fields you pass are changed. API summary: Update Organization.
  • update_custom_fieldChanges dataUpdate an existing custom field identified by custom field id. Only the fields you pass are changed. API summary: Update Custom Field.
  • update_customerChanges dataUpdate a customer by `customer_id`: `name`, `email`, `billing_address`, `tax_id`, `external_id` or metadata.
  • update_customer_2Changes dataUpdate an existing customer identified by client id. API summary: Update Client.
  • update_customer_by_external_idChanges dataUpdate an existing customer identified by customer id. Only the fields you pass are changed. API summary: Update Customer by External ID.
  • update_customer_userChanges dataUpdate an existing user identified by user id. Only the fields you pass are changed. API summary: Update Member.
  • update_customersVisible to othersUpdate an existing customer. Only the fields you pass are changed. Has effects visible outside this system. API summary: Update Customer.
  • update_dashboardChanges dataUpdate an existing dashboard identified by dashboard id. Only the fields you pass are changed. API summary: Update Metric Dashboard.
  • update_discountChanges dataUpdate an existing discount identified by discount id. Only the fields you pass are changed. API summary: Update Discount.
  • update_documentChanges dataUpdate an existing document identified by document id. Only the fields you pass are changed. API summary: Update File.
  • update_endpointDeletesUpdate an existing endpoint identified by endpoint id. Only the fields you pass are changed. Destructive action; may require approval. API summary: Update Webhook Endpoint.
  • update_endpoint_secretsMoves moneyUpdate an existing secret identified by endpoint id. Only the fields you pass are changed. Financial or irreversible action; may require approval. API summary: Reset Webhook Endpoint Secret.
  • update_event_typeChanges dataUpdate an existing event type identified by event type id. Only the fields you pass are changed. API summary: Update Event Type.
  • update_license_keyChanges dataUpdate an existing license key identified by license key id. Only the fields you pass are changed. API summary: Update License Key.
  • update_member_by_external_idChanges dataUpdate an existing user identified by user external id. Only the fields you pass are changed. API summary: Update Member by External ID.
  • update_meterChanges dataUpdate an existing customer identified by customer id. Only the fields you pass are changed. API summary: Update Meter.
  • update_orderChanges dataUpdate an existing order identified by order id. Only the fields you pass are changed. API summary: Update Order.
  • update_productChanges dataUpdate a product by `product_id`: `name`, `description`, `prices`, `visibility` or `is_archived`. Only the fields you pass change.
  • update_product_benefitsChanges dataCreate a new product for a product. Required: benefits. Search products first to avoid duplicates. API summary: Update Product Benefits.
  • update_subscriptionChanges dataUpdate an existing subscription identified by subscription id. Only the fields you pass are changed. API summary: Update Subscription.
  • update_userChanges dataUpdate an existing user identified by user id. Only the fields you pass are changed. API summary: Update Member.

Set up in three steps

  1. 1

    Pick the app

    Create a free HeyMyApps account and choose Polar from the app list.

  2. 2

    Paste your key

    Paste a Polar Organization Access Token. In the Polar dashboard open Settings for your organization, scroll down to Developers and click New Token. Give it a name, an expiry and the scopes you need, then copy the token.

  3. 3

    Add the link to your AI

    You get a personal MCP link. Add it to Claude, ChatGPT or Cursor:

    1. Click your name, then Settings › Connectors › Add custom connector.
    2. Paste your link as the Remote MCP server URL.
    3. Switch it on from the + menu in a chat.

Questions

What can the AI do in Polar?

The AI can read your organizations, products, checkouts, checkout links, discounts, customers and their state, orders, invoices, payments, refunds, disputes, subscriptions, benefits and license keys. It can create checkout sessions, update products and customers, generate order invoices and refund orders.

Does the AI see my Polar access token?

No. Your Polar access token is encrypted at rest and never shown to the AI. After you save it, it is not shown again, not even to you. The AI only sees the results of the tools it calls.

Can I control what the AI is allowed to do?

Yes. You choose which tools are switched on, so you can start read-only. A refund sends money back to the customer and cannot be undone. Refunds and product changes can require your approval before they run. Every tool call is logged.

Does it work with ChatGPT?

Yes. In ChatGPT go to Settings › Apps & Connectors › Advanced and turn on Developer mode, then add your HeyMyApps link. Developer mode needs a paid ChatGPT plan: Plus, Pro, Business or Enterprise. The same link also works in Claude (Settings › Connectors › Add custom connector), Cursor and other MCP clients.

What does it cost?

HeyMyApps has a free plan with no credit card required. Paid plans bill per completed task. You connect your own Polar organization, so anything Polar charges is between you and Polar.

Which scopes should the Polar token have?

Only the ones the AI needs. You pick the scopes and an expiry when you create the Organization Access Token. Polar then refuses anything outside those scopes, on top of the tools you switch on in HeyMyApps.

Let your AI work in Polar today.

Start free. Your key stays encrypted, and you decide what the AI may do.

Connect Polar free

HeyMyApps is not affiliated with Polar. Product names are trademarks of their owners.