Outreach guide · Updated November 23, 2026

Claude Code lead generation: a 7-step workflow that finds published contacts, not guessed ones

Claude Code runs the workflow. Every contact has to come from a page the company published. The full map of 36 Leads tools, prompts, guardrails and limits.

36
Leads tools Claude Code can call over MCP
5
Built-in Leads skills
30
Default daily email cap
0
Email addresses guessed

Can Claude do lead generation?

Quick answer

Yes, Claude Code can run the whole lead generation workflow, but it cannot invent real contacts. Pair it with the 36 Leads tools in BigIdeasDB Desktop and it reads the emails and phones each company publishes, scores fit from 0 to 100 and drafts up to 5 emails per campaign, while you press send.

Claude Code lead generation is using Anthropic’s coding agent to find companies in a segment, collect a real contact for each one, score the fit and prepare outreach. BigIdeasDB Desktop is a local-first research app for Mac and Windows that finds evidence and leads on your own computer and lets the AI agent you already use work with them. Its Leads area exposes 36 tools to Claude Code over MCP.

Want it for a specific market? Find property managers in Phoenix with their published emails, scored against your ICP, in BigIdeasDB Desktop Leads. The setup guide is at Desktop Leads.

The top five results for this query today are an r/ClaudeCode thread asking whether Claude Code can build a lead-gen automation, a vendor tutorial that routes through a paid enrichment tool, a skill directory, a members-only Medium post and a sales-AI blog (Google US, November 23, 2026). None of them shows a published-contacts-only rule, an opt-out list or a limits table. This page does.

“Claude Code can build the orchestration, enrichment logic and scheduling. That’s probably 80% of the work. The remaining 20% is sourcing.”via r/ClaudeCode, can Claude Code build a lead generation automation

The 5 best ways to run lead generation from Claude Code, ranked

The best Claude Code lead generation setup is the one where every contact traces to a page the company published. We ranked five setups on four criteria: contact traceability, built-in guardrails (opt-out list, cap, human send), setup time and cost beyond your AI plan. The weights are equal and the ranking is BigIdeasDB’s editorial judgement, not a measured result. Reviewed November 23, 2026.

RankSetupWhere the contact comes fromFails whenBest for
1Claude Code + BigIdeasDB Desktop Leads over MCPPublished emails and phones read from each company's own contact, about and team pages, with the source pageA site refuses to be read, or publishes only a contact formFounders who already use Claude Code and sell to local or niche B2B segments
2Claude Code scripts that read each company's own pagesThe same published pages, but you build the reader, the dedupe and the opt-out listYour script guesses a pattern, or nothing stops a re-send to an opted-out addressDevelopers who want full control and will maintain it
3Claude Code + a paid contact-data APIA vendor database, billed per lookupData ages: practitioners put B2B decay at 2 to 3% a monthLarge-company targets that publish nothing
4Claude Code scraping map or social listingsListings pages, not the company's own wordsSites block the script; Claude Code can also refuse to build the scraperOne-off research, not an outreach list
5Asking any chat model (Claude, ChatGPT, Gemini) to list prospects and emailsWeb search answers or the model's memory, uncheckedIn our Nov 23, 2026 test, 35 of 43 ChatGPT emails were on the company site and 7 were not; no fit score, pipeline or opt-out listA quick first list you then check line by line
Five ways to run lead generation from Claude Code, ranked by contact traceability and guardrails. Editorial judgement, equal weights. Reviewed November 23, 2026. Decay figure from a r/Coldemailing practitioner, August 2026.

Rank 1 is not free of limits. Some sites refuse to be read, contact-form-only sites yield no contact, and directories are not a lead source yet. Rank 2 is a fair choice if you enjoy maintaining a reader. Ranks 3 to 5 are where the guessed, stale and blocked contacts come from.

What breaks when you wire Claude Code to scrapers and data sources?

Six failures recur in practitioner threads: sourcing, stale data, role inboxes, bounce damage, low reply rates and refusals. We read six Reddit threads in full or in part on November 23, 2026 (n=6, anecdotes, some posters sell tools). The pattern is consistent: Claude Code writes the plumbing well, and the contact source decides whether anything works.

FailureWhat practitioners reportSourceWhat to do
Sourcing, not code, is the hard part“That’s probably 80% of the work. The remaining 20% is sourcing.”r/ClaudeCode, 2026Decide the contact source before you write any code
Lists go stale“Verify at send time, not at build time.” B2B data decays “somewhere around 2 to 3% a month.”r/Coldemailing, Aug 2026Read published pages fresh for each batch
Page scraping returns role inboxesContact page scraping “hands you a lot of info@ and generic role inboxes.”r/Coldemailing, Aug 2026Track generic and named contacts separately
Bounces damage the sending domain“Your domain does not just heal on its own after a 14% bounce campaign.”r/Coldemailing, Aug 2026Never guess; keep a permanent opt-out and bounce list
Writing is not the constraint1,097 emails over 85 days, 11 human replies, 0 paid, from a Claude Code plugin that read each site first.r/AI_Agents, Sep 2026Spend the effort on segment choice, not sentence tuning
Claude Code can refuse a scraperA thread titled “Claude Code refusing to build scraper” drew 141 comments.r/webscraping, Oct 2026Ask for reads of public contact pages, not site-wide extraction
Six failure modes reported by practitioners. Quotes are verbatim and anonymized to the subreddit. n=6 threads read November 23, 2026. Anecdotes, not measurements.
“The part that stands out is the reply rate not moving even though the agent reads each site first. That result is worth taking seriously, because it says the constraint was never the writing.”via r/AI_Agents, a Claude Code plugin that sold its own product for 85 days

The lesson is selection. 1,097 emails and 11 replies is about 1%, and the commenter put generic B2B cold email “under 1 percent”. Claude Code can rewrite a hundred first lines. It cannot tell you that you picked the wrong segment. That is why the next sections start with the contact source and the ideal customer, not the prompt. If you are still choosing the segment, our guide to the ideal customer profile and the notes on Claude Code market research come first.

How do you connect Claude Code to BigIdeasDB Desktop Leads?

Connection is one click: Desktop writes its MCP entry into Claude Code’s config for you. Open Settings, press Connect your AI, then Connect next to Claude Code. Desktop’s local MCP server exposes 540+ tools in total, and 36 of them are Leads tools. Desktop uses your own Claude plan, so BigIdeasDB adds no AI bill. Details: Connect your AI, the tools reference and the skills guide.

  • Mac or Windows: the app runs on your own computer, and your projects stay there.
  • Clipper paired: company search runs in your own browser through the Clipper extension.
  • Keep Desktop open: Claude Code talks to the local server while the app runs.
  • Leads switched on by you: the notice must be accepted in the window. If an AI calls the tool that does this, it changes nothing.

Desktop is included in Basic ($199 lifetime) and Pro ($399 lifetime) as of November 23, 2026. Free and Lite accounts can buy it once as an add-on whose price rises $1 with every sale, so check the Desktop pricing page for the live number.

The 7-step Claude Code lead generation workflow

The workflow takes about 90 minutes for a first batch of 30 companies, and every step has a prompt you can paste into Claude Code. The examples use a proptech founder selling to property managers in Phoenix. Swap the vertical, keep the order.

  1. Connect Desktop to Claude Code and pair Clipper. Open Settings, Connect your AI, press Connect next to Claude Code, pair Clipper in your browser, then open Leads under Board and accept the notice yourself.
  2. Set your sender details and ideal customer. Add your name, company, postal address and opt-out line, then describe the ideal customer with keywords, industries and places so every lead gets a fit score.
    Set my Leads settings. Sender: [name], [company], [postal address]. Ideal customer: keywords property management, rentals, HOA; industry real estate; places Phoenix, Scottsdale, Mesa.
  3. Find 30 companies in one narrow segment. Ask Claude Code to run one or two searches for a single kind of company in a single place. Desktop searches in your own browser and keeps one lead per domain.
    Find 30 property management companies in Phoenix that manage 50 or more rental doors. Keep one lead per website.
  4. Read the published contacts and check the source page. Desktop reads each company's home page plus up to three contact, about, team or imprint pages. Ask Claude Code to list what each site publishes and which page it came from.
    For every new lead, show the emails and phones the company publishes and the page each came from. Flag sites that were refused.
  5. Score the fit and keep only real matches. Each lead is scored 0 to 100 against your ideal customer with the reasons shown. Move the best ones to Researching and drop the rest before any email is written.
    Show leads with a fit score of 70 or more and the reasons. Move those to Researching and tag the rest as skip.
  6. Write a short campaign and enroll the leads. A campaign is a first email plus up to four follow-ups with day delays. Claude Code writes the copy with merge fields. Enrolling creates drafts. Nothing is sent.
    Create a 3 step campaign for the Researching leads: short, plain, one specific reason per company. Use {{company}} and {{first_name}}. Enroll the leads that have a published email and rewrite each first draft to mention their market.
  7. Press Open in mail yourself, then log what happens. Read each draft in Today and press Open in mail. Your own mail app opens and you press send. Mark replies and bounces so follow-ups stop for those contacts.
    What is due in Leads today? List the drafts waiting and the leads with no reply after two emails.

Search is deliberately small. The tool’s own guidance is to plan a few good searches, not many, and the read step covers one company every few seconds, up to 200 sites a day. If a search page shows a check, the search stops until you solve it in Chrome and press Resume in Clipper. For choosing who to email before step 3, see how to find leads for cold email. For the wording of the emails, see cold outreach for SaaS and how to sell B2B SaaS.

If you have no customers yet, pair this with how to get your first customer. If your buyers are small businesses, read how to sell software to small businesses before you write the first email.

All 36 Leads MCP tools, grouped by job

BigIdeasDB Desktop gives Claude Code 36 Leads tools, and they fall into seven jobs: find, enrich, review, pipeline, campaign, follow-up and compliance. Read from the tools reference on November 23, 2026. Counts add to 36. A tool that changes saved data is marked as saving data in Desktop; the review tools are read-only.

JobToolsWhich toolsExample prompt to Claude Code
Find and add4leads_search, leads_add, leads_import_csv, leads_from_board“Find 30 property management companies in Phoenix.”
Enrich2leads_enrich, leads_contact_add“Re-read the new leads’ sites for published contacts.”
Review and score3leads_list, leads_get, leads_export“Show fit score and reasons for each lead.”
Pipeline9leads_update, leads_stage_set, leads_tags_add, leads_note_add, leads_log, leads_task_add, leads_task_done, leads_to_board, leads_remove“Move every lead scoring 70+ to Researching and add a task to call on Friday.”
Campaign and drafts10leads_campaign_create, leads_campaign_enroll, leads_campaign_get, leads_campaign_list, leads_campaign_remove, leads_draft, leads_draft_get, leads_drafts_list, leads_draft_skip, leads_draft_sent“Write a 3 step campaign and rewrite each first draft per company.”
Follow-up2leads_agenda, leads_contact_status“What is due today, and who has not replied after two emails?”
Compliance and setup6leads_notice_get, leads_notice_accept, leads_profile_get, leads_profile_set, leads_suppress, leads_suppression_list“Add this domain to the opt-out list.”
The 36 Leads tools in BigIdeasDB Desktop, grouped by job. Source: Desktop tools reference, read November 23, 2026. The prompts are examples, not required wording.

Three guardrails sit in the tools themselves, not in your prompt. First, leads_search keeps one lead per domain and leaves out directories, marketplaces and social networks. Second, leads_campaign_enroll picks a named person before a generic inbox and never picks an opted-out, replied or bounced contact. Third, two tools can only be completed by you in the window: leads_notice_accept and leads_draft_sent. If an AI calls them, they change nothing. Five built-in skills (lead finding, enrichment, scoring, cold email writing and a daily follow-up review) bundle these tools into repeatable routines.

How do you keep Claude Code honest about contacts?

Put the contact rule in writing where Claude Code reads it every session, because a model asked for 50 emails will try to produce 50. The Leads tools already refuse to save a guessed address, so your rules only need to stop Claude Code from going around them. Add five lines to the project’s CLAUDE.md file:

Lead rules for this project. 1. Only use contacts returned by the Leads tools. Never write an email address from memory or from a pattern. 2. If a lead has no contact, say so and stop. Do not look for one elsewhere. 3. Before any campaign, call leads_suppression_list and leads_profile_get. 4. Never mark a draft sent. I press Open in mail myself. 5. Log why each company was chosen with leads_note_add.

Rule 5 comes straight from the practitioner thread above: the commenter said the loop could rewrite the body but could not tell which segment was wrong, because it never recorded why a company was chosen. A one-line note per lead costs about 5 seconds each and lets you kill a whole segment later instead of tuning sentences. A batch of 30 leads therefore adds roughly 2 to 3 minutes of logging.

What does a lead look like in Desktop Leads?

A lead is a company with its contacts, the page each contact was found on, a fit score with reasons, a stage and a timeline. The values below are a made-up example, not a real company or person.

FieldExample value
Company (example)Example Desert Property Management
Domaindesert-pm.example
StageResearching
Fit score82 of 100, reasons: matches keyword property management, place Phoenix
Contact 1leasing@desert-pm.example, found on /contact
Contact 2owner@desert-pm.example, found on /about
Opt-out listNot on it
Campaign step 1 (day 0)Subject: Quick question about owner statements at {{company}}
Campaign step 2 (3 days later)Short follow-up, drafted only if no reply, bounce or opt-out
Footer added to every emailYour name, postal address and opt-out line
Example only. A made-up company showing the fields a Leads row carries. Fit score and reasons are illustrative. Not real data.

Each draft opens in your mail app through Open in mail, and nothing leaves Desktop until you press send. Full feature guide: Desktop Leads and CRM.

What does the same workflow look like for bookkeeping firms?

The only change is the segment and the pitch. For a fintech founder selling to bookkeeping firms in Austin, set the ideal customer to keywords bookkeeping, accounting and CPA, industry accounting, place Austin, and run the same seven steps. BigIdeasDB’s Capterra analysis gives the pitch angle: Accounting Practice Management has 16 systemic complaints at average severity 4.31 across 480+ company mentions (queried November 23, 2026).

Find 30 bookkeeping firms in Austin with a published contact page. Score them against bookkeeping, accounting, CPA. For the top 10, draft a 3 step campaign about month-end close, using {{company}} and {{first_name}}.

A dental clinic version works the same way: Capterra’s Dental category has 8 systemic complaints at average severity 4.28 across 160+ mentions. Mentions can count one company twice, and complaint severity does not prove a clinic wants new software, so treat both as an angle for the first line, not as proof of demand. To check demand first, run the segment through a niche scan in BigIdeasDB.

What can Claude Code do on its own, with Desktop Leads, and not at all?

Claude Code alone is strong at orchestration and weak at contact data, and Desktop Leads closes the contact gap while leaving three things nobody should automate: choosing the segment, verifying an inbox, and pressing send. The table below separates the three.

JobClaude Code aloneClaude Code + Desktop LeadsWhat neither does
Run the workflow: plan, loop, summarize, write copyYesYesn/a
Find companies in one segment and placeYes, by web search; results vary run to runYes, searched in your own browser, one lead per domainCannot judge which segment will buy
Get a real contactOnly if your script reads the page; nothing stops it guessingPublished emails and phones only, each with its source page; never guessesCannot promise an inbox exists or replies
Contact-form-only sitesNo contactNo contact savedNeither submits forms for you
Business directories and map listingsPossible, often blockedNot a lead source yetNeither makes them company-published
Sites that refuse a readScript errors you handleMarked Site refused and left aloneNeither gets around a refusal
Opt-out list and legal footerYou build bothOpt-out list always applied; name, address and opt-out line on every emailNeither replaces legal advice
Send the emailCould, if you wire it upNo: drafts open in your mail app and you press sendNeither should send blind
What each setup can and cannot do. Desktop column from the Desktop Leads guide and tools reference, read November 23, 2026. The Claude Code column describes a default script without extra guardrails.

Two honest limits to repeat. A published address can still bounce, because people leave and inboxes close, so keep your first batches small and log every bounce. And many small sites publish only a generic inbox or a form, so expect fewer named people than a purchased list promises.

How do you know a Claude Code lead batch worked?

Judge a batch on four counts you can read straight off the pipeline: contacts found per 30 companies, bounces, replies and meetings. Bounces are the early signal. One r/Coldemailing practitioner advises keeping bounces under 2% and cutting volume for a few weeks after a bad batch, because sender reputation is scored on a rolling window of recent sends. We found no measured 2026 reply benchmark and quote none.

  • Contacts per batch: if fewer than a third of 30 companies publish an email, the segment skews toward form-only sites. Pick a segment that publishes more, such as multi-location services.
  • Bounces: log every one with leads_contact_status. A bounced address also goes on the opt-out list, so it is never emailed again.
  • Replies and meetings: move the lead to Replied or Meeting. After 2 or 3 batches, compare segments, not subject lines.
  • Batch size: stay at 30 or fewer per day until bounces are under 2%. The default cap of 30 a day enforces that for you.

Lead generation is legal in the United States if each email follows CAN-SPAM. The FTC lists honest header information, a non-deceptive subject, a clear ad disclosure, your valid postal address, a clear opt-out and honoring opt-outs within 10 business days, with penalties up to $53,088 per violating email (FTC CAN-SPAM guide, read November 18, 2026; the page blocked our automated fetch on November 23). The law has no business-to-business exception.

Calls and texts are different: the TCPA and the Do Not Call rules govern them, and AI answers for this query cite them, so this page covers email only and you should check them before you dial a published phone number.

Canada is stricter. The CRTC’s CASL FAQ, updated February 26, 2026, describes a conspicuous publication exemption that can imply consent when a person has published their address, with conditions attached, so read it before you email Canadian businesses (CRTC CASL FAQ, read through a search summary). One r/ClaudeCode commenter said that in the Netherlands you may not email businesses offering services without permission. That is one person’s claim, so take local advice for Europe.

Desktop adds your name, postal address and opt-out line to the end of every email, applies the project’s opt-out list every time, never emails contacts who replied or bounced, and stops at your daily cap, 30 by default. That supports compliance and does not replace it. This is general information, not legal advice. The long version is in how to find leads for cold email.

Does the same workflow work with ChatGPT desktop and Codex?

Yes. Codex is one of six one-click clients (Claude Desktop, Claude Code, Cursor, Windsurf, Codex and OpenCode), and ChatGPT desktop reads the Codex config, so the 36 Leads tools work the same way. The assistant changes the writing, not the rules. See can ChatGPT generate leads and use Codex to find business ideas. For other MCP options, see the best Reddit MCP servers.

Methodology and data sources

Written and checked on November 23, 2026. Desktop facts come from the shipped Desktop guides and the generated tools reference, not from memory. Reddit threads were read through the Reddit tooling and quoted verbatim, anonymized to the subreddit. The complaint figures come from live read-only queries.

SourceWhat it givesSizeLimitation
BigIdeasDB Desktop Leads guide and tools referenceWhat Leads reads, saves, caps and refuses; the 36 tools by name36 Leads tools of 540+Describes shipped behavior only
BigIdeasDB Capterra analysisSystemic complaint count and severity by categoryAccounting Practice Management 16, Dental 8Mentions can count one company twice; severity is not demand
Reddit (r/ClaudeCode, r/Coldemailing, r/AI_Agents, r/webscraping, r/ClaudeAI, r/gtmengineering)How practitioners wire Claude Code to lead sources and where it breaks6 threadsAnecdotes; some posters promote tools
Google SERP and People Also AskWho ranks and what searchers askUS, November 23, 2026A snapshot, no search volumes
FTC CAN-SPAM guideRequirements and penalty1 federal pageUS only; fetch blocked November 23, read November 18
CRTC CASL FAQConspicuous publication exemption1 Canadian regulator pageRead through a search summary; conditions not reproduced
Every source behind this page and what it cannot do. Verified November 23, 2026.

Find real contacts for your market before you write the first email

Scan your niche in BigIdeasDB to see what buyers complain about and how thin the software is, then connect Claude Code to Desktop Leads and read the contacts they publish. Get 20% off Pro Lifetime with code SAVE20.

Scan your niche free →

Frequently asked questions

Can Claude do lead generation?

Claude can run the workflow: plan a segment, loop over companies, score fit and write the emails. It cannot invent a real contact, and a guessed address bounces. The reliable setup gives Claude Code a tool that reads the contacts companies publish. BigIdeasDB Desktop does that through 36 Leads tools over MCP, with the source page kept for every email.

Can Claude Code do lead generation?

Yes, as the orchestrator. Claude Code can write scripts, call tools, dedupe and draft copy, and one r/ClaudeCode practitioner put orchestration at about 80% of the work. The other 20%, sourcing contacts, is where setups fail. Connect it to BigIdeasDB Desktop Leads and it can search, read published contacts and enroll leads in a campaign.

What is the best tool for Claude Code lead generation?

BigIdeasDB Desktop is the best fit, because its Leads area exposes 36 MCP tools that Claude Code can call, reads only the emails and phones a company publishes, and never guesses an address. It also keeps an opt-out list, caps sends at 30 a day by default and leaves the send button to you.

Which AI is best for lead generation?

For finding real contacts, BigIdeasDB Desktop Leads paired with the AI you already use is the best choice: it reads each company's own pages for published emails and phones and logs the source page. On their own, Claude, ChatGPT and Gemini are good at planning and writing, and weak at supplying addresses, so use them for copy and scoring.

What is the best MCP server for lead generation?

BigIdeasDB Desktop runs a local MCP server with 540+ tools, 36 of them for Leads: search, enrich, score, pipeline, campaigns and follow-ups. It is the best fit for founders who want published business contacts rather than a purchased list, and it works in Claude Code, Claude Desktop, Cursor, Windsurf, Codex and OpenCode.

Is there a free Claude Code lead generation setup?

You can build a free one yourself: Claude Code scripts that read each company's contact page cost only your Claude plan and your time. Desktop Leads is not free. It is included in Basic ($199 lifetime) and Pro ($399 lifetime) as of November 23, 2026, and uses your own Claude plan, so BigIdeasDB adds no AI bill.

Is there a Claude Code lead generation GitHub repo I can use?

Repos exist, and we did not audit them, so check three things before you run one: it must read pages the company publishes, never guess an address pattern, and keep an opt-out list. If it fails any, you inherit bounces and legal risk. Desktop Leads is the packaged alternative and has no repo to maintain.

How do I use Claude Code for sales prospecting?

Pick one narrow segment, such as property managers in Phoenix, then have Claude Code find the companies, read each one's published contacts, score fit against your ideal customer and draft a short campaign. Send the emails yourself from your own mail app. Plan on 30 well-chosen companies per batch rather than thousands, since selection beats volume.

Is lead generation illegal?

No. Lead generation is legal in the United States when done honestly. For email, CAN-SPAM requires honest headers, a non-deceptive subject, your postal address and an opt-out honored within 10 business days, with fines up to $53,088 per email. Calls and texts fall under separate consent and Do Not Call rules (the TCPA), and Canada and the EU are stricter.

Can Claude Code send the cold emails for me?

It can if you wire it to a sending tool, but we advise against it. In Desktop Leads the AI drafts and enrolls, and you press Open in mail to send from your own account. The tool that records a send only works from the window, so an AI cannot mark a draft sent. The daily cap defaults to 30.

Why does my Claude Code lead list bounce?

Usually because the addresses were guessed or aged. A r/Coldemailing practitioner puts B2B data decay at 2 to 3% a month and warns that a 14% bounce campaign does not heal on its own. Read addresses fresh from each company's own site, never pattern-guess, and keep a permanent bounce and opt-out list outside the sending tool.

Do ChatGPT desktop and Codex work with BigIdeasDB Desktop Leads the same way?

Yes. Codex is a one-click client, and ChatGPT desktop reads the Codex config, so the same 36 Leads tools and five built-in skills are available. Claude Code, Claude Desktop, Cursor, Windsurf and OpenCode also connect in one click. Which assistant you use changes the writing style, not what Leads is allowed to save.

Keep reading: how to find leads for cold email, cold outreach for SaaS, Claude Code market research and BigIdeasDB Desktop. Ready to try a segment? Scan property management in BigIdeasDB.

Cite this page
Last verified: November 23, 2026
BigIdeasDB Research. (2026). Claude Code lead generation: a 7-step workflow that finds published contacts, not guessed ones. BigIdeasDB. Retrieved from https://bigideasdb.com/claude-code-lead-generation
Related research