Competitor Content Analysis with AI: A Fair Method (2026)
Last updated and tested: .
To run a competitor content analysis with AI, give your AI agent the list of competitor accounts and have it compare them by engagement rate, the interactions of a post divided by the followers of its account, instead of raw likes or views. competitor-content-research is the official agent skill of SocialLens (sociallens.dev) for that job: the agent reads the recent posts and the follower count of each account through the sociallens-mcp server, divides every post by the size of its audience and reports whose content works and what the top posts have in common. A new account starts with 250 free reads and no card.
This page covers why raw numbers mislead, how the normalization works, a real run on two public accounts, what the skill breaks down, the handle check, the setup for Claude Code and Cursor, the cost and the limits.
Raw numbers always crown the biggest account
Every brand and every agency asks the same question sooner or later: what do my competitors post that works? The usual answer is a spreadsheet of likes and views, sorted from the biggest to the smallest. That kind of social media competitor analysis has two problems:
- The biggest account wins by default. A big account can collect more likes on an ordinary post than a small account collects on its best one. A list sorted by raw numbers ranks the size of the audience, not the content.
- One viral post hides the normal. An average pulled up by a single hit says nothing about what the account gets on a regular day.
What you want from content benchmarking is something else: which account gets the most reaction out of the audience it has, and which kinds of posts do that again and again. Competitor research on social media needs two things per account for that, the posts and the follower count, and the same rules applied to every account.
Compare competitors by engagement rate
The skill makes the comparison fair with four rules.
- Engagement rate per post. The interactions of a post divided by the followers of its account, times 100. The interactions are the counters every account in the group returns: likes, comments and shares on TikTok, likes and comments on Instagram.
- The median, not the average. Each account is ranked by the median engagement rate of its sample. One viral post drags an average up and leaves a median where it was.
- The same cleaning for everyone. Pinned posts, reposts on X, collabs and posts under 72 hours old stay out of every sample, and the report says how many posts each rule removed.
- Ties are called ties. With fewer than 20 posts per account, medians within 20% of each other are a tie. The report also states the confidence: low under 10 posts, medium from 10 to 19, good from 20.
Where the posts carry views (TikTok, YouTube and X, and the videos on Instagram and Facebook), the agent also reports the view rate, the views divided by the followers. The raw medians still appear in the report, as context, so you can see the correction happen.
A smaller competitor with an engaged audience is the case this method exists for. In a raw ranking it sits at the bottom. In a ranking by engagement rate it shows up as what it is: the account whose content works.
A real run: NASA and ESA on TikTok
This run was read from the API on November 30, 2026, on two public space agency accounts. It is the picture of that day. Another day gives other numbers.
| Account | Followers | Median interactions per post | Median engagement rate |
|---|---|---|---|
| nasa | 2,262,505 | 8,179 | 0.36% |
| europeanspaceagency | 712,890 | 3,013 | 0.42% |
In raw numbers NASA looks 2.7 times ahead: a median of 8,179 likes, comments and shares per post against 3,013. NASA also has 3.2 times the followers. Divided by the audience, the lead turns into a draw: 0.36% against 0.42%. The gap between the two rates is about 17%, and on samples this small the skill calls anything within 20% a tie.
So the reading is not "NASA wins" and it is not "ESA wins". The raw gap was audience size. Post for post, the two accounts get about the same reaction from the people who follow them.
The rest of the same report:
| Account | Posts in sample | Period | Top post | Posts per week |
|---|---|---|---|---|
| europeanspaceagency | 10 | Nov 16 to Nov 26 | 2.91%, 6.9x its median | 6.3 |
| nasa | 8 | Nov 7 to Nov 21 | 5.93%, 16.4x its median | 3.7 |
- Both top posts are spikes. At 6.9 and 16.4 times the median, neither is the account's normal. A ranking built on the best post of each account would have crowned NASA on one video.
- ESA posted more often. 6.3 posts per week against 3.7 in the period.
- The cleaning mattered. On NASA, 1 pinned post and 1 collab were left out of the sample.
- Confidence is modest. 8 posts is a low confidence sample and 10 is a medium one. The report says so.
What the skill breaks down
A ranking alone does not tell you what to make next. The agent also reads how each account gets its numbers, using only what the data carries.
| What | How it is read |
|---|---|
| Format | Video against photo or text. On Instagram and Facebook, videos carry views. On TikTok the URL says video or photo. On YouTube the data cannot tell a Short from a long video. A format needs at least 3 posts to get its own median |
| Posting frequency | Posts per week, from the dates of the oldest and the newest post in the clean sample |
| Consistency | The median engagement rate, plus the top post divided by the median. At 5x or more the top post is a spike |
| Size | When one account has 10 times the followers of another, the report says so next to the ranking, because the rate usually falls as an account grows |
| Recurring patterns | The top 3 posts of each account are read by caption or title, and what repeats is grouped: format, theme, first line, length, call to action |
The most consistent account is the one with the highest median: its normal post performs, not only its best one. No account is crowned on its top post.
A recurring pattern needs at least 3 posts behind it, listed with their links, and it is labeled an observation from this sample, not a proven cause. The data carries the caption or the title, not the video, so the agent tells you to watch the top posts yourself for the opening seconds. The patterns are ideas to adapt, not text to copy.
The handle check
A competitor analysis starts with a list of handles, and a wrong handle is the cheapest way to ruin it. When we tested the skill on TikTok, several handles spelled exactly like well-known organizations turned out to be empty accounts with 0 posts. An empty account is still a successful read, so it is charged like any other, and without a check it would sit in the table as a competitor with no engagement.
The skill tells the agent to never guess a handle and to distrust any account that comes back with:
existsfalse or a feed with 0 postsverifiedfalse on what should be a known brand- a follower count far too small for the brand
That account stays out of the comparison and the agent asks you for the right handle. The coverage line of the report lists what was not found.
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 run the comparison. 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/competitor-content-research and copy the folder into the skills folder of your agent. The folder must be named competitor-content-research and hold the SKILL.md file.
| Agent | All your projects | One project |
|---|---|---|
| Claude Code | ~/.claude/skills/competitor-content-research/ |
.claude/skills/competitor-content-research/ |
| Cursor | ~/.cursor/skills/competitor-content-research/ |
.cursor/skills/competitor-content-research/ |
| Codex | ~/.agents/skills/competitor-content-research/ |
.agents/skills/competitor-content-research/ |
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: a list of accounts, one request
Ask your agent in plain language, with the handles of the accounts in place of ACCOUNT_1, ACCOUNT_2 and ACCOUNT_3. These are the example requests from the README of the skill:
- "Compare the content of these accounts on TikTok: ACCOUNT_1, ACCOUNT_2 and ACCOUNT_3."
- "What is working for our competitors on Instagram? The list is ACCOUNT_1, ACCOUNT_2 and ACCOUNT_3."
- "How does our account compare with these 3 competitors on YouTube?"
Add your own account to the list when you want to see where you stand.
This is what the agent does next:
- States the cost and asks before a run passes 10 calls, which is 5 accounts.
- Reads every account. One
get_profile_postscall and oneget_profilecall per account. The calls can run in parallel. - Checks the handles and leaves the wrong ones out.
- Cleans every sample with the same rules.
- Normalizes every post by the followers of its account.
- Ranks the accounts by median engagement rate and calls the ties.
- Breaks it down by format, posting frequency and consistency, and groups what repeats in the top posts.
The report comes in markdown, with one section per network:
- Coverage: the accounts, the calls, what was not found and the credits spent
- one table per network with the posts in the sample, the period, the followers, the median engagement rate and the top post of each account
- posts per week, the share of videos, the median view rate and the raw medians as context
- Top posts overall: the 5 to 10 best posts by engagement rate
- Recurring patterns in the top posts, each with the posts behind it
- Most consistent account, with the ties stated
That is the answer to what competitors post that works: not the loudest account, but the posts that got the most out of the audience they had.
Where it sits in the chain
This skill compares accounts. Four other official skills cover the steps around it, on the same MCP server.
- Was a competitor's top post an outlier or its normal? outlier-post-finder measures each post against the median of its own profile and checks it against the follower count. See Find Viral Posts of Any Creator with an AI Agent.
- What did the audience love about it? comment-mining reads the comments of that post and answers in the words of the audience. It works on TikTok, Instagram, YouTube, Facebook and Reddit. See Voice of Customer from Social Media Comments.
- Want the portrait of one competitor? social-profile-snapshot gives the audience, the posting frequency, the engagement rate and a one line verdict for a single account. See Social Media Profile Analysis with an AI Agent.
- Want the formula of one competitor? creator-profile-teardown splits the top posts of one account from its typical ones and reports the traits that repeat. See Content Formula of Any Creator.
What it costs
- 2 credits per account: one page of posts and one profile read. Five accounts cost 10 credits.
- Facebook costs more. One page holds 3 posts there, so a 20 post sample takes 7 pages per account. The agent tells you the cost before it runs.
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 |
|---|---|---|
| 2 accounts on one network | 4 | $0.0095 |
| 5 accounts on one network | 10 | $0.024 |
| 10 accounts on one network | 20 | $0.048 |
| 5 accounts on 3 networks | 30 | $0.071 |
| 5 accounts, once a week for 4 weeks | 40 | $0.095 |
The table uses the exact Starter rate, $19 divided by 8,000 reads.
Honest scope
- It compares a list you already have. The skill does not find competitors. There is no search tool, so the handles come from you.
- Same network only. Accounts are compared inside one network, because the counters do not mean the same thing across networks. Across networks only the counters both return can be compared, and only roughly.
- LinkedIn stays out of the performance comparison. The post list comes with the counters hidden.
- Reddit is compared on raw medians only. There is no follower count in this data, so there is no engagement rate, and the report says the numbers are not normalized. The feed is not in date order, so there is no posting frequency either.
- Pinterest has no posting frequency. The posts come without dates, and they are read from the URL of a board.
- YouTube rates are approximate. YouTube publishes rounded subscriber counts.
- The sample is one page. 10 posts on TikTok, 12 on Instagram, 15 on Threads, 20 on X and 30 on YouTube. Small samples give low or medium confidence, and small gaps are ties.
- The follower count is the one of today. The counters keep moving. The numbers are the ones at the time of the read.
- A pattern is an observation, not a cause. The data has captions, titles, dates and counters. It does not have the video.
- Public data, read only. No login to any social network, nothing private, no posting.
Frequently asked questions
How do I run a competitor content analysis with AI?
Connect the MCP server, add the skill and give your agent the list of accounts with the network. It reads the recent posts and the follower count of each account, compares them by engagement rate and writes the report.
Why not compare competitors by likes or views?
Because raw numbers follow the size of the audience. In our run NASA had 2.7 times the median interactions of ESA on TikTok and 3.2 times the followers. Per follower the two were level.
How is the engagement rate calculated?
The interactions of a post divided by the followers of its account, times 100. Each account is then ranked by the median of its posts, not the average.
Is the account with the highest rate making the best content?
Not always. The rate usually falls as an account grows, a small gap on a small sample is a tie, and a top post can be a spike. The report states all three.
Can it find my competitors for me?
No. It compares a list you already have. There is no search tool.
Can I compare accounts on different networks?
Only roughly. The counters do not mean the same thing across networks, so the report has one section per network and never puts accounts of different networks in the same table.
Which networks does it work on?
TikTok, Instagram, YouTube, X, Threads and Facebook, with a partial comparison on Pinterest (no posting frequency) and Reddit (raw medians only). LinkedIn stays out of the performance comparison.
What does it cost?
2 credits per account: one page of posts and one profile read. Five accounts 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.