Bring Creator Economy
to Pydantic AI
Create your Vinkius account to connect Polar to Pydantic AI and start using all 10 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the Polar MCP Server?
Connect your Polar account to any AI agent and take full control of your digital commerce operations through natural conversation.
What you can do
- Product Management — List, retrieve and audit all products (one-time, subscription, free) with pricing and metadata
- Subscription Tracking — Monitor active, canceled and past_due subscriptions with billing periods and customer info
- Order & Revenue — List completed orders with amounts, currency, payment status and customer details
- Customer Discovery — Browse customers by email, name and purchase history
- Discount Management — List, create and audit discount codes with percentage or fixed-amount types
- Checkout Operations — Create checkout sessions for products and track open, expired and confirmed checkouts
- Webhook Audit — Review configured webhook endpoints and their subscribed events
How it works
- Subscribe to this server
- Enter your Polar Personal Access Token
- Start managing your commerce from Claude, Cursor, or any MCP-compatible client
No more clicking through the Polar dashboard to check subscriptions or create discount codes. Your AI acts as a dedicated commerce engineer.
Who is this for?
- Indie Developers — quickly check subscription status, review orders and create discount codes without leaving your IDE
- Commerce Teams — audit product catalog, track revenue via orders and manage customer data
- Marketing — create promotional discounts, track checkout conversion and review webhook integrations
Built-in capabilities (10)
Requires the product ID. Optionally associate with an existing customer and apply a discount. Returns the checkout session with its URL that you can redirect customers to for payment. Create a new checkout session in Polar
Requires the name, code, type (percentage or fixed_amount), and amount. Optionally set the duration (once, forever, repeating). The discount can be applied during checkout. Create a new discount code in Polar
Provide the product ID (UUID format). Get details for a specific Polar product
Each checkout shows its status (open, expired, confirmed), associated product, customer, and creation date. Useful for tracking abandoned and completed checkouts. List checkout sessions in your Polar store
Each customer shows their email, name, billing address, and metadata. Optionally filter by email to find a specific customer. List customers in your Polar store
Each discount shows its code, type (percentage, fixed_amount), amount, duration (once, forever, repeating), and active status. Use this to audit your promotional offers. List discount codes in your Polar store
Each order shows the customer, product, amount, currency, payment status, and creation date. Useful for tracking revenue and verifying successful transactions. List orders in your Polar store
Each product includes its name, description, price, type (one-time, subscription, free), and metadata. Use this to audit your product catalog and see what you are selling. List products in your Polar store
Each subscription shows the customer, product, status (active, past_due, canceled, expired, incomplete, trialing), current period start/end dates, and amount. Optionally filter by status and set a limit. List subscriptions in your Polar store
Each webhook shows its URL, subscribed events (order.created, subscription.active, etc.), and status. Use this to audit your event integrations. List webhook endpoints in your Polar store
Why Pydantic AI?
Pydantic AI validates every Polar tool response against typed schemas, catching data inconsistencies at build time. Connect 10 tools through Vinkius and switch between OpenAI, Anthropic, or Gemini without changing your integration code. full type safety, structured output guarantees, and dependency injection for testable agents.
- —
Full type safety: every MCP tool response is validated against Pydantic models, catching data inconsistencies before they reach your application
- —
Model-agnostic architecture. switch between OpenAI, Anthropic, or Gemini without changing your Polar integration code
- —
Structured output guarantee: Pydantic AI ensures tool results conform to defined schemas, eliminating runtime type errors
- —
Dependency injection system cleanly separates your Polar connection logic from agent behavior for testable, maintainable code
Polar in Pydantic AI
Why run Polar with Vinkius?
The Polar connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 10 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect Polar using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
Polar and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect Polar to Pydantic AI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
Polar for Pydantic AI
Every request between Pydantic AI and Polar is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
How do I create a Polar Personal Access Token?
Log in to the Polar Dashboard, go to Settings > Developer > Personal Access Tokens, click Create Token, give it a name and copy the token immediately — it starts with polar_pat_ and won't be shown again.
Can I create discount codes via the agent?
Yes! Use the create_discount tool with a name, code, type (percentage or fixed_amount) and amount. Optionally set the duration (once, forever, repeating). The discount will be available during checkout.
Can I check my subscription revenue?
Yes! Use list_subscriptions with status 'active' to see all active subscriptions, and list_orders to see completed orders with their amounts. Combine both to get a full picture of your recurring and one-time revenue.
Can I create checkout links programmatically?
Yes! Use create_checkout with a product_id and optionally a customer_id and discount_id. This creates a checkout session that returns a URL you can share with customers or embed in your app.
How does Pydantic AI discover MCP tools?
Create an MCPServerHTTP instance with the server URL. Pydantic AI connects, discovers all tools, and generates typed Python interfaces automatically.
Does Pydantic AI validate MCP tool responses?
Yes. When you define result types as Pydantic models, every tool response is validated against the schema. Invalid data raises a clear error instead of silently corrupting your pipeline.
Can I switch LLM providers without changing MCP code?
Absolutely. Pydantic AI abstracts the model layer. your Polar MCP integration works identically with OpenAI, Anthropic, Google, or any supported provider.
MCPServerHTTP not found
Update: pip install --upgrade pydantic-ai
Explore More MCP Servers
View all →
Treblle
1 toolsMonitor, document, and analyze your API traffic in real-time. Ingest request and response data directly into Treblle for instant observability.

crowd.dev (LFX CDP)
10 toolsEquip your AI agent to manage community members, activities, and organizations directly via the crowd.dev (LFX) API.

BLS Jobs — Nonfarm Payrolls & Wages
2 toolsAccess the definitive source for US employment growth. Query Nonfarm Payrolls, private sector job creation, and average hourly earnings tracked by the BLS Current Employment Statistics (CES) program.

MINDBODY Health & Wellness
10 toolsManage your wellness business via MINDBODY — track class schedules, client profiles, and visit history directly via AI.
