MailerLite is the email + automation platform many small and mid-sized businesses run their lifecycle marketing on. Connecting MailerLite to clariBI surfaces every subscriber, campaign, automation, and form into your AI analyses.
Why connect MailerLite
Open-rate and unsubscribe trends usually live behind MailerLite dashboards; cross-checking against revenue or product activity requires manual exports.
With MailerLite connected, you can ask "What is open-rate by campaign over the last 90 days?", "Which automations have the highest unsubscribe rate?", or "How is the welcome series performing this quarter?" and the AI engine pulls the answer from the hosted MCP server.
How the connection works
clariBI talks to MailerLite through its hosted MCP server at https://mcp.mailerlite.com/mcp. Authentication uses an OAuth flow that clariBI registers itself for (no developer console setup on your side). Tokens stay encrypted server-side and never leave clariBI in clear form.
sequenceDiagram
actor U as You
participant C as clariBI
participant V as MailerLite
U->>C: Click Authorize with MailerLite
C->>V: Open OAuth authorization
V-->>U: Grant read access?
U->>V: Approve
V-->>C: Authorization code
C->>V: Exchange code for tokens
V-->>C: Access + refresh tokens
C->>C: Encrypt and store credentials
C-->>U: Connection ready
Available tools
The AI engine selects from these read-only MailerLite tools during analyses. None of them modify data in MailerLite.
| Tool | Returns | Example question |
|---|---|---|
get_subscriber | A single subscriber record. | Show me subscriber sub_001. |
list_subscribers | Subscribers across your account. | List newest 100 subscribers. |
get_subscriber_activity | Activity history for a subscriber. | What campaigns did sub_001 open? |
get_subscriber_count | Subscriber count totals. | How many active subscribers do we have? |
get_single_import | Status of one import job. | Did the import from last night finish? |
get_campaign | A campaign's metadata + stats. | Show me the welcome campaign performance. |
list_campaigns | Campaigns in the account. | List campaigns sent this month. |
get_campaign_subscribers | Subscribers a campaign was sent to. | Who got the welcome campaign? |
list_groups | Subscriber groups. | What groups exist in our account? |
get_group_subscribers | Subscribers in a group. | Members of the VIP group? |
list_automations | Automations configured in the account. | List active automations. |
get_automation | A single automation definition. | Show me the welcome series automation. |
get_automation_activity | Activity for an automation. | How many subscribers are in the welcome series? |
list_forms | Signup forms. | List active forms on the site. |
get_form | A single form. | Show me form fm_001. |
list_webhooks | Configured webhooks. | What webhooks are set up? |
get_webhook | A single webhook. | Show me webhook wh_001. |
get_auth_status | OAuth + scope status of the connection. | Is the MailerLite connection healthy? |
Data flow during analysis
When you ask a question that maps to MailerLite, the AI engine routes to the right tool, reads the result, and pairs the answer with a chart you can pin to a dashboard.
sequenceDiagram
actor U as You
participant C as clariBI
participant AI as AI engine
participant V as MailerLite
U->>C: Ask a question about email marketing and subscriber data
C->>AI: Plan the analysis
AI->>V: Call the right tool
V-->>AI: Tool result
AI->>AI: Summarize and chart
C-->>U: Answer plus visual
Setting up the connection
- Open Data Sources in the clariBI sidebar.
- Click Add data source.
- Open the MCP Servers tab.
- Click the MailerLite card.
- Click Authorize with MailerLite.
- Sign in to MailerLite in the popup window and grant the requested read scopes.
- Back in clariBI, give your data source a name.
- Click Finish.
Permissions and data access
OAuth scoping is granted at authorize time on the MailerLite consent screen. clariBI restricts itself to read-only tools (no create_*, update_*, or delete_*) even when the underlying MCP server exposes them. Disconnect from MailerLite settings or from clariBI Settings.
Troubleshooting
| Error | Cause | Fix |
|---|---|---|
| "Authorization expired" | OAuth tokens rotate periodically and the refresh failed silently. | Reconnect MailerLite from Settings → Integrations; the next OAuth round-trip restores the connection. |