baremetrics-mcp
An MCP server for the Baremetrics Metrics API. It provides tools to query SaaS metrics like MRR, ARR, churn, and more.
README
Baremetrics MCP Server
An MCP (Model Context Protocol) server for the Baremetrics Metrics API. This server provides tools to query SaaS metrics like MRR, ARR, churn, and more.
Installation
npm install
npm run build
Configuration
Set your Baremetrics API key as an environment variable:
export BAREMETRICS_API_KEY=your_api_key_here
Usage with Claude Desktop
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"baremetrics": {
"command": "node",
"args": ["/path/to/baremetrics-mcp/dist/index.js"],
"env": {
"BAREMETRICS_API_KEY": "your_api_key_here"
}
}
}
}
Available Tools
list_available_metrics
Lists all available metrics that can be queried from Baremetrics.
show_summary
Get daily summaries with all key metrics for a date range.
Parameters:
start_date(required): Start date in YYYY-MM-DD formatend_date(required): End date in YYYY-MM-DD format
show_metric
Get detailed data for a specific metric over a date range.
Parameters:
metric(required): The metric name (see available metrics below)start_date(required): Start date in YYYY-MM-DD formatend_date(required): End date in YYYY-MM-DD formatcompare_to(optional): Number of days ago to compare to (default: 30)
show_metric_customers
Get the customers that make up a specific metric (e.g., who upgraded, churned).
Parameters:
metric(required): The metric namestart_date(required): Start date in YYYY-MM-DD formatend_date(required): End date in YYYY-MM-DD format
show_metric_plans
Get a breakdown of a metric by plan across a date range.
Parameters:
metric(required): The metric namestart_date(required): Start date in YYYY-MM-DD formatend_date(required): End date in YYYY-MM-DD format
show_cohorts
Get cohort retention data with user and revenue tracking over time.
Available Metrics
active_customers- Currently active customersactive_subscriptions- Currently active subscriptionsactive_trials- Currently active trialsarpu- Average Revenue Per Userarr- Annual Recurring Revenuecancellations- Subscription cancellationschurned_customers- Customers who churnedconverted_trials- Trials that converted to paidcoupons- Coupon usagedowngrades- Subscription downgradesfailed_charges- Failed payment chargesfees- Processing feesltv- Lifetime Valuemrr- Monthly Recurring Revenuemrr_growth_rate- MRR growth ratenet_revenue- Net revenuenet_revenue_churn- Net revenue churnnew_customers- New customers acquirednew_subscriptions- New subscriptionsnew_trials- New trial signupsother_revenue- Other revenue sourcesplan_quantities- Plan quantity changesquick_ratio- Quick ratio (growth efficiency)reactivations- Reactivated subscriptionsrefunds- Refunds issuedrevenue_churn- Revenue churn ratetrial_conversion- Trial conversion rateupgrades- Subscription upgradesuser_churn- User churn rate
Example Usage
Once configured, you can ask Claude things like:
- "Show me my MRR for the last 30 days"
- "What's my churn rate between January and March?"
- "Which customers upgraded last month?"
- "Break down my ARR by plan"
- "Show me cohort retention data"
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.