Voice of Customer from Social Media Comments with AI (2026)
Last updated and tested: .
To get voice of customer from social media comments, give an AI agent the URL of a post and a skill that tells it what to do with what it reads. comment-mining is the official agent skill of SocialLens (sociallens.dev): the agent reads the public comments through the sociallens-mcp server, sorts them into questions, objections, pain points, buying intent and requests, quotes the audience in its exact words and weighs each theme by who said it. It works on TikTok, Instagram, YouTube, Facebook and Reddit, and a new account starts with 250 free reads and no card.
This page covers why a sentiment score is not enough, what the report contains, why the author of a comment matters, the setup for Claude Code and Cursor, an example report, the cost and the limits.
The comment section is research you already have
Under any post that reached your market, people wrote what they ask, what they doubt, what annoyed them and what they want to buy. Nobody recruited them and nobody paid for a survey. It is the closest you get to hearing customers talk when the brand is not in the room.
Two things usually stop a marketing or product team from using it:
- Reading by hand does not scale. One post is fine. Twenty posts from you and three competitors, every month, is a job nobody keeps doing.
- Sentiment analysis answers the wrong question. "72% positive" does not tell you which objection to answer on the landing page or which question deserves a video. A comment that says "love it, does it ship to Canada?" is buying intent, and a sentiment score files it under positive and moves on.
Scraping the comments does not fix this either. A spreadsheet with 400 rows of raw text is the same reading job in another window. What helps is audience research from comments that ends in decisions: these are the questions people ask, this is the objection with the most agreement, this is the sentence they use to describe the problem.
What a voice of customer report from comments contains
The comment-mining skill tells the agent to put every comment into one or more of 8 buckets:
| Bucket | What goes in | Where you use it |
|---|---|---|
| Questions | Anything the audience asks | FAQ, next pieces of content |
| Objections and doubts | Reasons not to believe, buy or try | Landing page, sales replies |
| Pain points and frustrations | Problems they describe | Positioning, roadmap |
| Desires and outcomes wanted | What they wish they had or could do | Headlines, offers |
| Buying intent | "where can I get", "link?", "how much" | Demand signal, distribution gaps |
| Praise and what worked | What they liked and the results they report | Proof, testimonials to ask for |
| Feature or content requests | "please add", "do a video on", "part 2?" | Backlog, content calendar |
| Confusion | They misunderstood the post or the offer | Clearer copy |
Inside each bucket the agent groups the comments that say the same thing into a theme, then ranks the themes by the number of comments multiplied by the likes those comments received. A like on a comment is a silent "same here", so a theme with few comments and many likes still ranks.
The part you will reuse most is the exact audience language. The skill tells the agent to quote comments verbatim with their like counts, to leave typos and slang alone, and never to write a quote that is not in the data it read. Those sentences go straight into copy, hooks and FAQ.
Who said it: weighing comments by author
Most comment mining stops at the text. Reading the profile behind the comment changes the result: a doubt raised by an account with 50,000 followers reaches more people, and tells you more, than the same doubt from an account with 12.
Every comment already arrives with its author and its like count, so the first layer of weight costs nothing extra. This is one real comment as the tool returns it, read from the API on November 30, 2026 under a public NASA video on TikTok:
{
"id": "7665263325262201622",
"text": "Howdy partners! 🚀✨",
"author": {
"username": "europeanspaceagency",
"name": "ESA",
"verified": null
},
"likes": 7998,
"replies": 70,
"published_at": "2026-07-22T08:17:14Z"
}
Look at "verified": null. TikTok does not expose the verified flag on comments, so the comment alone cannot tell you who this is. When you ask for enrichment, the agent calls get_profile for the top commenters. This is the same author, read the same day and trimmed to the main fields:
{
"username": "europeanspaceagency",
"platform": "tiktok",
"nickname": "ESA",
"verified": true,
"followers": 712887,
"is_exact": true,
"fetched_at": "2026-11-30T03:12:34Z"
}
The comment with the most likes on that page came from a verified account with 712,887 followers, and the comment itself could not show it. That read returned 43 of the 3,767 comments on the video, the page TikTok serves first.
In a report about your product, this is the difference between "someone complained about the price" and "4 of the 9 people who raised the price objection have more than 10,000 followers". It separates signal from noise.
Enrichment is optional and costs 1 credit per profile, with a default limit of 10 profiles per run. The agent tells you the number before it spends anything. Without it, the skill weighs with likes and with the verified flag where the network sends it on the comment, which Instagram and YouTube do. The usernames of ordinary commenters stay out of the report: the skill names an author only when it adds weight or when you ask.
Set it up: the MCP server and the skill
You need two pieces. The MCP server gives the agent the read tools, and the skill tells it how to mine. Both are open source under the MIT license.
1. Get a key. Create a free SocialLens (sociallens.dev) account: 250 free reads, no credit card.
2. Install the MCP server. Download github.com/sociallensapi/sociallens-mcp to your machine. You need Python 3.10 or newer. Install the two dependencies with the same Python that will run the server:
pip install -r requirements.txt
Then register the server in your agent. In Claude Code:
claude mcp add --env SOCIALLENS_API_KEY=sk_live_YOUR_KEY --transport stdio sociallens -- python /absolute/path/to/sociallens-mcp/server.py
In Cursor, add the server to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{
"mcpServers": {
"sociallens": {
"command": "python",
"args": ["/absolute/path/to/sociallens-mcp/server.py"],
"env": {
"SOCIALLENS_API_KEY": "sk_live_YOUR_KEY"
}
}
}
}
The full walkthrough, with a real response, is in the guide to the social media MCP server.
3. Add the skill. Download github.com/sociallensapi/comment-mining and copy the folder into the skills folder of your agent. The folder must be named comment-mining and hold the SKILL.md file.
| Agent | All your projects | One project |
|---|---|---|
| Claude Code | ~/.claude/skills/comment-mining/ |
.claude/skills/comment-mining/ |
| Cursor | ~/.cursor/skills/comment-mining/ |
.cursor/skills/comment-mining/ |
| Codex | ~/.agents/skills/comment-mining/ |
.agents/skills/comment-mining/ |
Any other agent that reads SKILL.md files works the same way: connect the MCP server as that agent documents, then put the folder where it looks for skills.
The API key stays in the config of the MCP server, in the SOCIALLENS_API_KEY environment variable. The skill holds no key and makes no HTTP call. It is a set of instructions the agent follows.
Run it: one URL, one request
Ask your agent in plain language, with the URL of the post in place of POST_URL:
- "Mine the comments of this video for objections before our launch: POST_URL"
- "What are people asking under these 5 posts? I need content ideas."
- "Run comment mining on POST_URL and enrich the top commenters."
This is what the agent does next:
- Collects. It calls
get_post_commentsonce per post, with the network and the URL. Calls for different posts can run in parallel. - Cleans. It drops emoji only comments, spam, repeats and comments by the author of the post. When different people write the same thing it counts them, because repetition is signal.
- Classifies. Each comment goes into the buckets above, and then into a theme.
- Weighs. It ranks the themes by comments and likes and flags the comments from verified accounts.
- Enriches, if you asked. It calls
get_profilefor the top commenters and tells you the cost first. - Writes the report, leading with the sections that answer your question.
Tell the agent what you want to learn: product feedback, content ideas, objections before a launch or brand perception. The skill uses that research question to decide which sections lead. This is how you analyze social media comments with AI and still end up with something a person can act on.
Example report
The excerpt below is illustrative. The product, the numbers and the comments are invented to show the shape of the output. They are not real data.
# Comment mining: launch video of a standing desk
**Sample:** 67 comments from 3 posts on TikTok and YouTube, 3 pages read and 9 profiles enriched (12 credits). 14 removed as noise.
## Top themes
| Theme | Comments | Likes | Example verbatim |
| --- | --- | --- | --- |
| Wobble at standing height | 9 | 1,840 | "looks great until you type on it standing up" (612 likes) |
| Price against a DIY desk | 7 | 1,105 | "600 for a desk?? my ikea hack cost 180" (431 likes) |
| Shipping outside the US | 6 | 388 | "do you ship to canada" (120 likes) |
## Objections to address
- It wobbles when raised: "looks great until you type on it standing up" (612 likes)
## Exact audience language
- "my back is done by 3pm"
- "i just want it to not shake when i type"
## Who is saying it
- 4 of the 9 people who raised the wobble objection have more than 10,000 followers
The real report also carries the questions people ask, the other buckets that matter to your research question and up to 3 next actions tied to the themes.
What it costs
- 1 credit per page of comments. One
get_post_commentscall reads one page, and one page per post is the default. - 1 credit per enriched profile, only when you ask for enrichment.
check_api_keycosts 0 and errors are not charged.
A new account has 250 free reads. After that, credits are prepaid and never expire. The smallest pack is $19 for 8,000 reads, which is $0.0024 per read. The packs are on the pricing page.
| Research run | Reads | Cost at the Starter rate |
|---|---|---|
| One post, no enrichment | 1 | $0.0024 |
| 10 posts on one topic | 10 | $0.024 |
| 10 posts plus 10 enriched commenters | 20 | $0.048 |
| 20 posts a week for a month, with 10 enriched commenters each week | 120 | $0.29 |
The table uses the exact Starter rate, $19 divided by 8,000 reads.
Honest scope
- Comments are available on 5 networks: TikTok, Instagram, YouTube, Facebook and Reddit. On the other networks, Threads included, the comment tool answers that the platform is not available.
- One page per post. A page is what the network serves first: in our tests about 10 comments on Facebook, 20 on YouTube and Reddit and around 40 on TikTok. Facebook is the only network where the agent can read further pages. On a post with thousands of comments you are reading a sample, and the report says so. For a wider sample, give the agent more posts on the same topic.
- The order is the default order of the network, not a ranking by likes. The agent does the ranking.
- Enrichment works on Instagram, TikTok and YouTube. On Facebook a comment arrives with the display name only, with no username to look up. On Reddit the profile tool reads subreddits, not users. YouTube publishes rounded subscriber counts.
- The verified flag on a comment depends on the network. Instagram and YouTube send it. TikTok, Facebook and Reddit do not, so the agent treats it as unknown there.
- YouTube rounds comment likes and reply counts. The agent calls those numbers approximate.
- Public data, read only. No login to any social network, nothing private, no posting and no replying.
- Your agent does the classification. The comments and the counts are real data. The buckets and themes are a reading of them, so check the verbatim quotes before a claim goes into a deck.
When another route fits better
- You need every comment of one post. This workflow samples one page per post on four of the five networks. For a complete export of a single comment section, use a tool built for bulk comment export.
- You want the raw comments in your own pipeline. Skip the agent and call the comments endpoint directly. The parameters and fields are in the docs.
- Your agent stack does not speak MCP. Wire the same endpoints with function calling or the OpenAPI file, as shown in Social Media Data for AI Agents and No Code Tools.
Frequently asked questions
What is voice of customer from social media comments?
It is what people say about a product, a problem or a brand in the comments of public posts, collected and organized so a team can act on it. Unlike a survey, nobody was prompted: the comments were written before you asked.
How is comment mining different from sentiment analysis?
Sentiment analysis scores each comment as positive, negative or neutral. Comment mining sorts comments by what you can do with them (questions, objections, pain points, buying intent, requests) and keeps the exact wording.
Can I analyze social media comments with AI without writing code?
Yes. You run two install commands once and copy one folder. After that you paste a post URL and ask in plain language, and the agent calls the tools and writes the report.
Which networks can it read comments from?
TikTok, Instagram, YouTube, Facebook and Reddit.
How many comments does it read per post?
One page, which in our tests held about 10 to 40 comments depending on the network. Facebook allows further pages. For more coverage, give the agent more posts.
Can I mine the comments on a competitor's post?
Yes. Any public post on the supported networks works: yours, a competitor's or a creator's in your niche.
What does it cost?
1 credit per page of comments and 1 credit per enriched profile. Ten posts cost 10 credits. A new account starts with 250 free reads.
Does it need my social media login?
No. It reads public data. The only credential is the SocialLens (sociallens.dev) API key in the config of the MCP server.