原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

LinkedIn Post Search

作者:johnisanerd版本 1.0.0i★ –i在云端运行
注册名称io.github.johnisanerd/linkedin-post-search

安装

概览

作者提供的说明(英文原文)

Search public LinkedIn posts by keyword, name or hashtag, with engagement, via a hosted MCP server.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在云端运行
  • 传输方式: Streamable HTTP
  • 分类: 营销与社交媒体

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

适用于网页版、桌面版和手机版 Claude:

  1. 打开 Settings → Connectors
  2. 点击 Add custom connector
  3. 粘贴下面的地址,然后点击 Add
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Add2https://…3
https://mcp.apify.com/?tools=johnvc/linkedin-post-search-api

在终端中运行这条命令

claude mcp add --transport http linkedin-post-search 'https://mcp.apify.com/?tools=johnvc/linkedin-post-search-api'

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "linkedin-post-search": {
      "url": "https://mcp.apify.com/?tools=johnvc/linkedin-post-search-api"
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "linkedin-post-search": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=johnvc/linkedin-post-search-api"
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

ChatGPT 只能连接互联网上的服务器:

  1. 打开网页版 ChatGPT → Settings → Connectors (Apps)
  2. 点击 Create 或 Add(部分套餐需要先在 Advanced 中开启 Developer mode)
  3. 粘贴下面的地址,起个名字,然后保存
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Create2https://…3
https://mcp.apify.com/?tools=johnvc/linkedin-post-search-api

菜单名称可能因套餐和版本不同而略有差异。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

服务器要求先登录,才会列出它的工具。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 johnisanerd 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • ✓ 通过

    端点有响应

    在 55 毫秒内响应(HTTP 401)

  • ✓ 通过

    使用 OAuth 登录

    声明支持 OAuth 登录,你的 AI 应用可以带你去登录

  • … 尚未检查

    工具描述中没有隐藏指令

    尚未检查;我们会在检查端点时读取工具列表

与“营销与社交媒体”中的其他服务器比较i

  • 星标数多于此分类中其他 3574 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 3574 个服务器的 86% 更新
  • 基础检查结果等于或优于此分类中其他 3574 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

LinkedIn Post Search 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.0.0)于5天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。

有什么可以替代它?

同一分类中有:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

MCP YouTube Transcript

作者:jkawamoto

An MCP server retrieving transcripts of YouTube videos

在你的电脑上运行★ 495MIT11天前更新
安装

Google Analytics MCP

作者:surendranb

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

在你的电脑上运行★ 244MIT10天前更新
安装

AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.

在云端运行★ 137MIT11天前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

🔎 LinkedIn Post Search API: Search LinkedIn Posts by Keyword from Python and MCP

LinkedIn post search by keyword, name, phrase or #hashtag: get every matching public post as JSON, with the full text, author, date, reactions, comments, images and links. No LinkedIn login, no cookie.

This repo is a Python and MCP quick-start for the LinkedIn Post Search API on Apify. Give it keywords, names or hashtags and a date window such as the past day or the past week, and it returns the public LinkedIn posts that mention them, one row per post. It is the search LinkedIn itself only offers to logged-in members, run as an API over the public side of LinkedIn: no account, no session cookie, nothing attributed to you. Run it on a schedule and it becomes a LinkedIn social listening feed; run it once with a date range and it is research for a story, a launch or an event.

Coverage is the public, indexed part of LinkedIn. Posts from members who keep their activity private, and posts published in the last few hours, may be missing, and a signed-out visitor sees at most 10 comments per post. For a mention monitor that is usually what you want: the posts that are public and spreading.

Responsible use: the API returns only what LinkedIn shows signed-out visitors and collects no contact details, and you are responsible for using the data lawfully.

Video Walkthrough

Text walkthrough

The LinkedIn Post Search API turns a keyword into a list of public LinkedIn posts. You pass keywords (up to 20 names, phrases or #hashtags, each matched as an exact phrase), pick postedWithin (day, week, month, year) or a startDate and endDate, and cap the run with maxPostsPerKeyword. Each row carries text, authorName, authorUrl, authorType, datePosted, numLikes, numComments, topComments, hashtags, images, embeddedLinks, taggedPeople and taggedCompanies, plus matchedKeyword and the search page and rank it came from. For LinkedIn hashtag analytics, pass #semiconductors with postedWithin: "week" and sort the rows by numLikes to see which posts and authors lead the tag; for brand monitoring, pass your company and your executives with postedWithin: "day" on a daily schedule. The default run in this repo asks for five posts about one event and costs well under a cent; posts and search pages read in the last 7 days come back from a shared cache, so repeats are cheaper and faster.

Quick Start

Prerequisites
  1. Clone the repository
   git clone https://github.com/johnisanerd/Apify-LinkedIn-Post-Search-API.git

cd Apify-LinkedIn-Post-Search-API

  1. Install dependencies with UV
   # Install UV if you do not have it:

curl -LsSf https://astral.sh/uv/install.sh | sh

Install project dependencies:

uv sync

  1. Configure your API key
   cp .env.example .env

Edit .env and add your Apify API key

Get your free API key at: https://apify.com?fpr=9n7kx3

  1. Run the example
   uv run python linkedin-post-search-api-example.py

The script starts one run for "Jackson Hole Symposium" with maxPostsPerKeyword: 5, waits for it to finish, prints each post with its author, date, reactions and link, and then prints the run's RUN_SUMMARY (pages fetched, cache hits, why each keyword stopped). Three recipe helpers mirror the use cases on the Actor's Examples tab:

uv run python linkedin-post-search-api-example.py hashtag    # track #semiconductors this week

uv run python linkedin-post-search-api-example.py mentions # past-day brand and executive mentions uv run python linkedin-post-search-api-example.py top # most liked posts on a topic this week

Alternative: set the API key directly
export APIFY_API_TOKEN="your_api_key_here"

uv run python linkedin-post-search-api-example.py

Why Use This LinkedIn Post Search API?

No LinkedIn login or cookie

The API reads only what LinkedIn shows a signed-out visitor. There is no field for an account, a password or an li_at cookie, so no LinkedIn account is ever at risk, and anyone with a free Apify token can search LinkedIn posts without an account.

A date window that is checked, not guessed

postedWithin and the startDate / endDate range are applied to the search and then checked against every post's own timestamp before it is delivered, so you are never billed for a post outside the window. LinkedIn's own feed cannot filter posts by date; this API can.

Engagement and context on every post

Each row carries reactions, comment count, up to 10 of the comments a signed-out visitor sees, the people and companies tagged in the post, the hashtags, the media and links, and the original post when the match is a share.

A shared cache that makes monitors cheap

Posts and search pages read in the last 7 days are reused across runs. Cached search pages are free, and a daily monitor pays only for the pages and posts that are new.

Pay per search page and per post, no start fee

One small event per page of search results fetched fresh and one per post delivered. Error rows, posts outside the window and cached pages cost nothing.

Recipes

These are the use cases the Actor's Examples tab is built around. Each is a ready input you can paste into the Apify Console or into RUN_INPUT in the example script.

Track a LinkedIn hashtag: posts, reactions and comments
{ "keywords": ["#semiconductors"], "postedWithin": "week", "maxPostsPerKeyword": 50 }

Every public post under the tag this week, with numLikes, numComments, author and date. Sort by reactions for LinkedIn hashtag analytics: which posts and which authors lead the conversation.

Monitor brand mentions on LinkedIn every day
{ "keywords": ["Your Company", "Your CEO"], "postedWithin": "day", "maxPostsPerKeyword": 100 }

LinkedIn social listening on a schedule. Save this as a task, attach a schedule such as 0 7 * * *, and each morning's dataset is the list of new public posts that mention you.

Search LinkedIn posts by keyword and export to CSV
{ "keywords": ["Jackson Hole Symposium"], "maxPostsPerKeyword": 50 }

A flat row per post: text, authorName, authorUrl, datePosted, numLikes, numComments. The run's Posts view downloads straight to CSV or Excel.

Find the most liked LinkedIn posts on a topic this week
{ "keywords": ["artificial intelligence"], "postedWithin": "week", "maxPostsPerKeyword": 100 }

The viral posts on a topic, ready to sort by numLikes. The top recipe in the example script prints the five most liked.

Search LinkedIn posts by date range for an event
{ "keywords": ["Jackson Hole Symposium"], "startDate": "2026-08-18", "endDate": "2026-08-29", "includeArticles": true }

Every public post and long-form article about an event in its window, each with datePosted, author and text. Useful for research after the fact, when LinkedIn's own search cannot go back by date.

Schedule tip

Any of these inputs becomes a monitor: save it as a task, attach a schedule (0 7 * * * daily, 0 */6 * * * every six hours, 0 9 * * 1 Mondays), and send each run's rows onward with Apify integrations to Slack, Google Sheets, a webhook or a database.

Features

Core Capabilities
  • Up to 20 keywords, names or #hashtags per run, each searched as an exact phrase across public LinkedIn posts
  • Rolling windows (postedWithin: day, week, month, year) or a custom startDate and endDate
  • maxPostsPerKeyword from 1 to 1,000 to cap cost; includeArticles to add long-form LinkedIn articles
  • Posts and search pages reused from a shared cache for 7 days, with short windows refreshed every 6 hours (day) and daily (week)
  • Datasets download as JSON, CSV or Excel, with a ready-made Posts view
  • Works as an MCP tool in Claude, Cursor and ChatGPT (see the install sections below)
Data Quality
  • Every post's own timestamp is checked against the window before delivery; posts outside it are never fetched or billed
  • matchedKeyword, searchPage and searchRank on every row, so results are traceable
  • A post found by two keywords is delivered once
  • fromCache and fetchedAt show whether a row came from the shared cache and when it was read
  • A keyword or post that cannot be read produces an error row with a plain-language reason, never a charge
  • RUN_SUMMARY reports pages fetched and cached, posts delivered and skipped, and why each keyword stopped

It pairs with the rest of the LinkedIn suite: the LinkedIn Posts API for everything one person or company has posted, the LinkedIn Profile API for full profiles of the authors you find (Python example repo), the LinkedIn Company API for the companies that post (Python example repo), and the LinkedIn People Search API to find people by name, title or company.

Coverage, speed and limits

  • Coverage. The API finds posts that search engines have indexed from the public side of LinkedIn. Posts from private accounts are not found, and new posts appear within hours, not seconds (three to four hours in testing).
  • Speed. A one-keyword, one-page run finishes in under a minute. A busy keyword with hundreds of posts takes several minutes, so the example script starts the run and waits rather than using the synchronous endpoint.
  • Comments. Up to 10 per post, which is what LinkedIn shows a signed-out visitor. Reposts and share counts are not shown to guests.
  • Not available. Who reacted, private posts, LinkedIn's own relevance ranking, and author filters that need a login.

Pricing

The API is priced per event: one search page event per page of results fetched fresh for a keyword (about 8 to 10 posts per page; pages served from the shared cache are free), and one post scraped event per post delivered. Error rows, posts outside your window and duplicates in a run are never charged. Check the Pricing tab on the Actor page for current rates; the default five-post run here is one page plus five posts. You can set a maximum cost per run in the Apify Console, or pass max_total_charge_usd to start() in Python as the example does.

Usage Examples

Basic Example

The default run in the example script:

{ "keywords": ["Jackson Hole Symposium"], "maxPostsPerKeyword": 5 }
Advanced Example

Two keywords in a custom date range, articles included, using every input parameter:

{

"keywords": ["Jackson Hole Symposium", "#semiconductors"], "startDate": "2026-08-18", "endDate": "2026-08-29", "maxPostsPerKeyword": 100, "includeArticles": true }

From an AI agent over MCP

When an assistant calls the API, keep the cap small and ask a question it can answer from the rows:

{ "keywords": ["#semiconductors"], "postedWithin": "d

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx