Skip to main content

Mailchimp

The Mailchimp agent connector is a Python package that equips AI agents to interact with Mailchimp through strongly typed, well-documented tools. It's ready to use directly in your Python app, in an agent framework, or exposed through an MCP.

Mailchimp is an email marketing platform that enables businesses to create, send, and analyze email campaigns, manage subscriber lists, and automate marketing workflows. This connector provides read access to campaigns, lists, reports, email activity, automations, and more for marketing analytics and audience management.

Example questions

The Mailchimp connector is optimized to handle prompts like these.

  • List all subscribers in my main mailing list
  • List all automation workflows in my account
  • Show me all segments for my primary audience
  • List all interest categories for my primary audience
  • Show me email activity for a recent campaign
  • Show me the performance report for a recent campaign
  • Show me all my email campaigns from the last month
  • What are the open rates for my recent campaigns?
  • Who unsubscribed from list {list_id} this week?
  • What tags are applied to my subscribers?
  • How many subscribers do I have in each list?
  • What are my top performing campaigns by click rate?

Unsupported questions

The Mailchimp connector isn't currently able to handle prompts like these.

  • Create a new email campaign
  • Add a subscriber to my list
  • Delete a campaign
  • Update subscriber information
  • Send a campaign now
  • Create a new automation workflow

Installation

uv pip install airbyte-agent-mailchimp

Usage

Connectors can run in open source or hosted mode.

Open source

In open source mode, you provide API credentials directly to the connector.

from airbyte_agent_mailchimp import MailchimpConnector
from airbyte_agent_mailchimp.models import MailchimpAuthConfig

connector = MailchimpConnector(
    auth_config=MailchimpAuthConfig(
        api_key="<Your Mailchimp API key. You can find this in your Mailchimp account under Account > Extras > API keys.>"
    )
)

@agent.tool_plain # assumes you're using Pydantic AI
@MailchimpConnector.tool_utils
async def mailchimp_execute(entity: str, action: str, params: dict | None = None):
    return await connector.execute(entity, action, params or {})

Hosted

In hosted mode, API credentials are stored securely in Airbyte Cloud. You provide your Airbyte credentials instead. If your Airbyte client can access multiple organizations, also set organization_id.

This example assumes you've already authenticated your connector with Airbyte. See Authentication to learn more about authenticating. If you need a step-by-step guide, see the hosted execution tutorial.

from airbyte_agent_mailchimp import MailchimpConnector, AirbyteAuthConfig

connector = MailchimpConnector(
    auth_config=AirbyteAuthConfig(
        customer_name="<your_customer_name>",
        organization_id="<your_organization_id>",  # Optional for multi-org clients
        airbyte_client_id="<your-client-id>",
        airbyte_client_secret="<your-client-secret>"
    )
)

@agent.tool_plain # assumes you're using Pydantic AI
@MailchimpConnector.tool_utils
async def mailchimp_execute(entity: str, action: str, params: dict | None = None):
    return await connector.execute(entity, action, params or {})

Full documentation

Entities and actions

This connector supports the following entities and actions. For more details, see this connector's full reference documentation.

Entity Actions
Campaigns List, Get, Context Store Search
Lists List, Get, Context Store Search
List Members List, Get
Reports List, Get, Context Store Search
Email Activity List, Context Store Search
Automations List
Tags List
Interest Categories List, Get
Interests List, Get
Segments List, Get
Segment Members List
Unsubscribes List

Authentication

For all authentication options, see the connector's authentication documentation.

Mailchimp API docs

See the official Mailchimp API reference.

Version information

  • Package version: 0.1.87
  • Connector version: 1.0.11
  • Generated with Connector SDK commit SHA: c5258debd165ab701252c1436d4acfb475bf92b9
  • Changelog: View changelog

Release files for airbyte-agent-mailchimp 0.1.87

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for airbyte-agent-mailchimp 0.1.87
File Size Uploaded
airbyte_agent_mailchimp-0.1.87.tar.gz 192.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for airbyte-agent-mailchimp 0.1.87
File Interpreter ABI Platform
airbyte_agent_mailchimp-0.1.87-py3-none-any.whl Python 3 none any Details

Total release size: 408.7 kB

Release files / airbyte_agent_mailchimp-0.1.87.tar.gz

Download URL airbyte_agent_mailchimp-0.1.87.tar.gz
Size 192.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1e07797f83eca1842c591e44f762dfa34269d0a3eaadb7bdda10e817940f34e8
BLAKE2b-256 checksum
How to use checksums
4a966569b902e33fb8e7beb4cf3664c4dac843f31b98ed5f409e92c9f57eccb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / airbyte_agent_mailchimp-0.1.87-py3-none-any.whl

Download URL airbyte_agent_mailchimp-0.1.87-py3-none-any.whl
Size 216.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ff3b7ae742c2e46aca907432cd1447e43a36cda44b1d25d3fe0ed0e91c10770
BLAKE2b-256 checksum
How to use checksums
d74b37f647f60def8bb58fac645a5075b0232eb37637df3c9fd86fca65ad9076
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.1.87 This release

2 release files

0.1.78

2 release files

0.1.77

2 release files

0.1.76

2 release files

0.1.75

2 release files

0.1.74

2 release files

0.1.73

2 release files

0.1.72

2 release files

0.1.71

2 release files

0.1.66

2 release files

0.1.65

2 release files

0.1.64

2 release files

0.1.63

2 release files

0.1.62

2 release files

0.1.61

2 release files

0.1.60

2 release files

0.1.59

2 release files

0.1.58

2 release files

0.1.57

2 release files

0.1.56

2 release files

0.1.55

2 release files

0.1.54

2 release files

0.1.53

2 release files

0.1.32

2 release files

0.1.31

2 release files

0.1.30

2 release files

0.1.29

2 release files

0.1.28

2 release files

0.1.27

2 release files

0.1.26

2 release files

0.1.25

2 release files

0.1.24

2 release files

0.1.23

2 release files

0.1.22

2 release files

0.1.21

2 release files

0.1.20

2 release files

0.1.19

2 release files

0.1.18

2 release files

0.1.17

2 release files

0.1.16

2 release files

0.1.15

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page