Go to example tasks

Get LinkedIn Posts in Claude via MCP

Use post lookup as a tool in Claude and other AI agents over MCP: pass a profile URL, get posts and engagement back.

Try for free
LinkedIn Posts API | Scrape Profile Posts & Engagement
LinkedIn Posts API | Scrape Profile Posts & Engagementjohnvc/linkedin-posts-api
Result Type
Author
Text
Reactions
+4 fields
Text
Number
Boolean
List
Object

Input

Profile URLs (discover posts):https://www.linkedin.com/in/williamhgates
Max posts per profile:20

Output fields

Result Type
Author
Text
Reactions
Comments
Date Posted
Post URL
Summary

How it works

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.

Image

Integrate "Get LinkedIn Posts in Claude via MCP" into your workflow

Connect "Get LinkedIn Posts in Claude via MCP" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

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.