analytics
ChartMogul MCP, CLI, and Lua Integration for AI Agents
ChartMogul integration docs for AI agents: MCP gateway setup, ChartMogul CLI commands, Lua API reference, credentials, and function schemas.ChartMogul for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
chartmogul.chartmogul_list_customers | Read read | 7 | List customers from ChartMogul. Supports cursor pagination and filters including status, email, data source UUID, external ID, and billing system. |
chartmogul.chartmogul_get_customer | Read read | 1 | Get details for a single ChartMogul customer by UUID. Returns full customer information including attributes, address, and custom fields. |
chartmogul.chartmogul_list_subscriptions | Read read | 3 | List subscriptions for a specific ChartMogul customer. The current API endpoint is /v1/customers/{CUSTOMER_UUID}/subscriptions and uses cursor pagination. |
chartmogul.chartmogul_list_plans | Read read | 3 | List billing plans from ChartMogul. Supports cursor pagination and optional filtering by data source UUID. |
chartmogul.chartmogul_list_invoices | Read read | 4 | List invoices from ChartMogul. Supports cursor pagination and filters by customer UUID or invoice external ID. |
chartmogul.chartmogul_get_metrics | Read read | 6 | Query subscription analytics metrics from ChartMogul. Returns key metrics like MRR, ARR, churn rate, customer count, and more. Specify a date range and interval for timeseries data. |
chartmogul.chartmogul_get_current_user | Read read | 0 | Verify ChartMogul API credentials with the /v1/ping endpoint. Returns pong data when the API key is valid. |