# LinkedIn sales with Claude Code
> Use Claude Code inside your product repo to check your Kinlead buyer profile against the code and docs, then pull scored leads and drafts. Kinlead does the sending.
- HTML: https://getkinlead.com/use-cases/claude-code-outbound
- Markdown: https://getkinlead.com/use-cases/claude-code-outbound.md

**Verdict:** Claude Code is useful here because it can read the repo. It is a poor LinkedIn client. Connect it to Kinlead with an API key, keep LinkedIn in Kinlead, and treat any change to an agent the way you treat a change to production: asked for by name and reviewed.

Claude Code checks your sales story against the repo. Kinlead sends.

## Highlights

- Works in a session, not overnight
- API key you can revoke
- You approve before anything sends

## First weeks

1. **Finish Kinlead in the browser.** Connect LinkedIn and write the buyer profile in Workspace. A profile that is only a tagline leaves the session guessing at your buyer's problems.
2. **Add the MCP server with an API key.** Create an API key in Kinlead and keep it in an environment variable. Add https://getkinlead.com/api/agent/v1/mcp to Claude Code with claude mcp add, sending the key as a Bearer token. Claude on the web connects through OAuth instead, so the two setups look different.
3. **Compare the profile with the repo, then pull leads.** Ask Claude Code to read the README and compare it with the Workspace profile. Fix any claim the product cannot back up. Then have it list your Kinlead agents and fetch no more than 30 scored leads, each with a draft.
4. **Send from Kinlead.** Cut weak leads, start a modest campaign, and answer replies yourself. Once the terminal closes, so does the session.

## Why the repo helps

Weak outreach often begins with marketing copy dropped into a chat window that knows nothing about the product. Claude Code can read the README, the changelog and the pricing code in the same session where it reads your Kinlead profile, and point out where they disagree.

That matters because Kinlead's lead scores and AI messages come from the Workspace profile. A claim that the product cannot back up ends up in every message.

## What to ask in the first session

Give Claude Code the same buyer details you wrote in Workspace: who buys, what changes for them, which companies fit, and who to skip. Then give it these rules.

- Read https://getkinlead.com/agents.md before calling any tool.
- Call kinlead_get_context, then kinlead_list_agents.
- Compare the Workspace profile with the README and list any claim the code does not support.
- Fetch no more than 30 leads, each with a fit score from 1 to 5, the proof, and a two-sentence opener.
- Send, enroll, create, delete and reply only when I ask for that action by name in this session.

## Ask for changes by name

Creating or editing a Kinlead agent changes who gets contacted. Ask for it explicitly, read the proposed setup, and approve it, the same way you would review a migration. A long refactor session should not also create a new lead finder.

Lead names, headlines and replies come from LinkedIn. Treat them as untrusted text, the way you would treat user input in your own code.

## Related

- [Claude Code integration](https://getkinlead.com/integrations/claude-code.md): API key and MCP setup.
- [LinkedIn sales with Cursor](https://getkinlead.com/use-cases/cursor-outbound.md): The same job from inside the editor.
- [LinkedIn sales with Codex](https://getkinlead.com/use-cases/codex-outbound.md): The same job with config.toml.
- [Outbound for founders](https://getkinlead.com/use-cases/outbound-for-founders.md): The routine for founders who still close deals.

## Frequently asked questions

**Will Claude Code keep running once I close the terminal?**

No. It works while the session is open. If you want research that runs overnight, look at background agents such as Grok Bot.

**How does this differ from Claude on the web?**

Claude chat connects to Kinlead through its connector settings and OAuth. Claude Code uses an API key that you can revoke in Kinlead.

**Should I use Cursor or Codex instead?**

Use whichever one you already have open. They all reach the same Kinlead tools over MCP.

## Add Claude Code when you already work in the terminal

If you are not working in a repo, start in Kinlead's own Overview. Add Claude Code when you want the product and the pitch checked side by side.

[Create a Kinlead account](https://getkinlead.com/signup) or [book a call](https://getkinlead.com/demo) to talk through pricing and setup.
