linkedin.com
linkedin.com logo

LinkedIn

Integrates with LinkedIn to enable automated profile browsing, searching, and post interactions using Playwright for bro...

Created byApr 22, 2025

LinkedIn Browser MCP Server

A FastMCP-based server for LinkedIn automation and data extraction using browser automation. This server provides a set of tools for interacting with LinkedIn programmatically while respecting LinkedIn's terms of service and rate limits.

Features

  • Secure Authentication
  • Profile Operations
  • Post Interactions

Prerequisites

  • Python 3.8+
  • Playwright
  • FastMCP library
  • LinkedIn account

Installation

  1. Clone the repository:
  1. Create and activate a virtual environment:
  1. Install dependencies:
  1. Set up environment variables: Create a .env file in the root directory with:

Usage

  1. Start the MCP server:
  1. Available Tools:
  • login_linkedin_secure: Securely log in using environment credentials
  • browse_linkedin_feed: Browse and extract posts from feed
  • search_linkedin_profiles: Search for profiles matching criteria
  • view_linkedin_profile: View and extract data from specific profiles
  • interact_with_linkedin_post: Like, comment, or read posts

Example Usage

Security Features

  • Encrypted cookie storage
  • Rate limiting protection
  • Secure credential management
  • Session persistence
  • Browser automation security measures

Best Practices

  1. Rate Limiting: The server implements rate limiting to prevent excessive requests:
  1. Error Handling: Comprehensive error handling for:
  1. Session Management:

Contributing

  1. Fork the repository
  1. Create a feature branch
  1. Commit your changes
  1. Push to the branch
  1. Create a Pull Request

License

MIT

Disclaimer

This tool is for educational purposes only. Ensure compliance with LinkedIn's terms of service and rate limiting guidelines when using this software.

LinkedIn Browser MCP Server

A FastMCP-based server for LinkedIn automation and data extraction using browser automation. This server provides a set of tools for interacting with LinkedIn programmatically while respecting LinkedIn's terms of service and rate limits.

Features

  • Secure Authentication
  • Profile Operations
  • Post Interactions

Prerequisites

  • Python 3.8+
  • Playwright
  • FastMCP library
  • LinkedIn account

Installation

  1. Clone the repository:
  1. Create and activate a virtual environment:
  1. Install dependencies:
  1. Set up environment variables: Create a .env file in the root directory with:

Usage

  1. Start the MCP server:
  1. Available Tools:
  • login_linkedin_secure: Securely log in using environment credentials
  • browse_linkedin_feed: Browse and extract posts from feed
  • search_linkedin_profiles: Search for profiles matching criteria
  • view_linkedin_profile: View and extract data from specific profiles
  • interact_with_linkedin_post: Like, comment, or read posts

Example Usage

Security Features

  • Encrypted cookie storage
  • Rate limiting protection
  • Secure credential management
  • Session persistence
  • Browser automation security measures

Best Practices

  1. Rate Limiting: The server implements rate limiting to prevent excessive requests:
  1. Error Handling: Comprehensive error handling for:
  1. Session Management:

Contributing

  1. Fork the repository
  1. Create a feature branch
  1. Commit your changes
  1. Push to the branch
  1. Create a Pull Request

License

MIT

Disclaimer

This tool is for educational purposes only. Ensure compliance with LinkedIn's terms of service and rate limiting guidelines when using this software.