How to connect Claude to your LinkedIn messages
This guide shows how to give Claude access to your own LinkedIn inbox using Spaces' MCP server, so Claude can summarise chats and reply when you ask. It walks through each step, what you will see along the way, what to ask Claude once it is connected, and how to keep it on a short lead. Read LinkedIn's rules in the box above first.
What you need before you start
- Claude Code, the Claude desktop app, or Claude on the web.
- The email address you want to use for Spaces. Spaces sends a 6-digit code to it.
- A card for checkout. You add it before you connect any account.
- Your LinkedIn sign-in details, and your phone if LinkedIn asks for a second check.
- About ten minutes.
You do not need to write any code. If you can copy and paste, you can do this. The one thing to keep safe is your Spaces API key, if you choose to use one.
Option A: let Claude set it up
Paste this into Claude Code, Claude Desktop or any agent that can browse and run commands. This is the prompt shown on spacesos.com, with the channel named:
Set me up on Spaces so you can read and send my LinkedIn messages. Instructions: https://www.spacesos.com/llms.txtClaude will ask you for two things: the code Spaces emails you, and a tap to add a card and connect your account.
Here is what usually happens. Claude asks for your email address and creates the account. You check your inbox for the 6-digit code and give it to Claude. Claude then sends you a checkout link, where you choose a plan and add a card. Once checkout is finished, Claude sends a second link that opens LinkedIn's sign-in, and you sign in as you normally would. Claude then confirms the account is connected.
Option B: set it up yourself
- Sign up with your email and the 6-digit code Spaces sends. An agent can do this for you through the onboarding MCP server at https://api.spacesos.com/mcp/start.
- Add a card at checkout. Don't connect an account until checkout is finished.
- Connect LinkedIn: open the connect link and sign in.
- Create an API key. It starts with spc_live_ and is shown only once, so store it safely.
- Add the MCP server https://api.spacesos.com/mcp to your agent, or call the REST API at https://api.spacesos.com/v1.
If you only want Claude to see LinkedIn, use https://api.spacesos.com/mcp/linkedin instead. It lists only your LinkedIn accounts and the tools that work on LinkedIn, with the same key and limits.
Claude Code
Run this once in your terminal. Add --scope user if you want Spaces in every project:
claude mcp add --transport http spaces https://api.spacesos.com/mcpThen type /mcp inside Claude Code, pick spaces, and sign in to Spaces in the browser. Approve the access Spaces asks for. No key is pasted anywhere.
If you would rather use an API key, run this instead, with your own key in place of the x's:
claude mcp add --transport http spaces https://api.spacesos.com/mcp --header "Authorization: Bearer spc_live_xxxxxxxxxxxxxxxx"To check it worked, run claude mcp list. Spaces shows as connected, and /mcp lists its tools.
Claude on the web and in the desktop app
- Open Customize, then Connectors, then Add custom connector.
- Name it Spaces and paste https://api.spacesos.com/mcp as the URL.
- Choose Sign in, then sign in to Spaces and approve access.
- On a Team or Enterprise plan, an owner adds it once under Organization settings, then Connectors.
To check it worked, open the Search and tools menu in a chat. Spaces and its tools are listed. If you prefer an API key, choose Request headers and add Authorization: Bearer with your key instead of Sign in.
You can also add Spaces to the desktop app through its config file. Go to Settings → Developer → Edit Config, paste this into claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"spaces": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.spacesos.com/mcp", "--header", "Authorization:${SPACESOS_AUTH}"],
"env": { "SPACESOS_AUTH": "Bearer spc_live_xxxxxxxxxxxxxxxx" }
}
}
}Check that Claude can see LinkedIn
Start a new chat and ask Claude to list your Spaces accounts. It should name your LinkedIn account. If it does not, check that checkout finished and that you signed in to LinkedIn through the connect link, then ask again.
Next, ask a simple read-only question, such as "Who messaged me on LinkedIn this week?" If Claude can answer, everything is working.
Things to ask Claude
- Summarise my unread LinkedIn chats.
- Draft a reply to the last message from <name>, and show me before sending.
- Which conversations am I waiting to reply to?
- Find the chat where someone asked about pricing last month, and remind me what I said.
- List the people who wrote to me after my last post, and draft a short thank-you to each one for me to check.
- Which connection requests have I sent that are still pending? Withdraw any older than a month.
If Claude should only read, give it a read-only key.
An example session
This is how a short morning check-in might go for a recruiter. Names and details are examples.
| Who | Message |
|---|---|
| Owner | What came in on LinkedIn overnight? |
| Claude | Three new messages. Sam Reid asked whether the operations manager role is still open. Ana Costa sent her updated CV. A connection, Dev Patel, asked to move Friday's call. |
| Owner | Tell Sam it's open and ask for a good time to talk. Thank Ana. Offer Dev Monday at 10 instead. |
| Claude | Here are the three drafts. Shall I send them? |
| Owner | Change Dev's to Monday at 11, then send all three. |
| Claude | Done. All three are sent, and I'll tell you when anyone replies. |
Claude only replied in chats people had started, and it showed the owner every draft first. That keeps the owner in charge of what goes out under their name.
Keeping Claude on a short lead
- Read-only key: Claude can read and summarise but cannot send anything. A good way to start.
- Ask to see drafts: tell Claude to show you every reply before sending, and it will wait for your yes.
- Approvals: Spaces is turning on approvals workspace by workspace. With approvals on, or with a draft-only key, a reply waits until a person approves it.
- Pause everything: if you are unsure, ask Claude to pause all sending. Reads keep working, and you resume when you are ready.
- Hand a chat to a person: when someone on your team takes over a chat, the agent stays out of it until it is handed back.
The LinkedIn limits Claude works within
Spaces enforces these limits on every LinkedIn account, however Claude is prompted. They are Spaces' own limits, not LinkedIn's, and they do not guarantee how LinkedIn will treat your account.
| What | Spaces' limit |
|---|---|
| Gap between messages | At least 20 seconds |
| Messages | 100 a day |
| New chats | 8 an hour and 30 a day, after warm-up (8 a day in week 1) |
| Connection requests | 5 an hour, 20 a day and 100 a week (5 a day in week 1) |
| Profile views | 80 a day |
Replies in chats people started are not held back by the warm-up, so Claude can answer from day one.
Common mistakes
- Connecting LinkedIn before checkout has finished. Finish checkout first, then open the connect link.
- Pasting the API key into a shared document or a public chat. Treat it like a password, and revoke it if it leaks.
- Asking Claude to message a list of people it found in search. That is cold outreach, which Spaces' Terms forbid.
- Letting Claude send without checking its first few replies. Read them for a week before you trust it with more.
- Reconnecting the account again and again when something goes wrong. Reconnect once, then slow down.
If something goes wrong
| What you see | What it means and what to do |
|---|---|
| Claude says the account is not connected | LinkedIn signed the account out or asked for a security check. Open your Spaces dashboard and reconnect. Sending stays paused until you do. |
| Claude says it has to wait | The account reached an hourly limit or sent too soon after the last message. Claude waits and tries again with the same message. |
| Claude says the daily limit is reached | Sending starts again the next day. Replies can wait until then. |
| A message to someone fails | They may not be a 1st-degree connection. Anyone else needs a connection request or an InMail. |
| Claude cannot see Spaces at all | Check the connector or claude mcp list, and sign in to Spaces again. |
Summing up
Connecting Claude to LinkedIn takes a sign-up, a checkout, a LinkedIn sign-in and one line or one connector in Claude. Once it is done, Claude can tell you who is waiting, draft replies and keep track of conversations.
Start with reading and drafting, keep to people who wrote to you or know you, and remember that LinkedIn's rules still apply. The caveat box at the top of this page sets out the risk.
Who you message
Pricing
FAQ
Can Claude read my LinkedIn messages?
Yes, once you connect your LinkedIn account to Spaces and add Spaces' MCP server to Claude, Claude can list your chats and read messages. It can also download attachments people send you.
Can I stop Claude from sending messages?
Yes. A read-only key is enough for an agent that only summarises or searches your messages. You can also ask Claude to show you every draft first.
Is this allowed by LinkedIn?
LinkedIn's User Agreement section 8.2 prohibits bots or other unauthorized automated methods to send messages, and LinkedIn says members using such tools risk having their accounts restricted or shut down. Spaces is not affiliated with LinkedIn.
Do I need Claude Code, or will the Claude app do?
Either works. Claude Code connects with one command, and Claude on the web or in the desktop app connects through Customize, then Connectors. Both use the same Spaces MCP server.
Do I have to paste an API key into Claude?
No. Claude Code and Claude's connectors can sign in to Spaces in the browser instead. An API key is there if you prefer it, and you can revoke it at any time.
Can Claude post on LinkedIn for me?
Spaces includes tools to publish a post, comment and react, within its own daily limits. LinkedIn's User Agreement covers posts and comments made by automated methods too, so ask Claude to draft and let you approve.