Products, customers, orders, subscriptions, benefits, revenue metrics and refunds. Hosted by usefulapi — connect from Claude, Cursor, or any MCP client.
Team and Enterprise: an Owner adds the connector for the organization first.
Run this command, then run /mcp in Claude Code to log in:
Add to Cursor or add this to ~/.cursor/mcp.json:
{
"mcpServers": {
"polar-sh": {
"url": "https://polar-sh.usefulapi.io/mcp"
}
}
}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.
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.
Turn on the Polar connector, then ask in plain words. The AI picks the tools.
| Tool | Type | What it does |
|---|---|---|
polar_list_organizations | read | 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_products | read | List products List products, optionally filtered by archived state, recurrence or a text query. Polar: GET /v1/products/. |
polar_get_product | read | Get one product Fetch a single product with its prices and attached benefits. Polar: GET /v1/products/{id}. |
polar_list_customers | read | List customers List customers, optionally by email or a text query. Polar: GET /v1/customers/. |
polar_get_customer | read | Get one customer Fetch a single customer by Polar id. Polar: GET /v1/customers/{id}. |
polar_get_customer_state | read | 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_id | read | 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_orders | read | List orders List orders, filtered by customer, product, subscription, status or a date window. Polar: GET /v1/orders/. |
polar_get_order | read | Get one order Fetch a single order with its line items, discount and tax. Polar: GET /v1/orders/{id}. |
polar_list_subscriptions | read | List subscriptions List subscriptions, filtered by customer, product, status, active state or cancellation window. Polar: GET /v1/subscriptions/. |
polar_get_subscription | read | Get one subscription Fetch a single subscription with its product, price and period. Polar: GET /v1/subscriptions/{id}. |
polar_get_metrics | read | 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_benefits | read | 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_grants | read | 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_discounts | read | List discounts List discount codes and their redemption limits. Polar: GET /v1/discounts/. |
polar_list_refunds | read | List refunds List refunds, filtered by order, subscription, customer or success. Polar: GET /v1/refunds/. |
polar_list_license_keys | read | List licence keys List issued licence keys and their status. Polar: GET /v1/license-keys/. |
polar_list_meters | read | List usage meters List the usage meters that aggregate events into billable quantities. Polar: GET /v1/meters/. |
polar_get_meter_quantities | read | 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_events | read | 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_deliveries | read | 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_endpoints | read | List webhook endpoints List the configured webhook endpoints and their subscribed events. Polar: GET /v1/webhooks/endpoints. |
polar_redeliver_webhook_event | write | Redeliver a webhook event Queue one webhook event for redelivery after your endpoint recovered. Polar: POST /v1/webhooks/events/{id}/redeliver. |
polar_create_refund | write | 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_subscription | write | 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_link | write | 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_status | 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_feature | 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_upgrade | 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_subscription | 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. |
| Plan | Price | Limit |
|---|---|---|
| Free | $0 | 100 tool calls / month |
| Pro | $9/mo · $90/yr | Unlimited |
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].
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.
The login page asks for your Polar access token. See Before you connect for where to find it.
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.
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.
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.
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.
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.
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.
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.