
Social Media Data API: Posts, Profiles, Comments, Search and Mentions MCP Server
Social listening and mentions: posts, search, comments, profiles, 10 platforms. Pay per call (x402)
Social Media Data API: Posts, Profiles, Comments, Search and Mentions scores 63 (Good), licensed MIT and written in TypeScript. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Search. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
63 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 63 comes from
22 + 20 + 0 + 10 + 4 + 7 = 63. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "social-social-media-data": { "url": "https://social.duoleads.com/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
x402-social-media-data
Social media data API for AI agents: social listening and research across X (Twitter), Reddit, TikTok, Instagram, YouTube, Threads, Facebook ads, LinkedIn, Bluesky and Hacker News. Public posts, profiles, comments, video transcripts, cross-platform search and mentions in one shared schema. 26 routes, $0.01 to $0.025 per call, paid per request with x402 (USDC on Base). No API key, no signup.
This is the TypeScript client for https://social.duoleads.com. It is also part of duo-data-utilities (as client.social); this package has the social client only.
Install
npm install x402-social-media-data viem
viem creates the wallet account that pays. Node.js 20 or later.
Python: pip install x402-social-media-data (the same client in snake_case; source in python/).
Quick start
import { privateKeyToAccount } from "viem/accounts";
import { createClient } from "x402-social-media-data";
// Your wallet holds USDC on Base. Read the key from the environment, never a literal.
const client = createClient({ account: privateKeyToAccount(process.env.PAYER_KEY as `0x${string}`) });
const bsky = await client.blueskySearch({ q: "open source", limit: 10 }); // $0.01
const hn = await client.hackernewsSearch({ q: "x402" }); // $0.01
const tweets = await client.xSearch({ q: "nasa" }); // $0.02
const all = await client.socialSearch({ q: "open source" }); // $0.025, several platforms at once
Each method sends one GET, pays the 402 challenge with your wallet and resolves to the JSON answer; paged routes return next_cursor for the next call. client.callWithReceipt(path, params) also returns the settlement receipt (transaction hash).
Price guard
Before anything is signed, the client checks the payment requirement: Base USDC only, only to the service's address 0xCD673f7e1daD254347AEab6be0DEFe8b9C6b3A39, and never above the cap. By default each route is capped at its own listed price; createClient({ account, maxPriceUsd: 0.01 }) allows the $0.01 routes only. A refused call signs nothing and throws PriceGuardError. The client never retries a paid call on its own.
Errors and charges
A bad input is answered free with a 400; not found or no match is not charged. Errors throw DuoApiError with code, param, expected and requestId.
Routes
| Method | Route | Price | MCP tool | What it returns |
|---|---|---|---|---|
client.blueskySearch | GET /v1/bluesky/search | $0.01 | bluesky_search | Bluesky post search |
client.blueskyPosts | GET /v1/bluesky/posts | $0.01 | bluesky_posts | Bluesky account feed |
client.blueskyProfile | GET /v1/bluesky/profile | $0.01 | bluesky_profile | Bluesky profile |
client.hackernewsSearch | GET /v1/hackernews/search | $0.01 | hackernews_search | Hacker News search |
client.hackernewsThread | GET /v1/hackernews/thread | $0.01 | hackernews_thread | Hacker News thread |
client.socialMentions | GET /v1/social/mentions | $0.01 | social_mentions | Social mentions and sentiment (aggregate) |
client.xSearch | GET /v1/x/search | $0.02 | x_search | X (Twitter) post search |
client.xPosts | GET /v1/x/posts | $0.02 | x_posts | X (Twitter) user timeline |
client.xProfile | GET /v1/x/profile | $0.02 | x_profile | X (Twitter) profile |
client.redditSearch | GET /v1/reddit/search | $0.02 | reddit_search | Reddit post search |
client.redditComments | GET /v1/reddit/comments | $0.02 | reddit_comments | Reddit post comments |
client.tiktokVideos | GET /v1/tiktok/videos | $0.02 | tiktok_videos | TikTok account videos |
client.tiktokSearch | GET /v1/tiktok/search | $0.02 | tiktok_search | TikTok video search |
client.instagramProfile | GET /v1/instagram/profile | $0.02 | instagram_profile | Instagram profile and posts |
client.youtubeTranscript | GET /v1/youtube/transcript | $0.02 | youtube_transcript | YouTube transcript |
client.youtubeComments | GET /v1/youtube/comments | $0.02 | youtube_comments | YouTube video comments |
client.threadsPosts | GET /v1/threads/posts | $0.02 | threads_posts | Threads account posts |
client.facebookAds | GET /v1/facebook/ads | $0.02 | facebook_ads | Meta Ad Library search |
client.socialSearch | GET /v1/social/search | $0.025 | social_search | Social search on X, Reddit and TikTok |
client.socialAudience | GET /v1/social/audience | $0.02 | social_audience | Audience and engagement stats |
client.socialAccounts | GET /v1/social/accounts | $0.02 | social_accounts | Creator and brand account search |
client.linkedinCompany | GET /v1/linkedin/company | $0.02 | linkedin_company | LinkedIn company page |
client.socialPeople | GET /v1/social/people | $0.02 | people_search | Profile search (TikTok, Instagram, Threads) |
client.tiktokFollowers | GET /v1/tiktok/followers | $0.02 | tiktok_followers | TikTok followers list |
client.tiktokFollowing | GET /v1/tiktok/following | $0.02 | tiktok_following | TikTok following list |
client.linkedinProfile | GET /v1/linkedin/profile | $0.02 | linkedin_profile | LinkedIn profile |
SOCIAL_ROUTES holds this table as data (path, MCP tool, price).
Responsible use
Answers are third parties' public data. Read the service's terms and privacy notice before you use them. Do not use the data to profile, target or train AI on individuals. Not affiliated with or endorsed by any platform.
MCP and plain HTTP
The same 26 tools are a paid MCP server at https://social.duoleads.com/mcp (Streamable HTTP; tools/list is free). Every route also works without this package: an unpaid request returns 402 Payment Required with a PAYMENT-REQUIRED header, and any x402 v2 client can pay it.
Links
- Docs: https://social.duoleads.com/docs
- OpenAPI: https://social.duoleads.com/openapi.json
- Machine-readable index: https://social.duoleads.com/llms.txt
- Terms: https://social.duoleads.com/terms
- Privacy: https://social.duoleads.com/privacy
- Listed on PayAPI Market (settlement-verified): https://payapi.market/api/social-media-data-api
Source
Source: github.com/hiesem/x402-social-media-data is a generated mirror of this package from the duo-data-utilities monorepo (packages/x402-social-media-data); issues are welcome in either repository.
License
MIT. See LICENSE.
Frequently asked questions
What is Social Media Data API: Posts, Profiles, Comments, Search and Mentions MCP Server?
Social listening and mentions: posts, search, comments, profiles, 10 platforms. Pay per call (x402)
How do I install Social Media Data API: Posts, Profiles, Comments, Search and Mentions MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Social Media Data API: Posts, Profiles, Comments, Search and Mentions MCP Server connects to the remote endpoint https://social.duoleads.com/mcp, so there is nothing to install locally.
Is Social Media Data API: Posts, Profiles, Comments, Search and Mentions MCP Server free and open source?
Yes. Social Media Data API: Posts, Profiles, Comments, Search and Mentions MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Social Media Data API: Posts, Profiles, Comments, Search and Mentions MCP Server support remote (HTTP) connections?
Yes. Social Media Data API: Posts, Profiles, Comments, Search and Mentions MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
How is Social Media Data API: Posts, Profiles, Comments, Search and Mentions MCP Server's trust score calculated?
Social Media Data API: Posts, Profiles, Comments, Search and Mentions MCP Server scores 63 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.