PO

polar

Open Source FinanceProductivity

Polar API integration for OpenCode - manage products, customers, and orders

polar payments products orders

Quick Install

npm install @openpets/polar
pnpm add @openpets/polar

Required Environment Variables

  • POLAR_TOKEN

    API token from your Polar account for authentication

  • POLAR_ORG_ID

    Your Polar organization ID or slug

Available Tools (3)

These tools are available when you install the polar plugin in your AI assistant.

polar-get-credentials-documentation

Get information about where to obtain Polar API credentials

POLAR_TOKEN

API token from your Polar account for authentication

POLAR_ORG_ID

Your Polar organization ID or slug

Example Queries

list all polar products
get all polar customers
show all polar orders
get all polar subscriptions

Usage Scenarios

product management

  1. 1 list all polar products
  2. 2 get all polar organizations
  3. 3 show all polar benefits
  4. 4 get all polar discounts

order workflow

  1. 1 get all polar orders
  2. 2 get all polar subscriptions
  3. 3 get all polar customers
  4. 4 show all polar webhooks

Use polar with Your AI Assistant

This open source plugin works with OpenCode-compatible AI assistants including ChatGPT, Claude, Perplexity, and other LLM-powered coding tools. Install the plugin and start using natural language to interact with polar.

Works with ChatGPT Works with Claude Works with Perplexity MCP Compatible