[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [LinkedIn profile comments](https://spiral.ai/integrations/claude-code/linkedin-profile-comments)

# How to Use LinkedIn profile comments in Claude Code

Returns comments written by a LinkedIn profile, including their text and associated post IDs. Use it to research a public creator's published contributions across discussions.

|  |  |
| --- | --- |
| Model | LinkedIn profile comments |
| Available through | Alexandria |
| Category | Social Media |
| Price | Up to $0.0034918 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with LinkedIn profile comments in Claude Code

- Use LinkedIn profile comments to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from LinkedIn profile comments and tell me what changed since last week.
- Check LinkedIn profile comments and summarize what you find in three bullet points.
- Pull the newest data from LinkedIn profile comments and give me the result as a table.
- Check LinkedIn profile comments every morning and tell me only when something changed.

## How to set up LinkedIn profile comments in Claude Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **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

1. **Send Claude Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run LinkedIn profile comments**: One request; the result comes back by polling or a webhook.

```bash
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/profile-comments",
    "input": {
      "profile": "<profile>"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds LinkedIn profile comments on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## LinkedIn profile comments tools and prices

- [HarvestAPI · LinkedIn get comments of linkedin profile](https://spiral.ai/tools/alexandria/harvestapi/linkedin/profile-comments) (Alexandria): Up to $0.0034918 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page |  | — | Page number for pagination. Default is 1. |
| profile |  | — | URL of the LinkedIn profile or public identifier or profile ID. |
| profileId |  | — | Profile ID of the LinkedIn profile. It's faster to search by ID. |
| postedLimit |  | — | Filter posts by maximum posted date. Supported values: '24h', 'week', 'month'. |
| paginationToken |  | — | Required for pages > 1. Use this token from the previous page response. |

## What can you do with LinkedIn profile comments 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.

### 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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## LinkedIn profile comments in other agents

- [Amp](https://spiral.ai/integrations/amp/linkedin-profile-comments)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/linkedin-profile-comments)
- [Claude](https://spiral.ai/integrations/claude-desktop/linkedin-profile-comments)
- [Cline](https://spiral.ai/integrations/cline/linkedin-profile-comments)
- [Codex](https://spiral.ai/integrations/codex/linkedin-profile-comments)
- [Cursor](https://spiral.ai/integrations/cursor/linkedin-profile-comments)
- [Devin](https://spiral.ai/integrations/devin/linkedin-profile-comments)
- [dots](https://spiral.ai/integrations/dots/linkedin-profile-comments)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/linkedin-profile-comments)
- [Gemini](https://spiral.ai/integrations/gemini/linkedin-profile-comments)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/linkedin-profile-comments)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/linkedin-profile-comments)
- [goose](https://spiral.ai/integrations/goose/linkedin-profile-comments)
- [Grok](https://spiral.ai/integrations/grok/linkedin-profile-comments)
- [Grok Build](https://spiral.ai/integrations/grok-build/linkedin-profile-comments)
- [Hermes](https://spiral.ai/integrations/hermes/linkedin-profile-comments)
- [Instinct](https://spiral.ai/integrations/instinct/linkedin-profile-comments)
- [Manus](https://spiral.ai/integrations/manus/linkedin-profile-comments)
- [Muse](https://spiral.ai/integrations/muse/linkedin-profile-comments)
- [Muse Code](https://spiral.ai/integrations/muse-code/linkedin-profile-comments)
- [n8n](https://spiral.ai/integrations/n8n/linkedin-profile-comments)
- [Notion](https://spiral.ai/integrations/notion/linkedin-profile-comments)
- [OpenClaw](https://spiral.ai/integrations/openclaw/linkedin-profile-comments)
- [opencode](https://spiral.ai/integrations/opencode/linkedin-profile-comments)
- [Perplexity](https://spiral.ai/integrations/perplexity/linkedin-profile-comments)
- [Raycast](https://spiral.ai/integrations/raycast/linkedin-profile-comments)
- [VS Code](https://spiral.ai/integrations/vscode/linkedin-profile-comments)
- [Windsurf](https://spiral.ai/integrations/windsurf/linkedin-profile-comments)
- [Zapier](https://spiral.ai/integrations/zapier/linkedin-profile-comments)

## More Claude Code guides

- [LinkedIn post search](https://spiral.ai/integrations/claude-code/linkedin-post-search)
- [LinkedIn profile posts](https://spiral.ai/integrations/claude-code/linkedin-profile-posts)
- [LinkedIn post reactions](https://spiral.ai/integrations/claude-code/linkedin-post-reactions)
- [LinkedIn profile reactions](https://spiral.ai/integrations/claude-code/linkedin-profile-reactions)
- [LinkedIn post details](https://spiral.ai/integrations/claude-code/linkedin-post-details)
- [LinkedIn public profile](https://spiral.ai/integrations/claude-code/linkedin-public-profile)

## Questions about LinkedIn profile comments in Claude Code

**Can Claude Code use LinkedIn profile comments?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run LinkedIn profile comments like any built-in tool.

**How much does LinkedIn profile comments 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 profile comments in Claude Code?**

No. Spiral runs LinkedIn profile comments 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 profile comments in Claude Code?**

About two minutes: add the hosted server, then sign in.

**Does Claude Code wait while LinkedIn profile comments runs?**

LinkedIn profile comments 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.

