MCP server for LinkedIn profile optimization with Claude AI — read/write profile sections, ATS analysis, and AI-powered content generation.
LinkedIn Profile MCP Server 🚀
🇺🇸 English Version
A Model Context Protocol (MCP) server designed to audit, optimize, and manage your LinkedIn profile through Claude. This server acts as your personal branding consultant, with direct access to LinkedIn's API to read your current profile and propose strategic improvements.
✨ Key Features
- Comprehensive Profile Audit: Analyze your headline, summary, and experience for impact and clarity.
- Identity Management: Update your headline and "About" section with character-limit validation.
- Professional History: Manage experiences, education, skills, and certifications.
- Content Creation: Post updates and articles directly from Claude.
- AI-Assist Optimization: ATS gap analysis and professional content generation without clichés.
- Security First: Mandatory
diff_previewfor every change and secure OS-level token storage.
⚙️ Environment Configuration (.env)
To run this server, you must create a .env file in the project root. Use .env.example as a template.
| Variable | Description |
| :--- | :--- |
| LINKEDIN_CLIENT_ID | Your LinkedIn App Client ID from the Developer Portal. |
| LINKEDIN_CLIENT_SECRET | Your LinkedIn App Client Secret. |
| LINKEDIN_REDIRECT_URI | Must match the Redirect URL in your LinkedIn App (default: http://localhost:3000/auth/callback). |
| PORT | The port for the local OAuth callback server (default: 3000). |
| LOG_LEVEL | Logging verbosity (debug, info, warn, error). |
| USER_SECTOR | Your professional sector (e.g., technology, finance). |
| USER_OBJECTIVE | Your main goal: job_search, personal_brand, freelance, promotion. |
| USER_AUDIENCE | Target audience: recruiters, clients, peers, general. |
| USER_TONE | Communication style: formal, conversational, technical. |
| PROFILE_LANGUAGE | Your profile's primary language (e.g., en, es). |
🚀 Quick Start
Prerequisites
- Node.js (v18 or higher)
- A LinkedIn Developer App (Client ID & Secret)
Installation
-
Clone the repository:
git clone https://github.com/Thejosem4/linkedin-profile-mcp.git cd linkedin-profile-mcp -
Install dependencies:
npm install -
Configure Environment: Copy
.env.exampleto.envand fill in your LinkedIn credentials.cp .env.example .env -
Build & Test:
npm run build npm run test
Usage
Start the MCP server:
npm start
Connect it to your Claude Desktop or Claude Code client using the project path.
🇪🇸 Versión en Español
Un servidor de Model Context Protocol (MCP) diseñado para auditar, optimizar y gestionar tu perfil de LinkedIn a través de Claude. Este servidor actúa como tu consultor personal de marca, con acceso directo a la API de LinkedIn para leer tu perfil actual y proponer mejoras estratégicas.
✨ Características Principales
- Auditoría Integral: Analiza tu titular, extracto y experiencia para mejorar el impacto y la claridad.
- Gestión de Identidad: Actualiza tu titular y sección "Acerca de" con validación de límites de caracteres.
- Historial Profesional: Gestiona experiencias, educación, aptitudes y certificaciones.
- Creación de Contenido: Publica actualizaciones y artículos directamente desde Claude.
- Optimización con IA: Análisis de brechas ATS y generación de contenido profesional sin clichés.
- Seguridad Ante Todo:
diff_previewobligatorio para cada cambio y almacenamiento seguro de tokens.
⚙️ Configuración del Entorno (.env)
Para ejecutar este servidor, debes crear un archivo .env en la raíz del proyecto. Usa .env.example como plantilla.
| Variable | Descripción |
| :--- | :--- |
| LINKEDIN_CLIENT_ID | Tu Client ID de la App de LinkedIn desde el Portal de Desarrolladores. |
| LINKEDIN_CLIENT_SECRET | Tu Client Secret de la App de LinkedIn. |
| LINKEDIN_REDIRECT_URI | Debe coincidir con la URL de Redirección en tu App de LinkedIn (por defecto: http://localhost:3000/auth/callback). |
| PORT | El puerto para el servidor local de callback de OAuth (por defecto: 3000). |
| LOG_LEVEL | Nivel de detalle de los logs (debug, info, warn, error). |
| USER_SECTOR | Tu sector profesional (ej: tecnología, finanzas). |
| USER_OBJECTIVE | Tu objetivo principal: job_search, personal_brand, freelance, promotion. |
| USER_AUDIENCE | Audiencia objetivo: recruiters, clients, peers, general. |
| USER_TONE | Estilo de comunicación: formal, conversacional, técnico. |
| PROFILE_LANGUAGE | Idioma principal de tu perfil (ej: en, es). |
🚀 Inicio Rápido
Requisitos Previos
- Node.js (v18 o superior)
- Una App en LinkedIn Developer (Client ID y Secret)
Instalación
-
Clona el repositorio:
git clone https://github.com/Thejosem4/linkedin-profile-mcp.git cd linkedin-profile-mcp -
Instala las dependencias:
npm install -
Configura el Entorno: Copia
.env.examplea.envy completa tus credenciales de LinkedIn.cp .env.example .env -
Compila y Prueba:
npm run build npm run test
Uso
Inicia el servidor MCP:
npm start
Conéctalo a tu cliente Claude Desktop o Claude Code usando la ruta del proyecto.
📚 Documentation / Documentación
- Tools Reference / Referencia de Herramientas
- OAuth Setup Guide / Guía de Configuración OAuth
- Contributing / Contribuir
📄 License / Licencia
This project is licensed under the MIT License - see the LICENSE file for details. Este proyecto está bajo la Licencia MIT - mira el archivo LICENSE para más detalles.