Purpose
This MCP server is used to retrieve recent posts indexed by search engines from a LinkedIn profile or company page. It acts as a lightweight client for the Mamba Labs LinkedIn Post Tracker actor on Apify, passing the input to the actor and returning the output as-is.
Main capabilities
- Input a LinkedIn profile or company page, and return posts already indexed by search engines.
- The output is flat rows, each containing: post_id, post_permalink, author_name, author_url, author_type, post_text (search engine snippet), published_at (decoded from the post ID).
- It also includes notice rows, which are run-level or source-level messages and should be filtered out before loading the table.
- A post is counted only when its permalink indicates the source. For example, linkedin.com/posts/stripe_... corresponds to linkedin.com/company/stripe.
- Rejected searches are returned as degraded notices rather than "no posts."
How to use
- Get an Apify token at console.apify.com/account/integrations.
- Call the tool capture_linkedin_posts_and_commenters, passing in a LinkedIn profile or company page.
- The tool returns the actor's output, including post rows and notice rows.
Use cases
- When you need to retrieve public LinkedIn post information for analysis or monitoring.
- When you want to obtain public data without using a LinkedIn account or cookies.
Limitations
- As of version 1.3.0, the actor has stopped scraping linkedin.com. Commenter rows, reaction and comment counts, media, and the input parameters collect_commenters, collect_reactors, max_engagers_per_post, and use_residential_proxy have all been removed.
- Posts come from search results, and coverage depends on search engine indexing: posts may appear days or weeks after publication, and many posts maynever appear.
- No requests are sent to LinkedIn, and no session cookies or LinkedIn accounts are used.
- This actor is unofficial and is not affiliated with, sponsored by, or endorsed by LinkedIn or Microsoft.
- Errors are returned explicitly and are not swallowed. Invalid input, invalid token, exhausted balance, timeout, or a run returning a non-dataset are all returned as tool errors rather than empty results.
- Charges are based on the number of posts collected, plus a small actor startup fee. Notice rows are free. posted_since filters before charging. See the actor's Apify page for current pricing.
- When running a profile, you are the controller of the personal data returned, and Apify is the processor. You must establish the legal basis yourself; nothing here constitutes legal advice.
Other information
- This actor is located on the Apify Store. This wrapper uses the MIT license.
- Built by Mamba Labs.