Socialbridge Mcp

io.github.IsaiahDupree由 GitHub 账号 IsaiahDupree 发布v1.0.0更新于 Oct 24, 2026

Unified social-media data across 10 networks: profiles, posts, search, comments, cross-search.

已验证Streamable HTTP可网页运行网页搜索与抓取数据与分析

概览

AI 生成的概览

一个远程 MCP 连接器,让助手以统一格式只读访问九个社交网络的公开账号资料、帖子、搜索结果和评论。

可以做什么
按平台获取单个账号的资料,或该账号最近的帖子,返回带平台标记的统一结构。在单个网络内搜索帖子,或把一次查询并行分发到所有免密钥网络并合并结果。读取某条帖子的评论与回复,并按短码或链接获取单条 Threads 帖子及其回复。按用户、子版块或关键词拉取 Reddit 全量历史,以及创作者公开的 Snapchat Spotlight 动态。列出 YouTube 字幕语言与片段,并在配置凭据后查询 Meta 广告库记录。
适用场景
适合需要公开社交媒体数据的场景,例如账号与网红调研、跨平台话题搜索、评论阅读、Reddit 历史或广告库查询,而无需自行对接各平台 API。它属于免费发现层,重度或生产使用预期应转向付费上游服务。
运行要求
以远程 streamable-HTTP 端点运行,MCP 侧无需本地运行时、账号或登录。服务器自身需要运营方设置环境变量 SOCIALBRIDGE_MCP_PROXY_SECRET 以通过上游校验,可选设置 SOCIALBRIDGE_MCP_API_BASE_URL 与 SOCIALBRIDGE_MCP_RATE_LIMIT。部分网络(Instagram、Twitter/X、Reddit、Facebook)及 Facebook 广告工具需要运营方凭据,否则返回 credentials_required。
安装前请注意
所有工具均为只读并返回公开元数据,但每次调用都会转发到第三方计量上游,查询与结果会离开助手所在环境。存在按 IP 的软限制(默认每小时 30 次工具调用)。受限网络与广告工具在运营方设置凭据前会返回 credentials_required;LinkedIn 已停用。数据准确性完全取决于上游服务。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Socialbridge Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.IsaiahDupree%2Fsocialbridge-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "socialbridge": {
      "type": "http",
      "url": "https://socialbridge-mcp.vercel.app/mcp"
    }
  }
}

README

socialbridge-mcp

A remote MCP (Model Context Protocol) connector for SocialBridge API — unified social-media data behind one /v1 contract across nine networks (Instagram, TikTok, YouTube, Twitter/X, Reddit, Facebook, Pinterest, Snapchat, Threads; LinkedIn is registered but quarantined). Every network exposes the same four operations — profile, posts, search, comments — returning one flat schema (Profile / Post / Comment) tagged with platform, plus a cross-platform superset (search_all) and a few platform-specific extras.

Live: https://socialbridge-mcp.vercel.app/mcp — 10 tools. Since the upstream SocialBridge deployment is metered (RapidAPI/Apify) and gates every /v1/* route behind a RapidAPI proxy-secret guard, this connector authenticates its own outbound calls with that same secret (SOCIALBRIDGE_MCP_PROXY_SECRET, sent as the X-RapidAPI-Proxy-Secret header) and applies a soft per-IP rate limit (SOCIALBRIDGE_MCP_RATE_LIMIT, default 30 tool-calls/hour, in-memory) so the free MCP tier stays a discovery channel rather than an unmetered bypass of the paid listing — see lib/ratelimit.js.

What this is, and why it's a separate connector

SocialBridge API is a plain REST API. Any HTTP client can already call it directly. This repo exists because MCP clients (Claude, ChatGPT, and other MCP-aware agents) don't consume arbitrary REST APIs — they consume MCP tools. socialbridge-mcp is a thin adapter layer that:

  • Exposes each SocialBridge endpoint as a discoverable, typed MCP tool (name, description, zod input schema, annotations) that an LLM can reason about and call directly.
  • Speaks the MCP streamable-HTTP transport at a single /mcp endpoint, so it registers as a connector in Claude, ChatGPT, or any other MCP client with one URL.
  • Does nothing else. Every tool call is a pass-through fetch to SocialBridge, and the JSON response is handed back verbatim as the tool result.

Authentication: None on the MCP side (deliberate)

SocialBridge's data has no per-user dimension — it's public social-media metadata (profiles, posts, search results, comments). There is nothing to gate per-caller, so this connector ships with no OAuth, no login, no Supabase, no billing, no demo-vs-real split — every caller gets the same real, live data. api/mcp.js builds a fresh, stateless McpServer per request.

The connector still authenticates its own outbound calls to the metered upstream (see below) — that is a server-to-server detail invisible to MCP callers, not per-caller auth.

Tools

One tool per real SocialBridge /v1 route (from social-api/openapi.yaml + src/routes.js):

ToolSocialBridge endpointDescription
social_profileGET /v1/{platform}/profileOne account profile as the unified Profile schema.
social_postsGET /v1/{platform}/postsAn account's recent posts as the unified Post[].
social_searchGET /v1/{platform}/searchSearch one network for posts (unified Post[]).
social_commentsGET /v1/{platform}/commentsComments/replies on a post (unified Comment[]).
search_allGET /v1/search/allFan one query across every network in parallel, merged.
reddit_historyGET /v1/reddit/historyKeyless Reddit full-history pull (Arctic Shift).
facebook_adsGET /v1/facebook/adsMeta Ad Library records as the unified Ad[] (gated).
youtube_transcriptGET /v1/youtube/transcriptCaption-language list / cue segments for a video.
threads_postGET /v1/threads/postA single thread by shortcode or URL, with replies.
snapchat_spotlightGET /v1/snapchat/spotlightA creator's public Spotlight feed (unified Post[]).

platform is an enum of instagram, tiktok, youtube, twitter, reddit, facebook, pinterest, snapchat, threads, linkedin. Keyless platforms return real data with no setup; gated platforms return an honest credentials_required and LinkedIn returns platform_disabled — nothing is ever faked.

All 10 tools are read-only and annotated { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }.

Environment variables

VarDefaultPurpose
SOCIALBRIDGE_MCP_API_BASE_URLhttps://social-api-olive.vercel.appUpstream SocialBridge base URL (override for local/self-hosted testing).
SOCIALBRIDGE_MCP_PROXY_SECRET(unset)RapidAPI proxy secret, sent outbound as X-RapidAPI-Proxy-Secret to pass the upstream /v1/* guard. Without it the upstream returns 403 and tools surface it honestly.
SOCIALBRIDGE_MCP_RATE_LIMIT30Soft per-IP cap on tools/call per hour (in-memory, per serverless instance).

This is a free discovery tier over the metered SocialBridge API — heavy users should go through the paid RapidAPI/Apify listings.

How it wraps social-api

Each tool handler does a plain fetch(\${SOCIALBRIDGE_MCP_API_BASE_URL}${path}`, ...)(with theX-RapidAPI-Proxy-Secret` header when configured) against the real SocialBridge REST API and returns the parsed JSON as MCP tool-result content:

js
{ content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }

Upstream HTTP errors (4xx/5xx) are caught and surfaced as a typed MCP error result via an asError helper rather than crashing the request.

Local development

bash
npm installnode local-server.js &                       # serves /mcp and /health on :3900SOCIALBRIDGE_MCP_PROXY_SECRET=... npm run smoke   # real end-to-end smoke test

来源:README.md,提交 ba7ca4c

工具

10

social_profile

Get a social profile

Fetch one account profile from any supported network as the unified Profile schema (id, username, displayName, bio, url, followers, following, postCount, verified, avatarUrl, externalUrl), tagged with its platform. Keyless on Instagram, TikTok, YouTube, Pinterest, Snapchat, and Threads. Twitter/X, Reddit, and Facebook need operator-side credentials (returns credentials_required until set); LinkedIn is quarantined (platform_disabled).

输入参数platform必填username必填

social_posts

Get an account's recent posts

An account's recent posts / videos / tweets / threads / pins as the unified Post[] schema (id, url, author, text, createdAt, like/comment/share/view counts, mediaType, mediaUrls, hashtags), tagged with its platform. Keyless on Instagram, TikTok, YouTube, Pinterest, Snapchat, and Threads. Twitter/X, Reddit, and Facebook need operator-side credentials; LinkedIn is quarantined. For a keyless Reddit history pull use reddit_history.

输入参数limitcursorplatform必填username必填

social_comments

Get comments / replies on a post

Comments / replies on one post as the unified Comment[] schema, tagged with its platform. Provide url OR postId. Keyless on TikTok, YouTube, and Threads (and a single tweet via syndication on Twitter/X). Instagram, Reddit, and Facebook need operator-side credentials; Snapchat comments are not supported keyless; LinkedIn is quarantined.

输入参数urllimitcursorpostIdplatform必填

search_all

Search every network at once

The wedge no incumbent offers: fan one search query out across the requested platforms (default: all keyless, non-disabled) in parallel, merge the unified Post[], and tag each result with its platform. Gated / disabled / unsupported / throttled engines are listed under "skipped" with an honest reason — the call still returns whatever came back.

输入参数q必填limitplatforms

reddit_history

Reddit full history (keyless)

Keyless full-history pull via Arctic Shift — a user's or subreddit's posts, or a keyword search across Reddit history, returned as the unified Post[]. Provide at least one of username, subreddit, or q. Optional before/after bound the window by epoch-seconds or ISO timestamp.

输入参数qafterlimitbeforeusernamesubreddit

facebook_ads

Facebook / Meta Ad Library

Meta (Facebook/Instagram) Ad Library records as the unified Ad[] (id, pageName, adCreativeBody, adSnapshotUrl, startDate, currency, spend + impression ranges). Provide q OR pageId. GATED — needs operator-side FACEBOOK_ACCESS_TOKEN (with ads_read); returns credentials_required until set.

输入参数qlimitpageIdcountry

youtube_transcript

YouTube transcript / caption languages

Available caption-language list (and cue segments where retrievable) for a YouTube video. Provide url OR videoId. Keyless. NOTE: actual cue text is BotGuard-gated keyless, so it is reported honestly (available:false, empty segments) rather than fabricated.

输入参数urllangvideoId

threads_post

Threads post by shortcode

Fetch a single thread by shortcode or URL, including its replies, as the unified Post (with replies). Provide code OR url. Keyless.

输入参数urlcode

snapchat_spotlight

Snapchat creator Spotlight feed

A creator's public Snapchat Spotlight feed as the unified Post[] with real view/comment/share counts. Keyless.

输入参数limitusername

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。