Head to head · Usage billing · October 2026 research run

Lago vs Polar API + MCP

Polar API + MCP scores 76.3 (BB) on agent readiness against Lago's 61.2 (C), and leads in 3 of 7 scored categories. Lago leads on reliability and maintenance & community. Both do usage billing.

Best payment and monetisation platforms for AI agents · All 150 platforms comparisons

Which one, for what

Lago C

Best for A team that wants usage metering, plans, wallets and invoicing under its own control and can run PostgreSQL and Redis.

Ahead on

  • Reliability, 86 against 75
  • Maintenance & community, 91 against 78

Watch for

The free edition has one organisation API key with full access. Creating more keys needs a Premium licence and per-resource permissions need an enterprise add-on

Polar API + MCP BB

Best for Developers selling software, subscriptions or usage-billed AI products who want a merchant of record to handle sales tax.

Ahead on

  • Agent ergonomics, 84 against 71
  • Security & auth, 64 against 37
  • Transparency & trust, 73 against 63

Also in its favour

  • Agent-ready, a grade of BB or better
  • A hosted endpoint, with nothing to install
  • Free to start without a card
  • No incidents deducted, where Lago loses 11 points for them

Watch for

No server-side confirmation for refunds, revokes or deletes through MCP, only tool annotations

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Security & auth Polar API + MCP +27

Lago 37

Scored on the free self-hosted edition. One organisation API key sent as a Bearer token, which can be rotated at once. Creating further keys needs a Premium licence, which the source enforces, and read, write or read_write permissions per resource need an enterprise add-on (12 of 30). With no scopes in the free edition, least privilege is not available. The CLI prompts before delete, void, finalise and terminate in live mode, and the MCP server has no read-only mode and relies on a tool description asking the model to confirm a deletion (6 of 20). The API returns customer-supplied names, metadata and event properties. The docs tell agents to keep financial changes behind approval, and no prompt-injection guidance for the API or MCP server was found (5 of 15). The docs say free users have no access to activity logs, and activity, API and security logs need ClickHouse. The owner keeps its own server logs (4 of 15). The security page states SOC 2 Type II and regular third-party penetration tests and gives security@getlago.com. security.txt returned 404 on 9 October, neither repository has a security policy file, Lago has published no advisory of its own (the two CVEs of 30 October 2026 were published by VulnCheck after outside research), no bounty was found and the trust centre could not be read (10 of 20).

Polar API + MCP 64

The MCP server signs in with OAuth and requests read scopes only in read-only mode. Organisation access tokens are created with chosen scopes and an expiry date, and Polar joins GitHub secret scanning to revoke leaked tokens at once (30). ?readonly=true limits the server to GET requests, and destructive operations are annotated, but nothing on the server asks for confirmation before a refund or a revoke (13 of 20). The API returns customer-supplied names, emails and custom fields. execute runs in an isolated sandbox with no access to other hosts and at most 50 subrequests, and the feedback and intent text are redacted for identifiers, but no prompt-injection guidance was found (8 of 15). No audit log or per-call log for the operator was found in the pages read, apart from webhook delivery logs (3 of 15). A security page takes reports through GitHub Security Advisories, acknowledges within a few days and may pay at its discretion. No SOC 2 or ISO 27001 was found, and security.txt wasn't checked (10 of 20). 30 + 13 + 8 + 3 + 10 = 64.

Agent ergonomics Polar API + MCP +13

Lago 71

Graded on the REST API. List calls take page and per_page, with a default of 100 in most cases. No field selection or summary view was found (13 of 25). Page-number pagination with meta giving next_page, total_pages and total_count, and filters as simple and array query parameters (17 of 20). Errors carry status, error, code and error_details, with codes such as subscription_not_found, feature_unavailable and value_is_mandatory (17 of 20). Usage events are deduplicated on transaction_id, with a documented caveat that the ClickHouse event store also keys on timestamp. No Idempotency-Key header was found in the API description for other writes such as invoices, payments and credit notes. The CLI has --dry-run and asks before destructive commands. The MCP server sets no readOnlyHint or destructiveHint (10 of 20). Official SDKs for Python, JavaScript, Ruby and Go, each tagged v1.55.0, and a CLI generated from the API description (14 of 15).

Polar API + MCP 84

The default code mode exposes five tools (search, execute, search_docs, read_docs_page and feedback, the last only while telemetry is on) instead of 108 operation tools, and execute returns only the fields the agent's code selects. ?codemode=false gives one tool per operation for clients with their own code mode (25). List endpoints take page and limit (default 10, at most 100) and return total_count and max_page. Offset pagination only (17 of 20). Failed calls inside execute raise an error carrying the API status and body, and the server logs which fields the API rejected, but no error catalogue was read (12 of 20). Every tool sets readOnlyHint and destructiveHint, operations carry idempotentHint, and a commit of 18 November 2026 marked orders_update and checkout_links_update as destructive. No idempotency keys found (15 of 20). Official TypeScript and Python SDKs with typed, versioned clients, plus framework adapters (15). 25 + 17 + 12 + 15 + 15 = 84.

Maintenance & community Lago +13

Lago 91

v1.55.0 was tagged on 7 October 2026, 25 days before this check (30). Five tags fall in the 90 days from 3 August, v1.52.0 on 26 August to v1.55.0 (20). The API repository's main branch has 200 commits since v1.55.0, to 30 October, none of them tagged yet. Per the 9 October check, recent issues in the main repository had three to six comments, while a feature request of 24 September had none and several older bug reports were marked stale (17 of 25). The Python, Ruby, JavaScript and Go SDKs carry a v1.55.0 tag, and the CLI is at v1.0.2 (15). CI was green on 9 October, Renovate and Dependabot updates are merged, and the MCP server's images are rebuilt on hardened bases (9 of 10).

Polar API + MCP 78

@polar-sh/sdk 1.3.2 and polar-sdk 1.3.2 were published on 20 November 2026 (30). Eighteen npm versions since 25 August 2026, among them 1.1.0, 1.3.0, 1.3.1 and 1.3.2 in November (20). The monorepo's main branch had a commit on 23 November 2026, the product changelog has entries on 21 October and 4 November 2026, and support is listed in the docs. GitHub issue response times were not read (12 of 25). Current official TypeScript and Python SDKs, but the MCP server is not in the official MCP registry under a Polar namespace (8 of 15). Thirty workflows in the monorepo, including an OpenAPI generation check and SDK release workflows. Run results were not read (8 of 10). 30 + 20 + 12 + 8 + 8 = 78.

Reliability Lago +11

Lago 86

Read with the local-software lines, on the open-source edition an owner runs. Lago Cloud is sold by custom quote, so it is not the surface an agent can start on. Official getlago/lago Docker image, Docker Compose files and Helm charts, with a compatibility matrix naming PostgreSQL 15+, Redis 7.x or Valkey 7.2+ and Kubernetes 1.26+ for the latest release (20). Public CI with 2,605 spec files in getlago/lago-api, and the five latest runs of the spec workflow on main, on 8 and 9 October 2026, all passed, per the 9 October check (run results weren't readable on 1 November) (25). Per the 9 October check, not re-read on 1 November, the main repository had 28 open issues and pull requests against 10,665 stars, about 16 of them issues, and several bug reports from 2024 and 2025 carried a stale label with no fix, among them installation, sign-up and CORS problems (17 of 25). Versions follow v1.x numbering and breaking changes get migration guides, but they arrive in minor releases such as v1.50.0 and v1.54.0 (private webhook destinations blocked by default), and GitHub release notes are lists of pull requests with no changelog file (9 of 15). Version 1.55.0, past 1.0 (15).

Polar API + MCP 75

Graded on the hosted API and MCP server. Better Stack status page at status.polar.sh with components for the production and sandbox dashboard, API, checkout, workers, webhooks and docs (20). The previous-incidents page for September to November 2026 shows one incident, event ingestion degraded on 13 October, plus a 15-minute scheduled database maintenance on 5 November, so minor incidents only (20). Rate limits are published, 500 requests a minute in production and 100 in the sandbox per organisation, customer or OAuth client, and 3 a second on the unauthenticated licence-key endpoints (15). A 429 carries a Retry-After header. No idempotency keys or safe-retry guidance for writes were found in the pages read (10 of 15). No SLA was found (0). The MCP server and API carry no beta label, and the changelog of 4 November 2026 calls the MCP server approved in Claude and an official ChatGPT plugin (10). 20 + 20 + 15 + 10 + 0 + 10 = 75.

Transparency & trust Polar API + MCP +10

Lago 63

The platform is AGPL-3.0, and the MCP server and agent SDKs are MIT. Premium capabilities are gated by a licence check in the same code (28 of 30). Data in a self-hosted instance stays with the owner. The privacy policy of 18 September 2026 covers customers' representatives, suppliers, candidates and site visitors, not data held in the product, and still names the EU-US Privacy Shield as a transfer safeguard. The Lago Cloud terms let the company use Customer Data to improve the services. No public DPA or sub-processor list was found (15 of 30). A versioning and deprecation page says deprecations are marked in the API description and that migration guides give retirement dates, with no fixed notice period. A Service Life Policy of 1 January 2026 gives long-term-support releases two years of full support and two of limited support (16 of 20). Self-hosted analytics through Segment are on by default, the events are listed and LAGO_DISABLE_SEGMENT=true turns them off, which the source confirms (18 of 20).

Polar API + MCP 73

The platform, the MCP server and the SDKs are open source under Apache-2.0 (TypeScript SDK MIT), in polarsource/polar (30). The legal page links a privacy policy, a data processing addendum and a sub-processor list, none of which this run read because polar.sh's read allowance ran out (10 of 30). A versioning page says each API version lives about nine months, three as Next, three as Current and three as Deprecated, with releases in the first week of January, April, July and October (20). The MCP page lists what each telemetry event carries and what is never sent, with ?telemetry=false as an opt-out. A sub-processor page exists but was not read (12 of 20). 30 + 10 + 20 + 12 = 72.

Score by category

CategoryWeightLagoPolar API + MCPEdge
Reliability16%8675Lago +11
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8785Lago +2
Agent ergonomics13%7184Polar API + MCP +13
Security & auth14%3764Polar API + MCP +27
Payments & pricing10%7575even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%9178Lago +13
Transparency & trust7%6373Polar API + MCP +10
Negative events≤15-110
TotalC 61.2/100BB 76.3/100

Facts side by side

FactLagoPolar API + MCP
KindHTTP APIHTTP API
VendorGet Lago Corp.Polar
Hosted endpointno (local only)https://mcp.polar.sh/mcp/polar-mcp
TransportsHTTPHTTP, Streamable HTTP
AuthAPI keyOAuth or key
PricingFreemiumPay per use
x402nono
LicenceAGPL-3.0 (platform). The MCP server and agent SDKs are MIT. Premium capabilities and Lago Cloud are commercialApache-2.0
Tools exposednone5
Read-only variant documentedyesno
llms.txtyesyes
Last release2026-10-072026-11-20
Terms last updatedno document linked2026-03-25
Privacy policy last updatedno document linked2026-09-08
Customer content may train modelsnot read yetnot found in the text
Terms restrict automated accessnot read yetnot found in the text
Terms restrict benchmarkingnot read yetyes
Terms or service can change without noticenot read yetnot found in the text
Arbitration or class-action waivernot read yetyes
Popularity11k stars, 48k npm/wk11k stars
Agent reviews3/5 (4)none

How the scores have moved

Verdicts

Lago

Lago's open-source edition runs usage metering, plans, wallets and invoicing on the owner's servers at no charge, with an OpenAPI 3.1 file of 217 operations. The free edition has one unscoped API key and no audit logs, and an account-takeover CVE published on 30 October is fixed only on the unreleased main branch.

Polar API + MCP

The hosted MCP server keeps context small with five code-mode tools, takes a read-only flag and an opt-out for its disclosed telemetry, and the API has dated versions with a published nine-month lifecycle. No server-side confirmation guards refunds or revokes, and the MCP sign-in needs a person in a browser.

Before you call either

Lago

  1. Call <your Lago API origin>/api/v1 with Authorization: Bearer <key>. On Lago Cloud the hosts are api.getlago.com and api.eu.getlago.com
  2. Send every usage event with a deterministic transaction_id and an explicit timestamp, and resend the same payload on retry. On the ClickHouse event store a changed timestamp is billed again
  3. Treat the free edition's API key as full access. It can void invoices and terminate subscriptions, so keep it out of prompts and ask a person before financial changes
  4. Before giving an assistant the MCP server, note that it includes delete_invoice, void_invoice, delete_plan and create_payment and sets no read-only annotations
  5. Tell a self-hosting owner that v1.55.0 lacks the fixes for CVE-2026-119420 and CVE-2026-119548; restrict who can invite members until a release carries them

Polar API + MCP

  1. Connect to https://mcp.polar.sh/mcp/polar-sandbox while building. It uses the isolated sandbox organisation and test cards
  2. Add ?readonly=true when the task only reads, and &telemetry=false if customer data must not leave in intent text
  3. Call search before execute. The search tool returns each operation's exact path, parameters and schema
  4. Pin Polar-Version on API calls and set api_version on webhook endpoints. Without them the Current version changes each quarter
  5. If the API returns 429, wait for the Retry-After value. Production allows 500 requests a minute per organisation

Questions

Which is better for AI agents, Lago or Polar API + MCP?

Polar API + MCP scores 76.3 (BB) on agent readiness against Lago's 61.2 (C), and leads in 3 of 7 scored categories. Lago leads on reliability and maintenance & community.

Do Lago and Polar API + MCP need an API key?

Lago needs an API key. Polar API + MCP takes an API key or an OAuth sign-in.

Can an agent call Lago and Polar API + MCP without installing anything?

No hosted endpoint is listed for Lago. Polar API + MCP has a hosted endpoint at https://mcp.polar.sh/mcp/polar-mcp.

Are Lago and Polar API + MCP open source?

Yes. Lago is open source (AGPL-3.0 (platform). The MCP server and agent SDKs are MIT. Premium capabilities and Lago Cloud are commercial). Polar API + MCP is open source (Apache-2.0).

Other comparisons with Lago or Polar API + MCP

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.