LeadMagic
CLI
v1.9.0 — Verified downloads + MCP

B2B data enrichment
in your terminal.

Turn a CSV of company domains or contact emails into fully enriched leads — job titles, verified emails, phone numbers, company intel — without leaving your shell.

curl -fsSL https://releases.leadmagic.io/install.sh | bash

One command installs everything  ·  Windows installer

✓ No credit card required  ·  ✓ Works offline after install  ·  ✓ Open source

leadmagic-cli
Readyleadmagic-1.0-model
9,412 crCTRL+C to exit
Ask a question or type / for commands...

95%+

email find accuracy

40+

enrichment fields

<1s

per-row latency

10k

row CSV limit

The full LeadMagic API, from your shell

Every enrichment endpoint — wired up, batched, and queryable — without writing a line of code.

Email Finder

Name + company domain → deliverable work email. 95%+ accuracy. One API call, no scraping, no guessing.

Email Validation

SMTP handshake + MX record verification before you send. Slash bounce rates from 8% to under 1%.

Company Enrichment

Domain → industry, headcount, funding stage, tech stack, LinkedIn, Crunchbase, and 40+ fields.

Contact Enrichment

Email → job title, seniority, direct phone, LinkedIn URL, location, and current employer — in one shot.

Bulk CSV Processing

Drop any CSV, pick a column, run enrichment across every row. Local analytics built in — query results instantly.

AI Chat (Claude)

Ask "which companies in my list raised Series B?" and get an answer. No SQL, no exports, no waiting.

Why a CLI instead of a dashboard?

Dashboards are for reviewing results. The CLI is where the work happens.

Scriptable

Pipe into your existing shell scripts. Cron it. Chain with jq, awk, whatever you use.

Local-first storage

Results land in a local database at .leadmagic/ — query offline, version with git, share with teammates.

AI built in

Ask Claude to segment, filter, or summarize your enriched data without writing SQL.

No browser required

From login to enriched CSV in under 60 seconds. Works over SSH, in CI, on a headless server.

Install in 30 seconds

macOS & Linux

curl -fsSL https://releases.leadmagic.io/install.sh | bash

Windows (PowerShell)

irm https://releases.leadmagic.io/install.ps1 | iex

Quick start (3 steps):

1
lm login

Authenticate — opens app.leadmagic.io in your browser

2
lm init

Create local database in .leadmagic/

3
lm enrich leads.csv

Pick a CSV, choose fields, start enriching

Secure by default

✓ HTTPS-only downloads✓ SHA-256 integrity check✓ Tamper detection (fail-closed)✓ Auto-installs runtime if needed

Every binary is checksummed at build time and verified on install. See changelog →

MCP for your AI tools

Connect LeadMagic as an MCP server to your favorite AI coding tool. Your assistant gets 4 live tools — look up emails, validate addresses, and pull company profiles mid-conversation.

validate_email

SMTP + MX check — is this address real?

find_email

Name + domain → verified work email

enrich_company

Domain → 40+ company data points

enrich_contact

Email → title, phone, LinkedIn, and more

1

Get your API key from app.leadmagic.io/settings/api

2

Run lm login — copies your session token to clipboard

3

Pick your tool below and paste the config

Install in Cursor
.cursor/mcp.json·Project root or ~/.cursor/
{
  "mcpServers": {
    "leadmagic": {
      "url": "https://mcp.leadmagic.io/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_CLERK_TOKEN",
        "x-leadmagic-key": "YOUR_API_KEY"
      }
    }
  }
}

Ready to enrich your data?

Get an API key, install in 30 seconds, and start turning raw contact lists into pipeline.