Integration

OpenMeter integration

OpenMeter is an open-source usage metering and billing platform for AI and SaaS products, self-hosted or run on OpenMeter Cloud. Ingest usage events in CloudEvents form and read them back; define meters with their aggregation and group-by keys, query them over time windows and list their subjects and group-by values; manage customers and subjects, features, and metered, boolean and static entitlements with their grants, usage resets, overrides, history and current value in both the v1 subject-scoped and v2 customer-scoped shapes; build a product catalogue of plans and their addons with publish, archive and next-draft-version steps, and drive subscriptions through create, edit, change, migrate, cancel, unschedule-cancelation and restore; run billing with billing profiles, billing customers, pending invoice lines, invoice simulation, and invoices you can advance, approve, retry, recalculate taxes on, snapshot quantities for, void or delete; install and configure marketplace apps including the Stripe app, its API key, checkout sessions and customer portal sessions; drive custom invoicing by submitting draft and issuing synchronization results and payment status; configure notification channels, rules and their test runs and read or resend notification events; and mint, list and invalidate consumer portal tokens that let end customers query their own usage. The host is part of the credential because every install is its own deployment. Authentication is an OpenMeter API token sent as a bearer token.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in OpenMeter.Built from the 149 OpenMeter tools below, on the connection you add once.

What you can do with OpenMeter

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Entitlement, 12 operations

  • create_customer_entitlementCreate customer entitlementPOSTCreate a customer entitlement.
  • create_subject_entitlementCreate subject entitlementPOSTCreate a subject entitlement.
  • delete_customer_entitlementDelete customer entitlementDELETEDelete customer entitlement.
  • delete_subject_entitlementDelete subject entitlementDELETEDelete subject entitlement.
  • get_customer_entitlementGet customer entitlementGETGet customer entitlement.
  • get_entitlementGet entitlementGETGet entitlement by ID.
  • get_entitlement_v2Get entitlement v2GETGet entitlement by ID.
  • get_subject_entitlementGet subject entitlementGETGet subject entitlement.
  • list_customer_entitlementsList customer entitlementsGETList customer entitlements.
  • list_entitlementsList entitlementsGETList all entitlements.
  • list_entitlements_v2List entitlements v2GETList all entitlements.
  • list_subject_entitlementsList subject entitlementsGETList subject entitlements.

Addon, 11 operations

  • create_addonCreate addonPOSTCreate an add-on.
  • create_plan_addonCreate plan addonPOSTCreate new add-on assignment for plan.
  • create_subscription_addonCreate subscription addonPOSTCreate subscription addon.
  • delete_addonDelete addonDELETEDelete add-on.
  • delete_plan_addonDelete plan addonDELETEDelete add-on assignment for plan.
  • get_addonGet addonGETGet add-on.
  • get_plan_addonGet plan addonGETGet add-on assignment for plan.
  • get_subscription_addonGet subscription addonGETGet subscription addon.
  • list_addonsList addonsGETList add-ons.
  • list_plan_addonsList plan addonsGETList all available add-ons for plan.
  • list_subscription_addonsList subscription addonsGETList subscription addons.

Customer, 7 operations

  • create_customerCreate customerPOSTCreate customer.
  • delete_billing_customerDelete billing customerDELETEDelete a customer override.
  • delete_customerDelete customerDELETEDelete customer.
  • get_billing_customerGet billing customerGETGet a customer override.
  • get_customerGet customerGETGet customer.
  • list_billing_customersList billing customersGETList customer overrides.
  • list_customersList customersGETList customers.

Grant, 6 operations

  • create_customer_entitlement_grantCreate customer entitlement grantPOSTCreate customer entitlement grant.
  • create_subject_entitlement_grantCreate subject entitlement grantPOSTCreate subject entitlement grant.
  • list_customer_entitlement_grantsList customer entitlement grantsGETList customer entitlement grants.
  • list_grantsList grantsGETList grants.
  • list_grants_v2List grants v2GETList grants.
  • list_subject_entitlement_grantsList subject entitlement grantsGETList subject entitlement grants.

Event, 5 operations

  • get_notification_eventGet notification eventGETGet notification event.
  • ingest_eventsIngest eventsPOSTIngest events.
  • list_eventsList eventsGETList ingested events.
  • list_events_v2List events v2GETList ingested events.
  • list_notification_eventsList notification eventsGETList notification events.

Subscription, 5 operations

  • create_subscriptionCreate subscriptionPOSTCreate subscription.
  • delete_subscriptionDelete subscriptionDELETEDelete subscription.
  • edit_subscriptionEdit subscriptionPATCHEdit subscription.
  • get_subscriptionGet subscriptionGETGet subscription.
  • list_customer_subscriptionsList customer subscriptionsGETList customer subscriptions.

App, 4 operations

  • delete_customer_app_dataDelete customer app dataDELETEDelete customer app data.
  • get_appGet appGETGet app.
  • list_appsList appsGETList apps.
  • list_customer_app_dataList customer app dataGETList customer app data.

Channel, 4 operations

  • create_notification_channelCreate notification channelPOSTCreate a notification channel.
  • delete_notification_channelDelete notification channelDELETEDelete a notification channel.
  • get_notification_channelGet notification channelGETGet notification channel.
  • list_notification_channelsList notification channelsGETList notification channels.

Feature, 4 operations

  • create_featureCreate featurePOSTCreate feature.
  • delete_featureDelete featureDELETEDelete feature.
  • get_featureGet featureGETGet feature.
  • list_featuresList featuresGETList features.

Invoice, 4 operations

  • create_invoice_from_pending_linesCreate invoice from pending linesPOSTInvoice a customer based on the pending line items.
  • delete_invoiceDelete invoiceDELETEDelete an invoice.
  • get_invoiceGet invoiceGETGet an invoice.
  • list_invoicesList invoicesGETList invoices.

Meter, 4 operations

  • create_meterCreate meterPOSTCreate meter.
  • delete_meterDelete meterDELETEDelete meter.
  • get_meterGet meterGETGet meter.
  • list_metersList metersGETList meters.

Plan, 4 operations

  • create_planCreate planPOSTCreate a plan.
  • delete_planDelete planDELETEDelete plan.
  • get_planGet planGETGet plan.
  • list_plansList plansGETList plans.

Profile, 4 operations

  • create_billing_profileCreate billing profilePOSTCreate a new billing profile.
  • delete_billing_profileDelete billing profileDELETEDelete a billing profile.
  • get_billing_profileGet billing profileGETGet a billing profile.
  • list_billing_profilesList billing profilesGETList billing profiles.

Rule, 4 operations

  • create_notification_ruleCreate notification rulePOSTCreate a notification rule.
  • delete_notification_ruleDelete notification ruleDELETEDelete a notification rule.
  • get_notification_ruleGet notification ruleGETGet notification rule.
  • list_notification_rulesList notification rulesGETList notification rules.

Subject, 4 operations

  • delete_subjectDelete subjectDELETEDelete subject.
  • get_subjectGet subjectGETGet subject.
  • list_meter_subjectsList meter subjectsGETList meter subjects.
  • list_subjectsList subjectsGETList subjects.

Value, 4 operations

  • get_customer_entitlement_valueGet customer entitlement valueGETGet customer entitlement value.
  • get_customer_entitlement_value_v2Get customer entitlement value v2GETGet customer entitlement value.
  • get_subject_entitlement_valueGet subject entitlement valueGETGet subject entitlement value.
  • list_meter_group_by_valuesList meter group by valuesGETList meter group by values.

Query, 3 operations

  • query_meterQuery meterGETQuery meter.
  • query_meter_with_bodyQuery meter with bodyPOSTQuery meter.
  • query_portal_meterQuery portal meterGETQuery meter Query meter.

Archive, 2 operations

  • archive_addonArchive addonPOSTArchive add-on version.
  • archive_planArchive planPOSTArchive plan version.

History, 2 operations

  • list_customer_entitlement_historyList customer entitlement historyGETGet customer entitlement history.
  • list_subject_entitlement_historyList subject entitlement historyGETGet subject entitlement history.

Listing, 2 operations

  • get_marketplace_listingGet marketplace listingGETGet app details by type.
  • list_marketplace_listingsList marketplace listingsGETList available apps.

Override, 2 operations

  • override_customer_entitlementOverride customer entitlementPUTOverride customer entitlement.
  • override_subject_entitlementOverride subject entitlementPUTOverride subject entitlement.

Publish, 2 operations

  • publish_addonPublish addonPOSTPublish add-on.
  • publish_planPublish planPOSTPublish plan.

Token, 2 operations

  • create_portal_tokenCreate portal tokenPOSTCreate consumer portal token.
  • list_portal_tokensList portal tokensGETList consumer portal tokens.

Acces, 1 operation

  • get_customer_accessGet customer accessGETGet customer access.

Advance, 1 operation

  • advance_invoiceAdvance invoicePOSTAdvance the invoice's state to the next status.

Apikey, 1 operation

  • install_marketplace_app_with_api_keyInstall marketplace app with api keyPOSTInstall app via API key.

Approve, 1 operation

  • approve_invoiceApprove invoicePOSTSend the invoice to the customer.

Cancel, 1 operation

  • cancel_subscriptionCancel subscriptionPOSTCancel subscription.

Change, 1 operation

  • change_subscriptionChange subscriptionPOSTChange subscription.

Currencie, 1 operation

  • list_currenciesList currenciesGETList supported currencies.

Install, 1 operation

  • install_marketplace_appInstall marketplace appPOSTInstall app.

Invalidate, 1 operation

  • invalidate_portal_tokensInvalidate portal tokensPOSTInvalidate portal tokens.

Migrate, 1 operation

  • migrate_subscriptionMigrate subscriptionPOSTMigrate subscription.

Next, 1 operation

  • create_next_plan_versionCreate next plan versionPOSTNew draft plan.

Oauth2, 1 operation

  • get_marketplace_app_oauth2_install_urlGet marketplace app oauth2 install urlGETGet OAuth2 install URL.

Pending line, 1 operation

  • create_pending_invoice_lineCreate pending invoice linePOSTCreate pending line items.

Portal, 1 operation

  • create_customer_stripe_portal_sessionCreate customer stripe portal sessionPOSTCreate Stripe customer portal session.

Progres, 1 operation

  • get_progressGet progressGETGet progress.

Recalculate, 1 operation

  • recalculate_invoice_taxesRecalculate invoice taxesPOSTRecalculate an invoice's tax amounts.

Resend, 1 operation

  • resend_notification_eventResend notification eventPOSTRe-send notification event.

Session, 1 operation

  • create_stripe_checkout_sessionCreate stripe checkout sessionPOSTCreate checkout session.

Stripe, 1 operation

  • get_customer_stripe_app_dataGet customer stripe app dataGETGet customer stripe app data.

Showing the first 120 of 149 endpoints. The rest are in the product, searchable from the workflow builder and from chat.

Use OpenMeter from Claude Code, Cursor or Codex

Connect OpenMeter in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its OpenMeter operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect OpenMeter

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect OpenMeter once

    Add your OpenMeter connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

OpenMeter integration FAQ

What can you do with the OpenMeter integration?

LiveContext exposes 149 operations on OpenMeter, covering entitlement, addon, customer and grant.

Popular integrations

Browse the whole catalog