cli-anything-mailchimp

Manage Mailchimp Marketing API v3.0 resources through 303 CLI commands with JSON output.

48.8k|4.5k|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/HKUDS/CLI-Anything --skill cli-anything-mailchimp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cli-anything-mailchimp
Source: https://github.com/HKUDS/CLI-Anything/tree/main/mailchimp/agent-harness/cli_anything/mailchimp/skills
Command: npx skills add https://github.com/HKUDS/CLI-Anything --skill cli-anything-mailchimp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AI agents and developers need a scriptable, machine-readable way to operate Mailchimp accounts without writing custom API client code for every endpoint. This Skill exposes the entire Mailchimp Marketing API v3.0 as a CLI with JSON output, so agents can manage audiences, campaigns, and reports directly from the command line.

Core Features & Use Cases

  • Full API Coverage: 303 commands across 30 resource groups including lists, campaigns, reports, automations, e-commerce, templates, landing pages, SMS campaigns, and surveys.
  • Agent-Native Output: Every command supports --json for structured output that pipes cleanly into jq or downstream automation, plus an interactive REPL mode for exploratory work.
  • Use Case: An agent can create a campaign, check its send checklist for issues, schedule it, and later pull the unsubscribe report — all through chained CLI commands with JSON parsing.

Quick Start

Set the MAILCHIMP_API_KEY environment variable with your API key including the datacenter suffix, then ask the agent to list all audiences as JSON using the cli-anything-mailchimp lists command.

Frequently Asked Questions about cli-anything-mailchimp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Mailchimp campaigns from the command line?

Use the campaigns command group to create, update, schedule, send, pause, and replicate campaigns. Commands accept JSON payloads via --data and return native Mailchimp API responses, which you can filter with jq.

How to add a member to a Mailchimp audience programmatically?

Run lists create-lists-id-members with the list ID and a JSON body containing email_address and status. Mailchimp identifies members by the MD5 hash of their lowercased email, which you compute separately for get operations.

What authentication does the Mailchimp Marketing API CLI require?

Set the MAILCHIMP_API_KEY environment variable to your API key including the datacenter suffix such as -us8. The CLI extracts the datacenter automatically from the key to route requests.

Does the Mailchimp CLI support JSON output for scripting?

Yes, every command supports a root-level --json flag that outputs the native Mailchimp API response envelope. List endpoints return resource-keyed arrays with total_items, making them directly pipeable to jq.

What are the rate limits when using the Mailchimp Marketing API?

The Marketing API limits 10 concurrent connections plus a rolling per-account limit. For bulk operations, use the batches command group to bundle multiple operations into a single batch request.