home / mcp / linkedin sales & navigator mcp server
Provides cookie-based access to LinkedIn and Sales Navigator with 17 MCP tools for profiles, search, messaging, and more.
Configuration
View docs{
"mcpServers": {
"aditya-ai-architect-lindin-sales-and-navigator-mcp": {
"command": "node",
"args": [
"/absolute/path/to/Lindin-Sales-and-Navigator-MCP/dist/index.js"
],
"env": {
"JSESSIONID": "<JSESSIONID>",
"LI_AT_COOKIE": "your_li_at_cookie_value_here"
}
}
}
}You can run a dedicated MCP server that connects your AI assistants to LinkedIn and LinkedIn Sales Navigator using cookie-based authentication. This server exposes 17 practical tools for viewing profiles, performing searches, messaging, managing connections, and full Sales Navigator access, all through LinkedInβs Voyager API in a secure, type-safe way.
You interact with the server through an MCP client (such as Claude Desktop or Claude Code). Start by ensuring you have a valid LinkedIn session cookie and the required environment variables configured. From your MCP client, connect to the local MCP server using the provided command or your preferred MCP client workflow. Once connected, you can call any of the 17 tools to view profiles, search people and companies, send messages, manage connections, and access Sales Navigator data through the browser-backed tooling when needed.
Prerequisites: You need Node.js version 18.0.0 or newer and npm version 8.0.0 or newer.
Step by step you can set up the MCP server as follows.
# Clone the MCP server repository
git clone https://github.com/aditya-ai-architect/Lindin-Sales-and-Navigator-MCP.git
cd Lindin-Sales-and-Navigator-MCP
# Install dependencies
npm install
# Build the server
npm run build
# Start the server (example using the standard runtime)
LI_AT_COOKIE="your_cookie" node dist/index.jsYou configure the MCP server by providing your LinkedIn session cookie and optional settings for your client. The server uses the li_at cookie for authentication and can also leverage JSESSIONID as a CSRF token if you provide it.
Environment variables you may use directly include LI_AT_COOKIE for your LinkedIn session and JSESSIONID as an optional CSRF token. The server is designed to read these values from your shell environment or from a client configuration file.
If you encounter authentication errors, refresh the li_at cookie from your browser and update the environment value. For HTTP 401/403 errors, renew your cookie. If you see 403 access issues on a profile, this may be due to LinkedIn privacy restrictions. For Sales Navigator related issues, ensure your subscription is active. If the browser-based operations fail to launch, verify Puppeteer dependencies and system libraries. If navigation times out, consider increasing timeouts or checking page selectors.
This server relies on LinkedInβs Voyager API with cookie-based authentication. LinkedIn may change endpoints or policies without notice. Automated use of LinkedIn via cookies may violate LinkedInβs Terms of Service. Use the server for personal and educational purposes with awareness of these caveats.
The server accesses LinkedInβs internal Voyager API through cookies. This is not the official LinkedIn API. Changes to endpoints, authentication requirements, or terms of use may affect functionality.
MIT
Validate that the LinkedIn session cookie is still active.
Get the authenticated user's own LinkedIn profile information.
Get a LinkedIn profile by public identifier (vanity URL slug).
Get detailed profile information including experience, education, and skills.
Get contact information for a LinkedIn profile. Note that contact info API may be deprecated by LinkedIn.
Get the skills listed on a LinkedIn profile.
Get work experience (positions) from a LinkedIn profile.
Search for people on LinkedIn with various filters such as keywords, company, region, and title.
Search for companies on LinkedIn with filters like keywords, industry, and geography.
Get detailed information about a company by its universal name.
Search for leads using Sales Navigator. Uses Puppeteer browser to scrape the UI.
Search for accounts (companies) using Sales Navigator.
Get a lead's profile from Sales Navigator.
Get your saved leads from Sales Navigator.
Get all lead lists from Sales Navigator.
Get leads within a specific lead list.
Get AI-recommended leads from Sales Navigator.
Send a message to a LinkedIn member using a Puppeteer browser.
Get recent conversation threads from the LinkedIn inbox using a browser.
Get messages from a specific conversation thread using a browser.
Send a connection request with an optional personalized message.
Get pending outgoing connection requests.