Data Sources Beginner

MailerLite MCP Integration

3 min read Updated May 21, 2026
Subscribers, campaigns, automations, groups, forms, and webhook data from MailerLite via the official hosted MCP server with OAuth.

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.

ToolReturnsExample question
get_subscriberA single subscriber record.Show me subscriber sub_001.
list_subscribersSubscribers across your account.List newest 100 subscribers.
get_subscriber_activityActivity history for a subscriber.What campaigns did sub_001 open?
get_subscriber_countSubscriber count totals.How many active subscribers do we have?
get_single_importStatus of one import job.Did the import from last night finish?
get_campaignA campaign's metadata + stats.Show me the welcome campaign performance.
list_campaignsCampaigns in the account.List campaigns sent this month.
get_campaign_subscribersSubscribers a campaign was sent to.Who got the welcome campaign?
list_groupsSubscriber groups.What groups exist in our account?
get_group_subscribersSubscribers in a group.Members of the VIP group?
list_automationsAutomations configured in the account.List active automations.
get_automationA single automation definition.Show me the welcome series automation.
get_automation_activityActivity for an automation.How many subscribers are in the welcome series?
list_formsSignup forms.List active forms on the site.
get_formA single form.Show me form fm_001.
list_webhooksConfigured webhooks.What webhooks are set up?
get_webhookA single webhook.Show me webhook wh_001.
get_auth_statusOAuth + 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

  1. Open Data Sources in the clariBI sidebar.
  2. Click Add data source.
  3. Open the MCP Servers tab.
  4. Click the MailerLite card.
  5. Click Authorize with MailerLite.
  6. Sign in to MailerLite in the popup window and grant the requested read scopes.
  7. Back in clariBI, give your data source a name.
  8. 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

ErrorCauseFix
"Authorization expired"OAuth tokens rotate periodically and the refresh failed silently.Reconnect MailerLite from Settings → Integrations; the next OAuth round-trip restores the connection.

Related articles

Related Articles

Data Sources Intermediate

Morningstar MCP Integration

Investment research, fund data, ratings, fair-value estimates, and 200,000+ global securities from …

5 min read
Data Sources Intermediate

Keboola MCP Integration

Data pipelines, transformations, tables, and project metadata from the Keboola data-platform — for …

5 min read
Data Sources Intermediate

Logfire (EU) MCP Integration

OpenTelemetry traces, metrics, and logs from Pydantic Logfire (EU region) — for EU-resident custome…

5 min read

Still Need Help?

Can't find what you're looking for? Our support team is here to help you succeed with clariBI.