
sociallens-mcp
dev.sociallens/sociallens-mcp
Public social media data across 17 networks for AI agents: follower counts, profiles, posts.
Documentation
sociallens-mcp
Model Context Protocol (MCP) server for SocialLens. It gives MCP clients like Claude Desktop and Cursor live, public social media data from 17 networks: follower counts, profiles, posts, comments, search, ads, transcripts, public emails and demographics.
Ask your assistant "how many followers does mrbeast have on TikTok?" and it pulls the real number instead of guessing.
Requirements
- Node.js 18+
- A SocialLens API key. Create one at sociallens.dev — you get 250 free credits on signup. 1 credit per successful call; errors cost nothing.
Claude Desktop
Open Settings → Developer → Edit Config and add:
{
"mcpServers": {
"sociallens": {
"command": "npx",
"args": ["-y", "sociallens-mcp"],
"env": {
"SOCIALLENS_API_KEY": "sk_live_your_key_here"
}
}
}
}
Restart Claude Desktop. You should see the SocialLens tools appear.
Cursor
Settings → MCP → Add new MCP server, or add to ~/.cursor/mcp.json:
{
"mcpServers": {
"sociallens": {
"command": "npx",
"args": ["-y", "sociallens-mcp"],
"env": {
"SOCIALLENS_API_KEY": "sk_live_your_key_here"
}
}
}
}
Any other MCP client
Run the server over stdio with your key in the environment:
SOCIALLENS_API_KEY=sk_live_your_key_here npx -y sociallens-mcp
Tools
| Tool | What it does | Networks |
|---|---|---|
get_profile | Profile + follower/subscriber counts, bio, verification, links | 17 networks |
get_post | Single post/video metrics (likes, comments, views), caption, media | 16 networks |
list_profile_posts | Recent posts for a profile (paginated) | 9 networks |
list_post_comments | Comments on a post/video (paginated) | TikTok, Instagram, YouTube, Facebook, Reddit |
list_followers | Followers of a profile (paginated) | TikTok |
list_following | Accounts a profile follows (paginated) | TikTok |
search | Search users or videos by query | TikTok, Instagram, Threads |
transcribe_post | Transcript/captions of a video | YouTube, TikTok, Instagram, X, Reddit, Facebook, Rumble |
get_demographics | Audience demographics | TikTok |
find_emails | Public contact email(s) listed on a profile | Instagram, TikTok, YouTube, X, Facebook |
search_ads | Search a platform's public ad library | Facebook, LinkedIn, TikTok, Google |
check_api_key | Verify your key and see remaining credits (free) | — |
Supported get_profile networks: Instagram, TikTok, X, Reddit, YouTube,
Facebook, LinkedIn, Threads, Pinterest, Telegram, Bluesky, Truth Social,
Cosmos, SoundCloud, Kwai, GitHub, Spotify.
Environment variables
| Variable | Required | Default | Notes |
|---|---|---|---|
SOCIALLENS_API_KEY | yes | — | Your sk_live_... key. |
SOCIALLENS_API_BASE | no | https://api.sociallens.dev | Override the API base URL. |
Links
- Website & dashboard: https://sociallens.dev
- Integrations guide: https://sociallens.dev/agents
- API docs: https://sociallens.dev/docs
License
MIT © 2026 SocialLens
sociallens-mcpnpm install sociallens-mcp