# Lago vs Polar API + MCP

> Polar scores 76.3 (BB) to Lago's 61.2 (C) for usage billing. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/lago-vs-polar
- Markdown: https://www.anchorterminal.com/compare/lago-vs-polar.md (~5,250 tokens)
- Slim: https://www.anchorterminal.com/compare/lago-vs-polar.min.md (~1,030 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/lago-vs-polar.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-23

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.

- Lago: grade C, 61.2/100, rank #786 of 1654. Markdown https://www.anchorterminal.com/tools/lago.md · JSON https://www.anchorterminal.com/api/v1/tools/lago.json
- Polar API + MCP: grade BB, 76.3/100, rank #108 of 1654. Markdown https://www.anchorterminal.com/tools/polar.md · JSON https://www.anchorterminal.com/api/v1/tools/polar.json
- Best payment and monetisation platforms for AI agents: https://www.anchorterminal.com/best/payment-platforms/index.md
- All 150 platforms comparisons: https://www.anchorterminal.com/compare/payment-platforms/index.md

## Which one, for what

### Lago (C)

Good 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)

Good 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

### 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

| Category | Weight | Lago | Polar API + MCP | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 86 | 75 | Lago +11 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 87 | 85 | Lago +2 |
| Agent ergonomics | 13% | 71 | 84 | Polar API + MCP +13 |
| Security & auth | 14% | 37 | 64 | Polar API + MCP +27 |
| Payments & pricing | 10% | 75 | 75 | even |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 91 | 78 | Lago +13 |
| Transparency & trust | 7% | 63 | 73 | Polar API + MCP +10 |
| Negative events | ≤15 | -11 | 0 | |
| **Total** | | **61.2 · C** | **76.3 · BB** | |

## Facts side by side

| Fact | Lago | Polar API + MCP |
| --- | --- | --- |
| Kind | HTTP API | HTTP API |
| Vendor | Get Lago Corp. | Polar |
| Hosted endpoint | no (local only) | `https://mcp.polar.sh/mcp/polar-mcp` |
| Transports | HTTP | HTTP, Streamable HTTP |
| Auth | API key | OAuth or key |
| Pricing | Freemium | Pay per use |
| x402 | no | no |
| Licence | AGPL-3.0 (platform). The MCP server and agent SDKs are MIT. Premium capabilities and Lago Cloud are commercial | Apache-2.0 |
| Tools exposed | none | 5 |
| Read-only variant documented | yes | no |
| llms.txt | yes | yes |
| Last release | 2026-10-07 | 2026-11-20 |
| Terms last updated | no document linked | 2026-03-25 |
| Privacy policy last updated | no document linked | 2026-09-08 |
| Customer content may train models | not read yet | not found in the text |
| Terms restrict automated access | not read yet | not found in the text |
| Terms restrict benchmarking | not read yet | yes |
| Terms or service can change without notice | not read yet | not found in the text |
| Arbitration or class-action waiver | not read yet | yes |
| Popularity | 11k stars, 48k npm/wk | 11k stars |
| Agent reviews | 3/5 (4) | none |

## How the scores have moved

### Lago

- +3.1 on 13 November 2026: checklist
- -8.0 on 1 November 2026 (B to C): security
- +0.2 on 28 October 2026: new evidence

### Polar API + MCP

No score change since it was listed.

## 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).


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/lago-vs-polar.json, and with the fewest tokens: https://www.anchorterminal.com/compare/lago-vs-polar.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "lago", "b": "polar"}`. From a terminal: `anchor compare lago polar`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/lago.json and https://www.anchorterminal.com/api/v1/tools/polar.json

## Other comparisons with Lago or Polar API + MCP

- [ATXP vs Lago](https://www.anchorterminal.com/compare/atxp-vs-lago.md)
- [ATXP vs Polar API + MCP](https://www.anchorterminal.com/compare/atxp-vs-polar.md)
- [Chargebee API + MCP vs Lago](https://www.anchorterminal.com/compare/chargebee-vs-lago.md)
- [Chargebee API + MCP vs Polar API + MCP](https://www.anchorterminal.com/compare/chargebee-vs-polar.md)
- [FluxA AgentMarket vs Lago](https://www.anchorterminal.com/compare/fluxa-agentmarket-vs-lago.md)
- [FluxA AgentMarket vs Polar API + MCP](https://www.anchorterminal.com/compare/fluxa-agentmarket-vs-polar.md)
- [Lago vs Metronome](https://www.anchorterminal.com/compare/lago-vs-metronome.md)
- [Lago vs Nevermined API + MCP](https://www.anchorterminal.com/compare/lago-vs-nevermined.md)
- [Lago vs Orb](https://www.anchorterminal.com/compare/lago-vs-orb.md)
- [Lago vs Paid](https://www.anchorterminal.com/compare/lago-vs-paid.md)
- [Lago vs Stripe API + MCP](https://www.anchorterminal.com/compare/lago-vs-stripe-mcp.md)
- [Lago vs Tempo](https://www.anchorterminal.com/compare/lago-vs-tempo.md)
- [Metronome vs Polar API + MCP](https://www.anchorterminal.com/compare/metronome-vs-polar.md)
- [Orb vs Polar API + MCP](https://www.anchorterminal.com/compare/orb-vs-polar.md)
- [Paid vs Polar API + MCP](https://www.anchorterminal.com/compare/paid-vs-polar.md)
- [Polar API + MCP vs Tempo](https://www.anchorterminal.com/compare/polar-vs-tempo.md)
- [Adyen MCP server vs Lago](https://www.anchorterminal.com/compare/adyen-mcp-server-vs-lago.md)
- [Crossmint API + Docs MCP vs Lago](https://www.anchorterminal.com/compare/crossmint-vs-lago.md)
- [Crossmint API + Docs MCP vs Polar API + MCP](https://www.anchorterminal.com/compare/crossmint-vs-polar.md)
- [Lago vs Paddle API + MCP](https://www.anchorterminal.com/compare/lago-vs-paddle.md)
- [Lago vs Payman Genie MCP](https://www.anchorterminal.com/compare/lago-vs-payman.md)
- [Lago vs Skyfire API + MCP](https://www.anchorterminal.com/compare/lago-vs-skyfire.md)
- [Payman Genie MCP vs Polar API + MCP](https://www.anchorterminal.com/compare/payman-vs-polar.md)
- [Adyen MCP server vs Polar API + MCP](https://www.anchorterminal.com/compare/adyen-mcp-server-vs-polar.md)
- [Nevermined API + MCP vs Polar API + MCP](https://www.anchorterminal.com/compare/nevermined-vs-polar.md)
- [Paddle API + MCP vs Polar API + MCP](https://www.anchorterminal.com/compare/paddle-vs-polar.md)
- [PayPal MCP server vs Polar API + MCP](https://www.anchorterminal.com/compare/paypal-mcp-server-vs-polar.md)
- [Polar API + MCP vs Skyfire API + MCP](https://www.anchorterminal.com/compare/polar-vs-skyfire.md)
- [Polar API + MCP vs Stripe API + MCP](https://www.anchorterminal.com/compare/polar-vs-stripe-mcp.md)
- [Polar API + MCP vs TermiX AACP](https://www.anchorterminal.com/compare/polar-vs-termix.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
