Tools

LinkedIn tools

Read LinkedIn people, company pages and posts from Claude, ChatGPT or Cursor: each tool's parameters, what it returns and what it costs.

Read public LinkedIn profiles, company pages, posts and the people commenting on them. Use linkedin_get_profile to check a person before you reach out, linkedin_get_company_posts to follow what a company publishes, linkedin_search_posts to find what is being said about a topic, and linkedin_get_comments to pull the people who commented on a post, each with a profile URL.

Each call costs what the data provider charges for it, and each tool below gives its cost. LinkedIn shows a logged-out reader up to 10 comments on a post and never who reacted, so that is the limit of what comes back. If LinkedIn has no way to answer a question, there is no tool for it.

For a comparison of LinkedIn MCP servers, see the best LinkedIn MCP servers.

To connect these tools to your agent, see the LinkedIn MCP page.

ToolWhat it doesCost
linkedin_get_profileGet a LinkedIn profileFrom 1 credit
linkedin_get_companyGet a company pageFrom 1 credit
linkedin_get_company_postsGet a company's postsFrom 1 credit
linkedin_get_postGet a LinkedIn postFrom 1 credit
linkedin_get_commentsGet a post's commentersFrom 1 credit
linkedin_search_postsSearch LinkedIn postsFrom 1 credit

Get a LinkedIn profile

Toollinkedin_get_profile

One LinkedIn person: their about text, location, followers, companies and latest posts.

Good for

Checking a person before outreach, reading how they describe themselves.

Not the tool for
What you get

One record. The profile's handle, name, bio, followers, location, experience[] (the companies and schools on the profile, with dates but no titles), recent_posts[] (their latest posts, for linkedin_get_comments) and related (similar profiles), with other profile fields where LinkedIn fills them. null or empty = the platform does not publish it.

Cost

1 credit. Cached 24 hours.

Parameters

ParameterDefault and notes
handleThe account's handle, with or without the @.
urlThe full URL of a LinkedIn profile.

Give one of url or handle (the part after /in/).

It also takes the common parameters max_credits and dry_run.

Example input
{
  "url": "https://www.linkedin.com/in/williamhgates"
}

Get a company page

Toollinkedin_get_company

One LinkedIn company page: headcount, industry, location and website.

Good for

Sizing a company from its own page, confirming an industry and a headcount band before outreach.

Not the tool for
What you get

One record. The page's handle, name, bio, followers, website, location, industry, employees (LinkedIn's own headcount), founded, company_type, topics (its specialties), people (the few employees the page shows, with profile URLs and usually no title) and related (similar pages), with other profile fields where LinkedIn fills them. null or empty = the platform does not publish it. kind is company. running_ads and ad_library_id are always null here: the page does not say whether the company advertises; ads_get_advertiser_ads with platform linkedin and the company name does.

Cost

1 credit. Cached 24 hours.

Parameters

ParameterDefault and notes
handleThe account's handle, with or without the @.
urlThe full URL of a LinkedIn company page.

Give one of handle (the company slug) or url.

It also takes the common parameters max_credits and dry_run.

Example input
{
  "handle": "shopify"
}

Get a company's posts

Toollinkedin_get_company_posts

The posts on one LinkedIn company page, newest first.

Good for

Watching what a competitor publishes, judging cadence and engagement.

Not the tool for
What you get

A list. Each row has posts with author, created_at, text (cut at 2000 characters) and transcript. The listing carries no engagement, views or media, so those are null; linkedin_get_post has likes, comments and media for one post. created_at is approximate: the platform shows an age such as "3 weeks ago", so it is exact only to that unit.

Cost

1 credit per page. Cached 6 hours.

Parameters

ParameterDefault and notes
handleThe account's handle, with or without the @.
urlThe full URL of a LinkedIn company page.

Give one of handle (the company slug) or url.

It also takes the common parameters cursor, max_credits and dry_run.

Example input
{
  "handle": "shopify"
}

Get a LinkedIn post

Toollinkedin_get_post

One LinkedIn post with its text, its author, its engagement and its first commenters.

Good for

A row from a search is worth the detail, or you have a URL and nothing else.

Not the tool for
What you get

One record with Each row has the one post, with author and author_followers, created_at, text (cut at 2000 characters), likes, comments, shares, saves, views, media, duration_s, links, transcript and top_comments[]. top_comments are up to 10 commenters with their profile URLs, the same people linkedin_get_comments returns as rows. null or empty = the platform does not publish it. media is video only for a video stream; a photo, a document carousel or a GIF reads image.

Cost

1 credit. Cached 6 hours.

Parameters

ParameterDefault and notes
urlRequired. The full URL of a LinkedIn post.

It also takes the common parameters max_credits and dry_run.

Example input
{
  "url": "https://www.linkedin.com/posts/aagupta_what-you-need-to-know-ai-agents-activity-7354600338621906944-RvXR"
}

Get a post's commenters

Toollinkedin_get_comments

The comments LinkedIn shows on one post, each with the commenter's profile URL.

Good for

Pulling the people who engaged with a post: a competitor's launch, a thought leader in your category, your own post. Each author_url goes straight into linkedin_get_profile or leads_get_person.

Not the tool for
  • Every comment on a busy post (LinkedIn shows up to 10 to a logged-out reader, so a post with 200 comments returns 10).
  • Reactions, which LinkedIn does not show at all.
  • Many posts at once, use linkedin_search_posts, whose rows carry the same commenters in top_comments.
What you get

A list. Each row has one comment each: author (the profile's slug, the part after /in/ or /company/), author_url (on www.linkedin.com), text (cut at 2000 characters). LinkedIn gives no time, likes or replies for a comment, so those are null. meta.cursor is always null: there is no next page.

Cost

1 credit. Cached 6 hours.

Parameters

ParameterDefault and notes
urlRequired. The full URL of a LinkedIn post.

It also takes the common parameters cursor, max_credits and dry_run.

Example input
{
  "url": "https://www.linkedin.com/posts/aagupta_what-you-need-to-know-ai-agents-activity-7354600338621906944-RvXR"
}

Search LinkedIn posts

Toollinkedin_search_posts

LinkedIn posts matching a keyword, ranked by LinkedIn's own search.

Good for

"what is being said about X on LinkedIn", finding the people posting about a category.

Not the tool for
What you get

A list, ranked. Each row has posts with author and author_followers, created_at, text (cut at 2000 characters), likes, comments, shares, saves, views, media, duration_s, links, transcript and top_comments[]. top_comments are up to 10 commenters per post with their profile URLs, so one page names the people engaging with a topic; transcript is what a video post says. media is video only for a video stream; a photo, a document carousel or a GIF reads image. null or empty = the platform does not publish it. created_at is approximate: the platform shows an age such as "3 weeks ago", so it is exact only to that unit.

Cost

1 credit per page. Cached 6 hours.

Parameters

ParameterDefault and notes
queryRequired. What to search LinkedIn posts for.
sinceOne of day, week, month, year, all. How far back to search. Default month.

It also takes the common parameters cursor, max_credits and dry_run.

Example input
{
  "query": "rfp automation",
  "since": "week"
}