The full power of the lemlist API, without the boilerplate.
Build outbound workflows, manage campaigns, enrich leads, and automate every part of lemlist from your terminal.
$ npm install -g @lemlist-official/cliSkip the boilerplate
Auth, retries, rate limits: already built in.
You just ship.
Script it once, run it forever
Set up your outbound once.
Same result, every time.
Built for AI, not just humans
Claude Code, Cursor, Codex.
All fluent in lemlist CLI.
The same power, without the busywork.
Doing it yourself (REST API)
Writing auth from scratch
Handling retries
Juggling multiple accounts
Parsing raw responses
Hundreds of lines of boilerplate
With lemlist CLI
Built in Auth
Automatic retries
Multiple accounts, one flag away
Clean JSON, ready to pipe anywhere
One command, that’s it
This is a game-changer for workflow automation đź”§
The MCP + CLI combo is brilliant.
Michael Shabi
Network Administrator at Guideline
Built for how technical teams actually work.
Launch outbound without touching the UI
Set up your campaigns and lead loading once, then run them whenever you need, straight from your own workflow. Same result every time, no clicking through screens.
Manage every client from one terminal
Give every client their own space and jump between them instantly. No more logging in and out or juggling separate tools, everything runs from a single place.
Fits right into the tools you already use
Plug lemlist into your existing setup and let it handle the busywork. Signing in, retrying, keeping things tidy, so your process just keeps running in the background.
Let your AI assistants take it from here
Working with Claude Code, Cursor or Codex? Hand lemlist to your assistant and let them create campaigns, update leads, and execute outbound tasks as part of your dev workflow.
Drop into your existing dev stack
Integrate lemlist to your tool stack, whether you're scripting locally, automating tasks, or working with AI coding tools.
Start building in minutes with lemlist CLI
CLI documentation
The step-by-step guide to installing, authenticating, and running
every lemlist CLI command.
lemlist MCP
Prefer plain language? Talk to lemlist from Claude or ChatGPT - the conversational way to run outbound with AI.
Frequently asked questions about lemlist CLI
A command-line tool that wraps the entire lemlist REST API into one command. Think about it as the whole platform, built for scripts and AI agents. It removes the friction (auth, retries, multi-account, structured output) so you can do everyday actions with a single command instead of hand-rolled code.
The CLI is for typing commands and building scripts, great for developers and automation. The MCP is for talking to lemlist in plain language through Claude or ChatGPT. They work well together, and you don't have to choose just one.
Yes, it was actually built with this in mind. AI coding assistants can use the CLI directly to manage your lemlist account as part of their work.
Yes, easily. You can save several accounts and switch between them instantly with one command which makes it a great fit for agencies.
Yes, the lemlist CLI is free. It uses your existing lemlist account and API access, no additional pricing.
Everything you need to start building is in the lemlist Developer Docs - from installation and authentication to commands, output, and more.