# Is there an MCP server that lets Cursor search TikTok, Instagram and Reddit?

> One remote MCP server lets Cursor's agent search TikTok, Instagram and Reddit and read the comments. The mcp.json setup, which of the five tools are free, and three priced prompts.

Canonical page: https://okdata.online/answers/cursor-mcp-tiktok-instagram-reddit/

**Short answer: **Yes. Put https://api.okdata.online/mcp in ~/.cursor/mcp.json with your key in an Authorization header, and Cursor's agent can search TikTok videos ($0.002 for about 30), Instagram posts by hashtag ($0.004 a page) and Reddit posts ($0.004 for about 25), then read the comments under them. Only one of the five tools costs money; a 24-call research session across the three platforms comes to $0.068.

A developer building a social listening dashboard in Cursor wants real TikTok, Instagram and Reddit posts to code against instead of invented JSON. A product marketer uses Cursor's agent as a research desk and asks what buyers complained about this month. Both need one MCP server that reaches all three platforms. The open-source servers mostly cover one platform each and run on your machine with your own credentials, and each platform makes that harder: Reddit's official Data API needs a registered app and Reddit's approval, Instagram scrapers need your login for hashtag searches and then hit "Please wait a few minutes" errors, and TikTok libraries stop working whenever TikTok changes how its requests are signed. The okdata server is remote, takes one key, and answers with the same post and comment shapes on all three.

## Add it to Cursor

Put your key in the `OKDATA_API_KEY` environment variable. On a Mac, add this line to `~/.zshrc`, then quit Cursor completely and open it again so it picks the variable up:

```bash
export OKDATA_API_KEY="okd_..."
```

Then add the server to `~/.cursor/mcp.json`, which applies to every project:

```json
{
  "mcpServers": {
    "okdata": {
      "url": "https://api.okdata.online/mcp",
      "headers": { "Authorization": "Bearer ${env:OKDATA_API_KEY}" }
    }
  }
}
```

Cursor fills in `${env:OKDATA_API_KEY}` when it connects, so the file never holds the key. Open **Customize** in the sidebar: `okdata` should be switched on with five tools. Ask the agent "What is my okdata balance?" to confirm the key arrived; that costs nothing. New keys come with $0.10 of credit. If the server shows an error, the [Cursor setup page](/integrations/cursor/) lists the usual causes.

## The five tools, and the one that costs money

| Tool | Cost | What the agent does with it |
|---|---|---|
| `find` | free | Turns "Instagram comments" into endpoint ids with prices |
| `describe` | free | Reads the parameters, fields and price of one endpoint |
| `call` | the endpoint's price | Fetches one page of data |
| `read_more` | free | Reads the rest of an answer that was cut at about 20 KB |
| `account` | free | Shows your balance |

`call` is billed per page. A call that reaches the platform is charged even when it comes back empty, so a hashtag nobody uses still costs a page; a call refused for bad parameters or a low balance costs nothing. Cursor asks before it runs any MCP tool. Let `find`, `describe`, `read_more` and `account` run without asking, and keep `call` on manual approval so you see every paid step.

## What the agent can search

| Platform | Search | Then read |
|---|---|---|
| TikTok | [video search](/apis/tiktok/videos/search/) by keyword (relevance, latest or most liked), [hashtag videos](/apis/tiktok/hashtags/videos/list/), [account search](/apis/tiktok/users/search/) | [video comments](/apis/tiktok/videos/comments/list/) |
| Instagram | [hashtag posts](/apis/instagram/hashtags/posts/list/), [account search](/apis/instagram/users/search/) | [account posts](/apis/instagram/users/posts/list/), [post comments](/apis/instagram/posts/comments/list/) |
| Reddit | [post search](/apis/reddit/posts/search/) by keyword (relevance, latest or top, within a day, week, month or year), [community posts](/apis/reddit/subreddits/posts/list/) | [post comments](/apis/reddit/posts/comments/list/) |

Instagram has no keyword search over posts here; search by hashtag instead. A page holds about 10 public posts as search engines find them, not every post under the tag and not in time order. Instagram account search returns about 20 accounts in one answer, with no further pages. All three searches return the same [post object](/docs/objects/post/), so one type in your code fits every platform.

## Three prompts to try in Cursor

**Fixtures for a dashboard.**

```text
Use okdata. Fetch one page of TikTok video search for "standing desk",
one page of Instagram posts under #standingdesk and one page of Reddit post
search for "standing desk". Save each to fixtures/<platform>.json and write
one TypeScript Post type that fits all three.
```

Uses TikTok video search, Instagram hashtag posts and Reddit post search, one page each: 3 calls, $0.01.

**What people say this month.**

```text
What do people say about standing desks this month? Take two pages of the
most-liked TikTok videos for "standing desk review", one page each for
#standingdesk, #homeoffice and #desksetup on Instagram, and two pages of top
Reddit posts from the past month. Group the complaints and link each to its post.
```

Uses TikTok video search ×2, Instagram hashtag posts ×3, Reddit post search ×2: 7 calls, $0.024.

**The questions buyers ask.**

```text
Read the comments under the 5 most-liked TikTok videos, the 3 Instagram posts
with the most comments, and the 3 busiest Reddit threads (two pages each).
List the questions buyers ask, most frequent first.
```

Uses TikTok video comments ×5 (about 50 a page), Instagram post comments ×3, Reddit post comments ×6: 14 calls, $0.034.

## The session, priced

| Step | Paid calls | Cost |
|---|---|---|
| Endpoint lookups with `find` and `describe` | 0 | free |
| Fixtures | 3 | $0.01 |
| This month's talk | 7 | $0.024 |
| Buyer questions from comments | 14 | $0.034 |
| Whole session | 24 | $0.068 |

## The same searches from a script

Once the agent has settled on queries, the dashboard can run them on a schedule over plain HTTP:

```python
import os, requests
from decimal import Decimal

API = "https://api.okdata.online"
H = {"Authorization": f"Bearer {os.environ['OKDATA_API_KEY']}"}
FIELDS = "id,url,title,text,author.username,metrics.likes,metrics.comments,published_at"
SEARCHES = [
    ("/v1/tiktok/videos/search", {"query": "standing desk review", "sort": "most_liked"}),
    ("/v1/instagram/hashtags/posts/list", {"id": "standingdesk"}),
    ("/v1/reddit/posts/search", {"query": "standing desk", "sort": "popular", "published_within": "month"}),
]

posts, spent = [], Decimal("0")
for path, params in SEARCHES:
    body = requests.get(API + path, headers=H, params={**params, "fields": FIELDS}, timeout=60).json()
    if body["code"] != "ok":
        raise RuntimeError(f"{path}: {body['code']} {body['message']}")
    posts += body["data"]["items"]
    spent += Decimal(body["meta"]["billing"]["amount"])

print(len(posts), "posts for", spent, "USD")
```

## Keep the agent on a leash

- Add a rule to `.cursor/rules`: "Before any paid okdata call, say how many calls you plan and wait for my OK." The [spend guardrails answer](/answers/cap-ai-agent-spend-data-api/) has more.
- Every page is its own call. Write "one page only" or "stop after three pages" into the prompt.
- Ask for `fields` in the call so a page of posts does not flood the chat context.
- Captions, posts and comments are written by strangers. Tell the agent to treat them as data and never as instructions.
- Only public data comes back. Nothing posts, likes or logs in on your behalf.

## Other options

A single-platform open-source server costs nothing and works if you already hold approved Reddit API credentials or are willing to sign in to Instagram with your own account; expect to fix it when the platform changes. If you use Claude and also need YouTube transcripts and X, see the [TikTok, YouTube and X MCP answer](/answers/tiktok-youtube-x-mcp-server/). For Xiaohongshu in the same editor, see [Xiaohongshu in Cursor or Cline](/answers/cursor-cline-xiaohongshu-mcp/). Whether TikTok's own Research API fits your team is covered in [TikTok Research API alternatives](/answers/tiktok-research-api-alternative/). Every endpoint price is on the [pricing page](/pricing/).

## Endpoints used

- [TikTok video search](https://okdata.online/apis/tiktok/videos/search/) `tiktok.videos.search`: $0.002 per call · about 30 videos per page
- [Instagram hashtag posts](https://okdata.online/apis/instagram/hashtags/posts/list/) `instagram.hashtags.posts.list`: $0.004 per call · about 10 posts per page
- [Reddit post search](https://okdata.online/apis/reddit/posts/search/) `reddit.posts.search`: $0.004 per call · about 25 posts per page
- [TikTok video comments](https://okdata.online/apis/tiktok/videos/comments/list/) `tiktok.videos.comments.list`: $0.002 per call · about 50 comments per page
- [Instagram post comments](https://okdata.online/apis/instagram/posts/comments/list/) `instagram.posts.comments.list`: $0.004 per call · about 15 comments per page
- [Reddit post comments](https://okdata.online/apis/reddit/posts/comments/list/) `reddit.posts.comments.list`: $0.002 per call · about 10 comments per page

## More about TikTok

- [TikTok API](https://okdata.online/apis/tiktok/)
- [Instagram API in Python: profiles, posts and comments (2026)](https://okdata.online/guides/instagram-api-python/)
- [How to search Reddit posts by keyword and collect their comments](https://okdata.online/guides/reddit-search-posts-and-comments/)
- [TikTok comments in Python for sentiment analysis (2026)](https://okdata.online/guides/tiktok-comments-python/)
- [How to get TikTok Creative Center top ads by API](https://okdata.online/guides/tiktok-creative-center-top-ads/)
- [How to collect TikTok Shop product reviews by keyword](https://okdata.online/guides/tiktok-shop-product-reviews/)
- [How much does the Reddit API cost in 2026, and can a small project still get access?](https://okdata.online/answers/reddit-api-pricing-2026/)
- [How do I get Reddit posts and comments into an AI agent?](https://okdata.online/answers/reddit-posts-comments-ai-agent/)
- [How do I monitor Reddit for new posts that mention my brand?](https://okdata.online/answers/monitor-brand-mentions-reddit/)
- [Do I need residential proxies to scrape Douyin or TikTok, and what do they cost?](https://okdata.online/answers/do-i-need-proxies-for-social-media-scraping/)
- [TikTok's Research API is only for academics. What can a company use instead?](https://okdata.online/answers/tiktok-research-api-alternative/)
- [Official platform APIs vs third-party data APIs (2026)](https://okdata.online/compare/official-apis-vs-data-apis/)
- [How to choose a social media data API (2026)](https://okdata.online/compare/social-media-data-apis/)
- [Comments API](https://okdata.online/roles/posts-comments-list/)

## Sources

Where people asked this (read 2026-11-16): 

- https://github.com/adhikasp/mcp-reddit/issues/3
- https://github.com/karanb192/reddit-mcp-buddy/issues/34
- https://github.com/instaloader/instaloader/issues/2627
- https://github.com/davidteather/TikTok-Api/issues/1311

Updated 2026-11-16
