Used for hosting the MCP server that serves LinkedIn profile data to Claude
LinkedIn MCP Server with Anthropic Integration
A Python-based MCP (Model Context Protocol) server that gets stuff from your LinkedIn profile and integrates with the Anthropic API for potential analysis tasks. This project follows the src
layout for Python packaging.
TL;DR Install for Claude Desktop Access to the LinkedIn profile
Features
- Serves your LinkedIn profile from the project root
- Built with FastAPI for high performance and with Pixi for dependency management and task running
- Source code organized in the
src/
directory - Includes configurations for:
- Docker (optional, for containerization)
- Linting (Ruff, Black, iSort)
- Formatting
- Type checking (MyPy)
Prerequisites
- Python 3.11+
- Pixi (for dependency management and task execution)
- Docker (optional, for containerization)
- Access to your LinkedIn profile
Project Structure
Setup and Installation
- Clone the repository (if applicable) or ensure you are in the project root directory.
- Install dependencies using Pixi:
This command will create a virtual environment and install all necessary dependencies:
Running the Server
Pixi tasks are defined in pyproject.toml
:
mcps (MCP Server)
Development Mode (with auto-reload)
The server will start at http://localhost:10000
. It will automatically reload if you make changes to files in the src/
directory.
MCP Inspection Mode
This starts the inspector for the MCP Server.
Web scrapper
Development Tasks
Run Tests
Lint and Check Formatting
Apply Formatting and Fix Lint Issues
Build the Package
Creates sdist and wheel in dist/
:
Docker Support (Optional)
Build the Docker Image
Run the Docker Container
TODO: Rewrite this if necessary. Docker support not yet done.
MCP Server Configuration
Local Configuration for Claude Desktop
Remote Configuration for Claude Desktop
For connecting to a remote MCP server:
Note: Update the host and port as needed for your deployment.
Currently I'm using render.com
to host the MCP server. The configuration is in the config/claude.json
file.
Render requires requirements.txt
to be present in the root directory. You can generate it using:
Also requires runtime.txt
to be present in the root directory with the Python version specified:
Then you can query in Claude Desktop using the linkedin_mcp_fps
MCP server to get info:
License
This project is licensed under the MIT License. See pyproject.toml
(See LICENSE
file) for details.
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Enables Claude to access and analyze LinkedIn profile data through the Model Context Protocol, allowing users to query their LinkedIn information directly within Claude Desktop.
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server that enables seamless interaction with LinkedIn for job applications, profile retrieval, feed browsing, and resume analysis through natural language commands.Last updated -10Python
- -securityAlicense-qualityA powerful LinkedIn Profile Analyzer that seamlessly integrates with Claude AI to fetch and analyze public LinkedIn profiles, enabling users to extract, search, and analyze posts data through RapidAPI's LinkedIn Data API.Last updated -10PythonMIT License
- -securityAlicense-qualityEnables posting text and media content directly to LinkedIn from Claude Desktop with support for authentication and visibility controls.Last updated -1PythonMIT License
- -securityFlicense-qualityA server implementing the Model Context Protocol that enables users to retrieve LinkedIn profile information and activity data via EnrichB2B API, and generate text using OpenAI GPT-4 or Anthropic Claude models.Last updated -Python