Confidential guide on numerology and astrology, based of GG33 Public information

Linkedin_mcp_server
Ce serveur MCP utilise la nouvelle API de données de profil LinkedIn pour récupérer les informations de profil LinkedIn. Il est implémenté en tant que serveur de protocole de contexte de modèle (MCP) et expose un seul outil, get_profile, qui accepte une URL de profil LinkedIn et renvoie les données de profil au format JSON.
3 years
Works with Finder
1
Github Watches
0
Github Forks
0
Github Stars
LinkedIn Profile Scraper MCP Server
This MCP server uses the Fresh LinkedIn Profile Data API to fetch LinkedIn profile information. It is implemented as a model context protocol (MCP) server and exposes a single tool, get_profile
, which accepts a LinkedIn profile URL and returns the profile data in JSON format.
Features
- Fetch Profile Data: Retrieves LinkedIn profile information including skills and other settings (with most additional details disabled).
-
Asynchronous HTTP Requests: Uses
httpx
for non-blocking API calls. -
Environment-based Configuration: Reads the
RAPIDAPI_KEY
from your environment variables usingdotenv
.
Prerequisites
- Python 3.7+ – Ensure you are using Python version 3.7 or higher.
- MCP Framework: Make sure the MCP framework is installed.
-
Required Libraries: Install
httpx
,python-dotenv
, and other dependencies. -
RAPIDAPI_KEY: Obtain an API key from RapidAPI and add it to a
.env
file in your project directory (or set it in your environment).
Installation
-
Clone the Repository:
git clone https://github.com/codingaslu/Linkedin_Mcp_Server cd Linkedin_Mcp_Server
-
Install Dependencies:
uv add mcp[cli] httpx requests
-
Set Up Environment Variables:
Create a
.env
file in the project directory with the following content:RAPIDAPI_KEY=your_rapidapi_key_here
Running the Server
To run the MCP server, execute:
uv run linkedin.py
The server will start and listen for incoming requests via standard I/O.
MCP Client Configuration
To connect your MCP client to this server, add the following configuration to your config.json
. Adjust the paths as necessary for your environment:
{
"mcpServers": {
"linkedin_profile_scraper": {
"command": "C:/Users/aiany/.local/bin/uv",
"args": [
"--directory",
"C:/Users/aiany/OneDrive/Desktop/linkedin-mcp/project",
"run",
"linkedin.py"
]
}
}
}
Code Overview
-
Environment Setup: The server uses
dotenv
to load theRAPIDAPI_KEY
required to authenticate with the Fresh LinkedIn Profile Data API. -
API Call: The asynchronous function
get_linkedin_data
makes a GET request to the API with specified query parameters. -
MCP Tool: The
get_profile
tool wraps the API call and returns formatted JSON data, or an error message if the call fails. -
Server Execution: The MCP server is run with the
stdio
transport.
Troubleshooting
-
Missing RAPIDAPI_KEY: If the key is not set, the server will raise a
ValueError
. Make sure the key is added to your.env
file or set in your environment. - API Errors: If the API request fails, the tool will return a message indicating that the profile data could not be fetched.
License
This project is licensed under the MIT License. See the LICENSE file for more details.
相关推荐
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease
I find academic articles and books for research and literature reviews.
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
MCP Server pour récupérer le contenu de la page Web à l'aide du navigateur sans tête du dramwright.
Un puissant plugin Neovim pour gérer les serveurs MCP (Protocole de contexte modèle)
Pont entre les serveurs Olllama et MCP, permettant aux LLM locaux d'utiliser des outils de protocole de contexte de modèle
La communauté du curseur et de la planche à voile, recherchez des règles et des MCP
🔍 Permettre aux assistants d'IA de rechercher et d'accéder aux informations du package PYPI via une interface MCP simple.
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
Reviews

user_fhcM8ajm
Linkedin_Mcp_Server by codingaslu is a fantastic tool for developers looking to integrate LinkedIn services effortlessly. The well-documented repository on GitHub provides clear instructions and examples that make the setup process smooth. The welcome message is informative, and the initial URL setup guides users seamlessly. Highly recommend for anyone needing a reliable LinkedIn MCP solution!