How to Use LinkedIn post search in Claude Code
Returns LinkedIn posts matching keywords and publishing filters, with content and engagement data. Use it to discover topic discussions; use a company or profile feed for a fuller author review.
Prompts to try with LinkedIn post search in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use LinkedIn post search for 'Microsoft Copilot' and add a report of the returned posts, their links, and reported engagement to this project.
Use LinkedIn post search to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from LinkedIn post search and tell me what changed since last week.
Check LinkedIn post search and summarize what you find in three bullet points.
Pull the newest data from LinkedIn post search and give me the result as a table.
How to set up LinkedIn post search in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
This adds Spiral to the current project. Add --scope user to use it in every project.
claude mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.
Use the Spiral skill
- Send Claude Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run LinkedIn post search
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "harvestapi/linkedin/search-posts", "input": { "page": 1 } }'
Then paste one of the prompts above: Claude Code finds LinkedIn post search on Spiral, shows the price and runs it.
LinkedIn post search providers and prices
Spiral runs LinkedIn post search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Claude Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Page | a number | Page number for pagination. |
Every API field of HarvestAPI · LinkedIn search linkedin posts is on its tool page: open its card above.
What can you do with LinkedIn post search in Claude Code?
Build a LinkedIn research view that connects company announcements and public creator contributions to the discussions around them. A coding agent can turn returned posts, comments, or reactions into linked tables and aggregate reports in your project.
Review a product launch
Combine company announcements, public creator posts, and topic searches into a launch brief. Examine post details, comments, replies, and reaction mixes; use creators' published comments and reacted-to post IDs to find additional discussions.
Plan an editorial calendar
Research company publishing feeds and public creators' posts, comments, and reacted-to posts for topic ideas. Read the underlying posts and discussions, then compare post and comment reactions to select questions worth answering.
Prepare a conference debrief
Find event posts through organizer feeds, public speakers' publishing activity, and keyword searches. Follow comments, replies, and reacted-to post IDs to collect discussion points, then summarize reaction types at both post and comment level.
Build an industry discussion brief
Collect company posts and public creators' published contributions around a defined industry topic. Use reaction records to identify associated posts and calculate response mixes, then read post details and comment threads for the substance behind those responses.
Find questions for a product FAQ
Collect product discussions from company posts, public creator posts, and keyword searches. Extract recurring questions from comments and replies, including explanations public creators have already published.
Compare campaign responses
Compare the content and reported engagement of selected company and public creator posts. Calculate reaction mixes for the posts and for specific comments addressing campaign messages.
Research a public creator's published work
Prepare an interview brief from a public creator's posts and comments. Use their reaction records to locate additional posts for reading, and keyword search to find relevant topic discussions.
More on LinkedIn post search and Claude Code
Overview
LinkedIn post search in other agents
Questions about LinkedIn post search in Claude Code
Can Claude Code use LinkedIn post search?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run LinkedIn post search like any built-in tool.
How much does LinkedIn post search cost in Claude Code?
Up to $0.0034918 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.
Do I need an Alexandria account to use LinkedIn post search in Claude Code?
No. Spiral runs LinkedIn post search on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up LinkedIn post search in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while LinkedIn post search runs?
LinkedIn post search runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.
What information does HarvestAPI cover?
HarvestAPI describes its data as publicly available web information. That scope does not establish coverage of private LinkedIn messages or restricted discussions.
How fresh is the LinkedIn data?
HarvestAPI advertises real-time access to the latest source data. Its website does not state a fixed refresh interval in minutes or hours.
Is the returned data guaranteed to be complete?
HarvestAPI's terms exclude warranties of absolute data accuracy, reliability, and completeness. A response therefore carries no guarantee that it represents every LinkedIn post or interaction.
Can returned data be kept indefinitely?
HarvestAPI's terms limit storage and caching to the period reasonably necessary for the specific legitimate use. They do not grant an unrestricted retention period.
What does public mean on LinkedIn?
LinkedIn says posts shared with Anyone can be visible on or off LinkedIn. Posts shared with Connections only are restricted to the author's first-degree connections.
Start using LinkedIn post search in Claude Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Claude Code:
set up https://spiral.ai/SKILL.md


