Linkedin-Scrap-MCP-Server

Linkedin-Scrap-MCP-Server

1

Linkedin-Scrap-MCP-Server is a tool designed to fetch real-time LinkedIn profile information using an MCP server framework. It integrates with the Fresh LinkedIn Profile Data API and provides structured JSON data of LinkedIn profiles when given a profile URL. Key features include efficient asynchronous requests and secure API key handling.

Linkedin-Scrap-MCP-Server

Easily fetch real-time LinkedIn profile information using our MCP (Model Context Protocol) server. The server integrates with the Fresh LinkedIn Profile Data API and exposes a single tool, get_profile, which accepts a LinkedIn profile URL and returns structured JSON data.

🚀 Features

  • Real-Time LinkedIn Data: Retrieve up-to-date profile info including skills and core public data.
  • Asynchronous Requests: Built with httpx for efficient, non-blocking HTTP calls.
  • Secure API Key Handling: Uses environment variables via dotenv for safe configuration of your RAPIDAPI_KEY.

⚙️ Requirements

  • Python 3.7+
  • MCP Framework
  • Required libraries: httpx, python-dotenv
  • RAPIDAPI_KEY: Subscribe to the Fresh LinkedIn Profile Data API.

📦 Installation

  1. Clone the repository.
  2. Install dependencies.
  3. Set up your environment variables.

▶️ Running the Server

Launch the server by running linkedin.py and begin listening for requests.

🧠 How It Works

  • Uses dotenv to load your RAPIDAPI_KEY.
  • Makes asynchronous GET requests to the API.
  • Runs using the standard I/O transport method of the MCP server framework.