Skip to main content

LeadMagic CLI Beta

The LeadMagic CLI brings B2B data enrichment directly to your terminal. Chat with an AI assistant to enrich contacts, validate emails, analyze data files, and query results — all without leaving your terminal.
Beta — The CLI is fully functional but still in beta. Commands, flags, and behavior may change. We’d love your feedback — reach out at support@leadmagic.io or via the Help Center.
One-line install:
curl -fsSL https://releases.leadmagic.io/install.sh | bash
See the full installation guide for all platforms.

Key Features

AI Chat

Natural language interface — describe what you need and the AI selects the right tools automatically.

19 Commands

Scan files, analyze data quality, enrich contacts, validate emails, find mobile numbers, run SQL queries, and more.

Local Database

CSV and Excel files are loaded into a local SQL database. Run queries, track operations, and export results.

Slash Commands

30+ slash commands for quick actions in chat — browse files, check credits, switch models, manage sessions.

What You Can Do

Start an AI chat and describe what you need in plain English:
> Load contacts.csv and find work emails for everyone
> Validate all the emails in column B
> Enrich the companies — get tech stacks and funding data
> Export the results to a new CSV
The AI orchestrates multi-step workflows: loading files, selecting columns, calling the LeadMagic API, and saving results.

How It Works

  1. Install the CLI and set your API key
  2. Load CSV or Excel files into the local database
  3. Enrich contacts using natural language chat or direct commands
  4. Export results to CSV with full audit trail
Data is stored locally in a database at ~/.leadmagic/ (or project-local .leadmagic/). Your files never leave your machine — only the specific fields needed for enrichment are sent to the LeadMagic API.

Get Started