LinkedIn Profile Scraper MCP Server
by codingaslu
This MCP server fetches LinkedIn profile information using the Fresh LinkedIn Profile Data API. It exposes a `get_profile` tool that accepts a LinkedIn profile URL and returns the profile data in JSON format.
Last updated: N/A
What is LinkedIn Profile Scraper MCP Server?
This is an MCP server that scrapes LinkedIn profile data using the Fresh LinkedIn Profile Data API. It provides a tool to retrieve profile information given a LinkedIn profile URL.
How to use LinkedIn Profile Scraper MCP Server?
- Clone the repository. 2. Install dependencies using
uv add mcp[cli] httpx requests. 3. Set theRAPIDAPI_KEYin a.envfile. 4. Run the server usinguv run linkedin.py. 5. Configure your MCP client to connect to the server as shown in the README.
Key features of LinkedIn Profile Scraper MCP Server
Fetch Profile Data
Asynchronous HTTP Requests
Environment-based Configuration
Uses httpx for non-blocking API calls
Use cases of LinkedIn Profile Scraper MCP Server
Data extraction for research
Lead generation
Building a database of professional profiles
Automated profile analysis
FAQ from LinkedIn Profile Scraper MCP Server
What is the RAPIDAPI_KEY?
What is the RAPIDAPI_KEY?
The RAPIDAPI_KEY is an API key required to authenticate with the Fresh LinkedIn Profile Data API. You can obtain it from RapidAPI.
How do I set the RAPIDAPI_KEY?
How do I set the RAPIDAPI_KEY?
You can set the RAPIDAPI_KEY by creating a .env file in the project directory and adding RAPIDAPI_KEY=your_rapidapi_key_here or by setting it as an environment variable.
What happens if the RAPIDAPI_KEY is missing?
What happens if the RAPIDAPI_KEY is missing?
If the RAPIDAPI_KEY is not set, the server will raise a ValueError.
What if the API request fails?
What if the API request fails?
If the API request fails, the tool will return a message indicating that the profile data could not be fetched.
What kind of data does the scraper retrieve?
What kind of data does the scraper retrieve?
The scraper retrieves LinkedIn profile information including skills and other settings (with most additional details disabled).