Repository avatar
AI Tools
v0.1.1
active

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

ToolWhat it doesNetworks
get_profileProfile + follower/subscriber counts, bio, verification, links17 networks
get_postSingle post/video metrics (likes, comments, views), caption, media16 networks
list_profile_postsRecent posts for a profile (paginated)9 networks
list_post_commentsComments on a post/video (paginated)TikTok, Instagram, YouTube, Facebook, Reddit
list_followersFollowers of a profile (paginated)TikTok
list_followingAccounts a profile follows (paginated)TikTok
searchSearch users or videos by queryTikTok, Instagram, Threads
transcribe_postTranscript/captions of a videoYouTube, TikTok, Instagram, X, Reddit, Facebook, Rumble
get_demographicsAudience demographicsTikTok
find_emailsPublic contact email(s) listed on a profileInstagram, TikTok, YouTube, X, Facebook
search_adsSearch a platform's public ad libraryFacebook, LinkedIn, TikTok, Google
check_api_keyVerify 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

VariableRequiredDefaultNotes
SOCIALLENS_API_KEYyes—Your sk_live_... key.
SOCIALLENS_API_BASEnohttps://api.sociallens.devOverride the API base URL.

Links

License

MIT © 2026 SocialLens

NPM
sociallens-mcp
Install Command
npm install sociallens-mcp
Runtime: npx