Polar MCP server

Products, customers, orders, subscriptions, benefits, revenue metrics and refunds. Hosted by usefulapi — connect from Claude, Cursor, or any MCP client.

Claude claude.ai · Desktop

  1. Open Customize → Connectors, then click + Add → Add custom connector.
  2. Enter the name Polar and this URL, then click Add:
    https://polar-sh.usefulapi.io/mcp
  3. Claude opens the login page: enter your Polar access token.
  4. In a chat, click + → Connectors and turn on Polar.

Team and Enterprise: an Owner adds the connector for the organization first.

Claude Code

Run this command, then run /mcp in Claude Code to log in:

claude mcp add --transport http polar-sh https://polar-sh.usefulapi.io/mcp

Cursor

Add to Cursor or add this to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "polar-sh": {
      "url": "https://polar-sh.usefulapi.io/mcp"
    }
  }
}

VS Code

Add to VS Code or add this to .vscode/mcp.json:

{
  "servers": {
    "polar-sh": {
      "type": "http",
      "url": "https://polar-sh.usefulapi.io/mcp"
    }
  }
}

Other MCP clients (Windsurf, Cline, Zed and more): add the URL as a remote MCP server (Streamable HTTP). The client then opens the login page in your browser. Do not add an Authorization header: see Before you connect.

live30 toolsFree 100 tool calls / monthPro $9/mo · $90/yr

Before you connect

The login page asks for your Polar access token.

Create one in Polar → Settings → Personal Access Tokens. Your token is used only to call the API on your behalf and to derive a private account id; it is never shown to anyone.

Add only the URL. Do not add an Authorization header or an API key to the client config. The server signs you in with OAuth: the login page asks for your Polar access token. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401.

Example prompts

Turn on the Polar connector, then ask in plain words. The AI picks the tools.

Tools 30

ToolTypeWhat it does
polar_list_organizationsread
List organisations
List the organisations the token can act for. Start here — most other tools take an organization_id. Polar: GET /v1/organizations/.
polar_list_productsread
List products
List products, optionally filtered by archived state, recurrence or a text query. Polar: GET /v1/products/.
polar_get_productread
Get one product
Fetch a single product with its prices and attached benefits. Polar: GET /v1/products/{id}.
polar_list_customersread
List customers
List customers, optionally by email or a text query. Polar: GET /v1/customers/.
polar_get_customerread
Get one customer
Fetch a single customer by Polar id. Polar: GET /v1/customers/{id}.
polar_get_customer_stateread
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.
polar_get_customer_state_by_external_idread
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.
polar_list_ordersread
List orders
List orders, filtered by customer, product, subscription, status or a date window. Polar: GET /v1/orders/.
polar_get_orderread
Get one order
Fetch a single order with its line items, discount and tax. Polar: GET /v1/orders/{id}.
polar_list_subscriptionsread
List subscriptions
List subscriptions, filtered by customer, product, status, active state or cancellation window. Polar: GET /v1/subscriptions/.
polar_get_subscriptionread
Get one subscription
Fetch a single subscription with its product, price and period. Polar: GET /v1/subscriptions/{id}.
polar_get_metricsread
Get revenue metrics
Fetch revenue and subscription metrics over a date range, bucketed by interval — orders, revenue, MRR, active subscriptions. Polar: GET /v1/metrics/.
polar_list_benefitsread
List benefits
List benefits — the things a product grants, such as licence keys, file downloads or Discord roles. Polar: GET /v1/benefits/.
polar_list_benefit_grantsread
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.
polar_list_discountsread
List discounts
List discount codes and their redemption limits. Polar: GET /v1/discounts/.
polar_list_refundsread
List refunds
List refunds, filtered by order, subscription, customer or success. Polar: GET /v1/refunds/.
polar_list_license_keysread
List licence keys
List issued licence keys and their status. Polar: GET /v1/license-keys/.
polar_list_metersread
List usage meters
List the usage meters that aggregate events into billable quantities. Polar: GET /v1/meters/.
polar_get_meter_quantitiesread
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.
polar_list_eventsread
List usage events
List the raw usage events ingested for metering, filtered by customer, meter, name or time. Polar: GET /v1/events/.
polar_list_webhook_deliveriesread
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.
polar_list_webhook_endpointsread
List webhook endpoints
List the configured webhook endpoints and their subscribed events. Polar: GET /v1/webhooks/endpoints.
polar_redeliver_webhook_eventwrite
Redeliver a webhook event
Queue one webhook event for redelivery after your endpoint recovered. Polar: POST /v1/webhooks/events/{id}/redeliver.
polar_create_refundwrite
Refund an order
Refund an order, in full or in part. This moves real money back to the customer. Polar: POST /v1/refunds/.
polar_cancel_subscriptionwrite
Cancel a subscription
Cancel a subscription at the end of its current period. The customer keeps access until then. Polar: PATCH /v1/subscriptions/{id}.
polar_create_checkout_linkwrite
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/.
polar_sh_usage_statusmeta
Usage status (free-tier meter)
Report the caller's current free-tier usage this month: calls used, monthly limit, remaining, and whether the cap is reached. Read-only; does not count against the meter.
polar_sh_request_featuremeta
Request a missing feature
Tell usefulapi that the user needs something the Polar tools cannot do yet (a missing tool, field or filter). Call it only when the user asks for something none of the tools can do, and tell the user that you send the request. Do not call it for errors or for normal requests. Do not include personal data, credentials or customer records. Stored with the product name and the client type (for example Claude or Cursor), without the user's account. At most 5 requests per day. Does not count against the meter.
polar_sh_upgrademeta
Upgrade to Pro (unlimited)
Subscribe to the Pro plan for UNLIMITED Polar tool calls (the free tier caps monthly usage). Choose monthly ($9/month) or yearly ($90/year — 2 months free) billing. Returns a Stripe Checkout link to open in your browser; after payment your account upgrades automatically. Does not count against the meter.
polar_sh_cancel_subscriptionmeta
Cancel the Pro subscription
Cancel the caller's Polar Pro subscription at the end of the paid period (no refund for the current period; unlimited calls continue until then, then the free tier applies). Requires confirm: true. Run polar_sh_upgrade later to undo the cancel before the period ends. Does not count against the meter.

Pricing

PlanPriceLimit
Free$0100 tool calls / month
Pro$9/mo · $90/yrUnlimited

Pro covers this Polar server only. Subscribe with polar_sh_upgrade (it returns a Stripe Checkout link). Cancel any time with polar_sh_cancel_subscription: Pro continues to the end of the paid period, with no refund for the current period, and running polar_sh_upgrade before then undoes the cancel. Or write to [email protected].

FAQ

Is this an official Polar product?

No. usefulapi is an independent service. It is not affiliated with or endorsed by Polar. The server calls the Polar API with your own Polar access, so it sees only the data that your account can see.

What do I need to connect?

The login page asks for your Polar access token. See Before you connect for where to find it.

Do I put my Polar key or an Authorization header in the client config?

No. Add only the URL. Do not add an Authorization header or an API key to the client config. The server signs you in with OAuth: the login page asks for your Polar access token. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401.

How do you keep my Polar credentials?

The login stores them encrypted in the authorization grant of your connection. The server uses them to call the Polar API for you and to derive a private account id for usage metering. usefulapi does not show them on any page or in any reply. To stop all access, remove the connector and change or delete these credentials in Polar.

Can the AI change my Polar data?

Yes, if you approve it. 4 of the 26 Polar tools can create or change data. The other 22 are marked read-only. Most MCP clients ask you to approve a tool call before it runs.

What does it cost?

The Free plan gives 100 tool calls / month. Pro costs $9/mo or $90/yr, with unlimited tool calls, for this Polar server only. Run polar_sh_usage_status to see how many calls you used.

How do I subscribe or cancel?

Ask the AI to run polar_sh_upgrade: it returns a Stripe Checkout link. To cancel, run polar_sh_cancel_subscription. Pro continues to the end of the paid period.

What if a Polar tool that I need is missing?

Tell the AI what you wanted to do. It can send the request with polar_sh_request_feature. We store the text with the server name, the type of AI client and the tool you tried, not with your account, and read every request when we plan new tools. You can send up to 5 requests per day.

Which AI clients can I use?

Any client that supports remote MCP servers (Streamable HTTP) with OAuth login: Claude (web and desktop), Claude Code, Cursor, VS Code, Windsurf and others.

This is a Model Context Protocol endpoint — meant to be connected from an AI client, not opened in a browser. An invalid_token response at the URL is the auth gate working as designed; clients authenticate automatically.

More Payments & Billing MCP servers

AmberfloAutumnBasis TheoryBill4TimeBillomatBillyBraintreeCashCtrlChargebeeChargeOverCheckout.come-BoekhoudenFreeAgentInvoice NinjaInvoicedLagoLemon SqueezyLexware OfficeMercoaMerit AktivaOblioOrbRecurlysevdeskSmartAccountsSmartBillSuperFakturaSzámlázz.huVyfakturuj

All Payments & Billing servers →