How to Give Cursor Social Media Data (MCP, 2026)

Published · 4 min read

The short version

Cursor is a coding editor with an AI that can call tools. On its own it does not know live social numbers, but you can hand it the SocialLens (sociallens.dev) API through an MCP server. After a one time setup, you ask Cursor in plain language, or tell it to use the data in the code it writes, and it reads real follower counts, post metrics and comments from 17 networks.

What Cursor can read once it is connected

You ask Cursor The tool What comes back
How many followers does this account have? get_profile Followers or subscribers, bio, verified flag
How did this post or video do? (with the URL) get_post Likes, views, comments, author, caption
List this account's recent posts list_profile_posts Recent posts with their counters
Pull comments on this post list_post_comments Public comments with author and likes
Search for accounts or videos on a topic search Matching users or videos

Profiles work on 17 networks, from Instagram, TikTok, X, YouTube and Facebook to Threads, Pinterest and Bluesky. Every tool returns the JSON of the API unchanged.

What you need

Add the server to Cursor

Open Settings, then MCP, then Add new MCP server, or edit the file ~/.cursor/mcp.json for all projects (or .cursor/mcp.json inside one project), and add:

{
  "mcpServers": {
    "sociallens": {
      "command": "npx",
      "args": ["-y", "sociallens-mcp"],
      "env": {
        "SOCIALLENS_API_KEY": "sk_live_YOUR_KEY"
      }
    }
  }
}

Cursor starts the server and lists the SocialLens tools. The key stays in the config, never in a prompt. The server is the open source SocialLens MCP package, run with npx, so there is nothing to clone or build.

Two ways to use it in Cursor

A real response

Asked for the NASA TikTok profile, the tool returns a SocialLens response like this, trimmed to the main fields:

{
  "exists": true,
  "username": "nasa",
  "platform": "tiktok",
  "verified": true,
  "followers": 2262158,
  "is_exact": true,
  "following": 23,
  "likes": 12095924,
  "videos": 70,
  "fetched_at": "2026-11-30T02:36:42Z"
}

Cursor answers with followers and can cite fetched_at as the time of the read.

What each call costs

A new account has 250 free reads. After that, credits are prepaid and never expire, starting at $19 for 8,000 reads, which is $0.0024 per read. See the pricing page.

Honest scope

Other ways to connect

Frequently asked questions

How do I give Cursor live social media data?

Add the SocialLens MCP server to Cursor in Settings, MCP, Add new MCP server, or in ~/.cursor/mcp.json, with the config block above and your key. Then ask in chat or have Cursor build the call into your code.

Does Cursor need my Instagram or TikTok login?

No. It reads public data through the SocialLens API. The only credential is your SocialLens key in the config.

Which networks can it read?

Profiles on 17 networks, including Instagram, TikTok, X, YouTube, Facebook, LinkedIn, Threads, Pinterest and Bluesky. Posts work on all except LinkedIn, and comments on TikTok, Instagram, YouTube, Facebook and Reddit.

How much does it cost?

One credit per successful read, one per page on paginated tools. Checking your key is free and errors are not charged. A new account starts with 250 free reads.

Run these requests yourself

Every example on this page is a real call to the SocialLens API. A new account starts with 250 free reads, no card needed, and a read that fails is never charged.

Keep reading