Get LinkedIn Posts in Claude via MCP
John
Use post lookup as a tool in Claude and other AI agents over MCP: pass a profile URL, get posts and engagement back.
Input
Output fields
Sign up on Apify or log in
The LinkedIn Posts API | Scrape Profile Posts & Engagement Actor is ready to run with the inputs already set for "Get LinkedIn Posts in Claude via MCP". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Get LinkedIn Posts in Claude via MCP" task
The LinkedIn Posts API | Scrape Profile Posts & Engagement Actor will start running based on the input automatically. You can also change all the input fields, like profile urls (discover posts) and max posts per profile, to match your specific use case.
Receive the "Get LinkedIn Posts in Claude via MCP" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as result type, author, text, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Get LinkedIn Posts in Claude via MCP" task via API.

One row per post with authorName, text, numLikes, numComments, datePosted, postUrl and summary, which the agent can quote or tabulate. The same dataset is also kept on Apify, downloadable as JSON, CSV or Excel.
profileUrls with one or more profile or company page URLs, for example https://www.linkedin.com/in/williamhgates, and maxPostsPerProfile, 20 in the example. In practice you just name the profile and the agent fills the fields.
The MCP tool wraps the task's run endpoint on the Apify API, so anything the agent fetches you can also fetch from Python or Node with apify-client and read back as JSON or CSV.
Schedule the task in Apify Console under Actions, then Schedule, with a cron such as 0 */6 * * *, and each run's dataset waits in your Apify account. For this minute's posts, the agent simply runs the task live over MCP.
Add https://mcp.apify.com/?tools=actors,docs,johnvc/linkedin-posts-api as an MCP server in Claude, Cursor or any other MCP client, sign in to Apify when prompted, and the LinkedIn Posts API appears as a tool the agent can call.
Each post the agent pulls through Get LinkedIn Posts in Claude via MCP is billed once, per post returned, with no per-run setup fee or subscription. The current rate is on the LinkedIn Posts API Actor page.
Get LinkedIn Posts in Claude via MCP is for conversational use: ask, and the agent runs the task and summarizes. LinkedIn Posts Data API for Python is for scripts that need the raw rows in code, on a loop, with no chat in between.