# Baremetrics — MCP server on mcp.ai > Connect your Baremetrics account and use 8 tools for analytics straight from your AI agent. Connect with your own API key. Baremetrics provides subscription analytics, metrics, customer insights, and revenue data for recurring-revenue businesses. By: mcp.ai · official Page: https://mcp.ai/baremetrics ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_baremetrics?ms=1787291340000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/baremetrics/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/baremetrics/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/baremetrics/skill.md Postman collection (v2.1): https://mcp.ai/baremetrics/postman.json ## Tools - baremetrics_get_account() — Return the connected Baremetrics account identity, company, default currency, and calculation range. - baremetrics_get_cohorts() — Return Baremetrics cohort analysis for comparing customer retention and revenue behavior across signup cohorts. - baremetrics_get_metric_breakdown(metric: string, end_date: string, breakdown: string, start_date: string) — Return daily values for one Baremetrics metric broken down by contributing customers or plans over an inclusive date range. - baremetrics_get_metric_summary(end_date: string, start_date: string) — Return wide daily Baremetrics business metrics for an inclusive date range, including MRR, revenue, and customer counts in each daily row. - baremetrics_get_metric_trend(metric: string, end_date: string, start_date: string, compare_to_days?: integer) — Return the daily time series and prior-period comparison for one Baremetrics metric over an inclusive date range. - baremetrics_get_recurring_revenue_resource(source_id: string, resource_oid: string, resource_type: string) — Get one customer, plan, subscription, charge, or refund by its OID within a Baremetrics source. - baremetrics_list_recurring_revenue_resources(order?: string, search?: string, sort_by?: string, per_page?: integer, source_id: string, next_cursor?: string, customer_oid?: string, end_timestamp?: integer, resource_type: string, start_timestamp?: integer, subscription_oid?: string) — List one page of customers, plans, subscriptions, charges, or refunds from a Baremetrics source, using only filters valid for the selected resource type. - baremetrics_list_sources(per_page?: integer, next_cursor?: string) — List one page of payment and Baremetrics API sources in the connected account and return source IDs required by source-scoped resource tools; use next_cursor to fetch later pages. ## Example prompts - "What can I do in Baremetrics?" - "Show me a summary of my Baremetrics account" ## Links Docs: https://mcp.ai/docs/mcps/baremetrics Website: https://mcp.ai/mcps/baremetrics