AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Linkedin Mcp

mcp-rugvedp-linkedin-mcp · by rugvedp

A powerful LinkedIn profile analyzer MCP (Model Context Protocol) server that interacts with LinkedIn's API to fetch, analyze, and manage LinkedIn posts data. This MCP is specifically designed to work with Claude AI.

No reviews yet
0 installs
45 views
0.0% view→install

Install

$ agentstack add mcp-rugvedp-linkedin-mcp

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-rugvedp-linkedin-mcp)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
stale · 1y ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Linkedin Mcp? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

LinkedIn Profile Analyzer MCP

A powerful LinkedIn profile analyzer MCP (Model Context Protocol) server that interacts with LinkedIn's API to fetch, analyze, and manage LinkedIn posts data. This MCP is specifically designed to work with Claude AI.

Features

  • Fetch and store LinkedIn posts for any public profile
  • Search through posts with keyword filtering
  • Get top performing posts based on engagement metrics
  • Filter posts by date range
  • Paginated access to stored posts
  • Easy integration with Claude AI

Prerequisites

  • Python 3.7+
  • RapidAPI key for LinkedIn Data API
  • Claude AI access

Getting Started

1. Get RapidAPI Key

  1. Visit LinkedIn Data API on RapidAPI
  2. Sign up or log in to RapidAPI
  3. Subscribe to the LinkedIn Data API
  4. Copy your RapidAPI key from the dashboard

2. Installation

  1. Clone the repository:
git clone https://github.com/rugvedp/linkedin-mcp.git
cd linkedin-mcp
  1. Install dependencies:
pip install -r requirements.txt
  1. Set up environment variables:
  • Create a .env file
  • Add your RapidAPI key:
RAPIDAPI_KEY=your_rapidapi_key_here

Project Structure

linkedin-mcp/
├── main.py              # Main MCP server implementation
├── mcp.json            # MCP configuration file
├── requirements.txt    # Python dependencies
├── .env               # Environment variables
└── README.md          # Documentation

MCP Configuration

The mcp.json file configures the LinkedIn MCP server:

{
  "mcpServers": {
    "LinkedIn Updated": {
      "command": "uv",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "mcp",
        "run",
        "path/to/your/script.py"
      ]
    }
  }
}

Make sure to update the path in args to match your local file location.

Available Tools

1. fetchandsavelinkedinposts

Fetches LinkedIn posts for a given username and saves them locally.

fetch_and_save_linkedin_posts(username: str) -> str

2. getsavedposts

Retrieves saved posts with pagination support.

get_saved_posts(start: int = 0, limit: int = 10) -> dict

3. search_posts

Searches posts for specific keywords.

search_posts(keyword: str) -> dict

4. gettopposts

Returns top performing posts based on engagement metrics.

get_top_posts(metric: str = "Like Count", top_n: int = 5) -> dict

5. getpostsby_date

Filters posts within a specified date range.

get_posts_by_date(start_date: str, end_date: str) -> dict

Using with Claude

  1. Initialize the MCP server in your conversation with Claude
  2. Use the available tools through natural language commands
  3. Claude will help you interact with LinkedIn data using these tools

API Integration

This project uses the following endpoint from the LinkedIn Data API:

  • GET /get-profile-posts: Fetches posts from a LinkedIn profile
  • Base URL: https://linkedin-data-api.p.rapidapi.com
  • Required Headers:
  • x-rapidapi-key: Your RapidAPI key
  • x-rapidapi-host: linkedin-data-api.p.rapidapi.com

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Rugved Patil

Repository

linkedin-mcp

Acknowledgments

  • RapidAPI for providing LinkedIn data access
  • Anthropic for Claude AI capabilities

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.