home / mcp / linkedin sales & navigator mcp server

LinkedIn Sales & Navigator MCP Server

Provides cookie-based access to LinkedIn and Sales Navigator with 17 MCP tools for profiles, search, messaging, and more.

Installation
Add the following to your MCP client configuration file.

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.

How to use

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.

How to install

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.js

Configuration

You 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 and runtime details

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.

Troubleshooting

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.

Notes on usage and limitations

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.

Disclaimer

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.

License

MIT

Available tools

validate_session

Validate that the LinkedIn session cookie is still active.

get_own_profile

Get the authenticated user's own LinkedIn profile information.

get_profile

Get a LinkedIn profile by public identifier (vanity URL slug).

get_profile_details

Get detailed profile information including experience, education, and skills.

get_profile_contact_info

Get contact information for a LinkedIn profile. Note that contact info API may be deprecated by LinkedIn.

get_profile_skills

Get the skills listed on a LinkedIn profile.

get_profile_experience

Get work experience (positions) from a LinkedIn profile.

search_people

Search for people on LinkedIn with various filters such as keywords, company, region, and title.

search_companies

Search for companies on LinkedIn with filters like keywords, industry, and geography.

get_company

Get detailed information about a company by its universal name.

sales_search_leads

Search for leads using Sales Navigator. Uses Puppeteer browser to scrape the UI.

sales_search_accounts

Search for accounts (companies) using Sales Navigator.

get_sales_profile

Get a lead's profile from Sales Navigator.

get_saved_leads

Get your saved leads from Sales Navigator.

get_lead_lists

Get all lead lists from Sales Navigator.

get_lead_list_members

Get leads within a specific lead list.

get_lead_recommendations

Get AI-recommended leads from Sales Navigator.

send_message

Send a message to a LinkedIn member using a Puppeteer browser.

get_conversations

Get recent conversation threads from the LinkedIn inbox using a browser.

get_conversation_messages

Get messages from a specific conversation thread using a browser.

send_connection_request

Send a connection request with an optional personalized message.

get_pending_connections

Get pending outgoing connection requests.