Feature Description
Add a get_feed MCP tool that fetches posts from the authenticated user's LinkedIn home feed with a configurable number of posts (1–50).
Use Case
Users need to browse their LinkedIn home feed through the MCP server — for example, to summarize recent activity, find posts from specific connections, or monitor industry trends. Currently the server can scrape profiles, companies, and jobs, but has no way to access the main feed.
Suggested Approach
- New
get_feed tool in linkedin_mcp_server/tools/feed.py following the existing tool pattern
- New
extract_feed / _extract_feed_once methods in extractor.py using mouse.wheel scrolling (LinkedIn's feed uses its own scroll container where window.scrollTo has no effect)
- Count-based scrolling: scroll until the target number of posts appears in
<main>, with staleness detection
- Expand truncated posts ("… more" buttons) via JS click to capture full text
Feature Description
Add a
get_feedMCP tool that fetches posts from the authenticated user's LinkedIn home feed with a configurable number of posts (1–50).Use Case
Users need to browse their LinkedIn home feed through the MCP server — for example, to summarize recent activity, find posts from specific connections, or monitor industry trends. Currently the server can scrape profiles, companies, and jobs, but has no way to access the main feed.
Suggested Approach
get_feedtool inlinkedin_mcp_server/tools/feed.pyfollowing the existing tool patternextract_feed/_extract_feed_oncemethods inextractor.pyusingmouse.wheelscrolling (LinkedIn's feed uses its own scroll container wherewindow.scrollTohas no effect)<main>, with staleness detection