- Claude Code, with a paid Claude account (Pro, Max, Team or Enterprise). The free plan doesn't include Claude Code. Using Codex? Further down you'll find how to install it there.
- uv, which is what starts the server. Type
uvx --versionin the terminal. If you getcommand not found, on Mac or Linux install it by pastingcurl -LsSf https://astral.sh/uv/install.sh | sh, and then close and reopen the terminal (on Windows, see its official page). - Your LinkedIn account. On a free account you can only add a personalized message to 3 invitations a month; with Premium, to all of them.
Find clients on LinkedIn with Claude Code.
linkedin-mcp-server connects Claude Code to your LinkedIn. It searches for the people you're interested in, reads their profile and posts and writes you a message for each person, not a template.
01What you need
⌄
What you need
The five steps
02Create a folder and add the server.
step 1 of 5⌄
Create a folder and add the server.
step 1 of 5Open the terminal and paste this. The server stays connected only in that folder.
mkdir linkedin-clients && cd linkedin-clients claude mcp add linkedin -e UV_HTTP_TIMEOUT=300 -- uvx mcp-server-linkedin@latest
The first time, it downloads what it needs: if at first it tells you it's getting ready, wait a bit and ask again.
03Open Claude Code.
step 2 of 5⌄
Open Claude Code.
step 2 of 5The first time, it asks whether you trust the folder: say yes. By default it starts in auto mode: it does the steps without asking for permission at each one, except for whatever it considers risky.
claude
If you'd rather approve every search and every send, start it in manual mode. So you don't have to accept a thousand times, for searching and reading profiles you can answer “Yes, and don't ask again”; for connecting and sending messages, always answer just “Yes”.
claude --permission-mode default
04Connect your LinkedIn.
step 3 of 5⌄
Connect your LinkedIn.
step 3 of 5The first time it's used, it tries to use the LinkedIn session you already have open in your browser (on a Mac it may ask for Keychain permission) and, if it can't find it, it opens a window so you can sign in yourself. Claude doesn't see your password.
05Tell it who you're looking for.
step 4 of 5⌄
Tell it who you're looking for.
step 4 of 5Tell it the role, the industry and the city, and what you want it to look at for each person. Swap the example for your own.
Find 10 marketing directors at software companies in Madrid. Read each one's profile and latest posts and write me a connection note of under 200 characters for each person, about something specific of theirs. Don't send anything yet: show them to me.
06Review and decide how many it sends.
step 5 of 5⌄
Review and decide how many it sends.
step 5 of 5Read the notes, fix whatever you want and tell it how many to send. The server has no limit of its own: you set the limit in the instruction. On a free account only 3 invitations a month can carry a note: tell it which ones, and let the rest go without a note.
Send the invitations with their notes to the people I've approved. Don't send more than 25 today.
07The five steps
⌄
The five steps
08If you use Codex
⌄
If you use Codex
The same server has a plugin for Codex. You need Codex installed and signed in, plus uv (see above for how to check). Paste this into the terminal:
codex plugin marketplace add stickerdaniel/linkedin-mcp-server codex plugin add linkedin-mcp-server@linkedin-mcp-server
Then open Codex with codex and carry on from step 3: the LinkedIn session, the instruction and the review are the same. If at first it tells you it's getting ready or that you need to sign in, wait for it to finish and ask again.
codex plugin remove linkedin-mcp-server@linkedin-mcp-server.09Three tips
⌄
Three tips
About 200 a week at most
LinkedIn doesn't publish the number. Waalaxy, which sells automation, puts it at about 200 invitations a week. Spread them out: about 20 or 30 a day, not all on the same day.
Your account can get restricted
According to LinkedIn's help, if you send lots of invitations and they suspect you're using automation, they can suspend or restrict your account. LinkedIn's rules don't allow automated access, and the server's author warns about it: there's no guarantee your account is safe, so use it in moderation.
Write to people it's useful for
If lots of invitations go unanswered or get marked as spam, LinkedIn can stop you from inviting anyone for a week. Search carefully before you send.
claude mcp remove linkedin. And to delete the LinkedIn session it saved on your computer: uvx mcp-server-linkedin@latest --logout.