Commet
  • Pricing
Log InTry out

Add billing with
Cursor

Start billing for freeRead docs

Automatic

Billing expertise built into Cursor

Connect Commet's MCP server to Cursor and build billing into your app while you code. Create plans, track usage, and manage subscriptions directly from your editor.

billing.ts
import Commet from "commet-node";
const commet = new Commet({ apiKey: process.env.COMMET_API_KEY });
// Track usage
await commet.usage.track({
customerId: "cus_123",
featureSlug: "api-calls",
amount: 1,
});
// Check access
const access = await commet.entitlements.check({
customerId: "cus_123",
featureSlug: "api-calls",
});
if (!access.allowed) {
throw new Error("Usage limit reached");
}
import Commet from "commet-node";
const commet = new Commet({ apiKey: process.env.COMMET_API_KEY });
// Track usage
await commet.usage.track({
customerId: "cus_123",
featureSlug: "api-calls",
amount: 1,
});
// Check access
const access = await commet.entitlements.check({
customerId: "cus_123",
featureSlug: "api-calls",
});
if (!access.allowed) {
throw new Error("Usage limit reached");
}
.cursor/mcp.json
{
"mcpServers": {
"commet": {
"url": "https://commet.co/mcp"
}
}
}
{
"mcpServers": {
"commet": {
"url": "https://commet.co/mcp"
}
}
}

Easy to use

Add Commet MCP to Cursor

Configure the MCP server to create plans, manage subscriptions, and track usage directly from Cursor.

+ Add to CursorDocumentation

Agent Skills

Install Commet Skills

Agent Skills give Cursor the expertise it needs to set up billing, configure pricing models, and follow best practices. Install them with a single command.

Get startedDocumentation
Terminal
npx skills add commet-labs/commet-skills
npx skills add commet-labs/commet-skills

Frequently Asked Questions

Install the Commet MCP server in Cursor and connect it with your API key. Once connected, you can create plans, configure pricing models, manage subscriptions, and track usage — all without leaving Cursor.

Commet supports metered (pay for what you use), credits (block when exhausted), balance (spend across features), seats (per-user pricing), and boolean (feature gating). You can configure any of these through the MCP server or SDK.

The Commet MCP server is a Model Context Protocol server that gives Cursor native tools to manage billing. Once installed, Cursor can create plans, manage subscriptions, track usage, and generate invoices through natural language.

Agent Skills give Cursor modular billing expertise — pricing model patterns, subscription lifecycle best practices, and SDK integration knowledge. Install them with a single command: npx skills add commet-labs/commet-skills.

Yes. Commet has a built-in AI model catalog with per-token pricing. You can track input, output, and cache tokens with configurable margins. Usage events calculate costs automatically using the balance consumption model.

Yes. Commet is a Merchant of Record that handles taxes, compliance, refunds, and payouts. Stripe Tax is integrated for automatic tax calculation. You don't need to worry about tax logic.

Commet has no setup fees and no monthly minimums. You only pay 4.5% + $0.40 per successful transaction. You can start building and testing for free using the sandbox environment.

Start billing in minutes

No setup fees. No monthly minimums. 4.5% + $0.40 per successful transaction.

Start billing for free

Developers

  • Documentation
  • Templates
  • GitHub

Resources

  • Blog
  • Changelog
  • Pricing

AI

  • Agents
  • MCP Server
  • Agent Skills
  • Claude Code
  • Codex

Learn

  • Guides
  • Glossary
  • Solutions
  • Billing for AI Models
  • Comparison

Company

  • About
  • Open Source
  • Terms
  • Privacy
XLinkedInGitHub