Socialcrawl

Socialcrawl

Access 21+ real-time social media data from a single API

Category
访问服务器

README

<div align="center">

socialcrawl-mcp

Give your AI agent access to 21 social media platforms through a single API

npm MCP Registry Platforms Endpoints License: MIT mcp MCP server

<a href="https://glama.ai/mcp/servers/socialcrawl/mcp"> <img width="380" src="https://glama.ai/mcp/servers/socialcrawl/mcp/badges/card.svg" alt="Socialcrawl MCP server" /> </a>

Overview | Installation | Setup | Usage | Tools | Platforms

</div>


Overview

socialcrawl-mcp is an MCP (Model Context Protocol) server that connects AI agents to the SocialCrawl API — a unified social media data API covering 21 platforms and 108 endpoints.

Retrieve profiles, posts, comments, search results, trending content, and analytics from TikTok, Instagram, YouTube, Twitter/X, LinkedIn, Reddit, and 15 more platforms. One API key, one consistent response format, every platform.

What the MCP server does:

  • Discovers available platforms and endpoints dynamically
  • Fetches live social media data on your behalf
  • Validates requests locally before making API calls (saves credits)
  • Provides built-in API documentation the agent can query on demand

Installation

npm

npm install -g socialcrawl-mcp

Available on npm. Most users don't need this — the MCP client configs below use npx and auto-install on first run.

Claude Code (quickest)

claude mcp add --scope user socialcrawl -- npx -y socialcrawl-mcp

Then set your API key:

claude mcp add-env socialcrawl SOCIALCRAWL_API_KEY sc_your_key_here

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "socialcrawl": {
      "command": "npx",
      "args": ["-y", "socialcrawl-mcp"],
      "env": {
        "SOCIALCRAWL_API_KEY": "sc_your_key_here"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project root or ~/.cursor/mcp.json globally:

{
  "mcpServers": {
    "socialcrawl": {
      "command": "npx",
      "args": ["-y", "socialcrawl-mcp"],
      "env": {
        "SOCIALCRAWL_API_KEY": "sc_your_key_here"
      }
    }
  }
}

VS Code (Claude Code)

Add to .vscode/mcp.json in your project or your user settings:

{
  "servers": {
    "socialcrawl": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "socialcrawl-mcp"],
      "env": {
        "SOCIALCRAWL_API_KEY": "sc_your_key_here"
      }
    }
  }
}

Windsurf

Add to your Windsurf MCP configuration:

{
  "mcpServers": {
    "socialcrawl": {
      "command": "npx",
      "args": ["-y", "socialcrawl-mcp"],
      "env": {
        "SOCIALCRAWL_API_KEY": "sc_your_key_here"
      }
    }
  }
}

Other MCP-compatible clients

Any MCP client that supports stdio transport can use this server. The general pattern is:

  • Command: npx
  • Args: ["-y", "socialcrawl-mcp"]
  • Environment: SOCIALCRAWL_API_KEY set to your API key

Restart your AI client after saving the configuration.

Setup

1. Get your API key

Sign up at socialcrawl.dev and grab your API key from the dashboard. Every account starts with 100 free credits — no credit card required.

2. Add the key to your config

Replace sc_your_key_here in the installation config above with your actual API key (starts with sc_).

[!TIP] You can also set SOCIALCRAWL_API_KEY as a system environment variable instead of putting it in the MCP config. The discovery and documentation tools work even without a key — only actual API requests need one.

Usage

Ask your AI agent in natural language. The MCP server handles the rest.

Fetch a profile

Get the TikTok profile for @charlidamelio

The agent calls socialcrawl_request with platform: "tiktok", resource: "profile", params: { handle: "charlidamelio" } and returns structured profile data including followers, bio, verification status, and engagement metrics.

Search across platforms

Search YouTube for "machine learning tutorials"

Get post comments

Get the comments on this Instagram post: https://instagram.com/p/CwA1234abcd

Cross-platform research

Compare the follower counts of @mkbhd on TikTok, Instagram, YouTube, and Twitter

The agent makes 4 sequential API calls — one per platform — and compiles the results into a comparison.

Explore available endpoints

What social media platforms can you access?
Show me all the TikTok endpoints

Access documentation

How does the SocialCrawl credit system work?

Example response

Every response follows a unified envelope format:

{
  "success": true,
  "platform": "tiktok",
  "endpoint": "/v1/tiktok/profile",
  "data": {
    "content": { "text": "...", "media_urls": ["..."] },
    "author": { "username": "charlidamelio", "followers": 156000000 },
    "engagement": { "likes": 5200, "engagement_rate": 0.045 },
    "metadata": { "language": "en", "content_category": "entertainment" }
  },
  "credits_used": 1,
  "credits_remaining": 99
}

[!NOTE] The same response structure is returned for every platform — no per-platform parsing logic needed.

Available Tools

The MCP server exposes 5 tools:

Tool Description Needs API key?
socialcrawl_list_platforms Discover all 21 platforms with their endpoints and capabilities No
socialcrawl_list_endpoints See all endpoints, required parameters, and credit costs for a platform No
socialcrawl_request Make any SocialCrawl API call — profiles, posts, comments, search, analytics. Supports an optional idempotencyKey for retry-safe calls. Yes
socialcrawl_check_balance Check remaining credits and recent deduction summary. Calls /v1/credits/balance — costs 0 credits. Yes
socialcrawl_get_docs Access detailed API documentation by topic or platform No

Three of the five tools work without an API key — they query local bundled data. socialcrawl_request and socialcrawl_check_balance require a key.

Smart validation

Before making any API call, socialcrawl_request validates locally that the platform exists, the endpoint exists, and all required parameters are present. If something is wrong, it tells the agent exactly how to fix it — without consuming any credits.

Retry-safe requests

Pass an idempotencyKey to socialcrawl_request (UUIDv4 recommended) to make the call retry-safe. If the request is replayed within 24h, the server returns the original response and deducts 0 credits (X-Idempotent-Replay: true).

Supported Platforms

Platform Endpoints Data Available
TikTok 26 Profiles, videos, comments, followers, search, trending, live, Shop, showcase
Instagram 12 Profiles, posts, reels, comments, highlights, search
YouTube 12 Channels, videos, shorts, playlists, comments, trending, comment replies
Facebook 12 Profiles, posts, reels, photos, groups, Ad Library
Twitter/X 6 Profiles, tweets, communities
LinkedIn 6 Profiles, company pages, posts, Ad Library
Reddit 7 Subreddits, posts, comments, search, ads
Threads 5 Profiles, posts, search
Pinterest 4 Search, pins, boards
Google 4 Search, Ad Library
Truth Social 3 Profiles, posts
Twitch 2 Profiles, clips
Snapchat 1 Profiles
Kick 1 Clips
Amazon 1 Shop pages
Linktree 1 Link pages
Linkbio 1 Link pages
Linkme 1 Link pages
Komi 1 Link pages
Pillar 1 Link pages
Utility 1 Age & gender detection

Total: 108 endpoints across 21 platforms.

Error Handling

The MCP server handles errors gracefully and gives the agent actionable guidance:

Error What the agent sees
Missing API key Prompts to set SOCIALCRAWL_API_KEY with link to sign up
Invalid API key Asks to check the key configuration
Insufficient credits Shows balance and links to billing page
Bad platform/resource Suggests using discovery tools to find the right endpoint
Missing parameters Lists exactly what's missing with examples
Resource not found (404) Reports the upstream resource doesn't exist; credits auto-refunded (BIL-01)
Idempotency-Key conflict (409) Tells the agent the key was used by another account — generate a fresh one
Idempotency-Key payload mismatch (422) Tells the agent the same key was reused with different params
Method not allowed (405) Reminds the caller that /v1/* is GET-only
Concurrency limit (429) Asks the caller to back off (50 concurrent/key max)
Upstream error (502) Reports the failure; credits refunded automatically
Platform unavailable (503) Circuit breaker open; credits refunded; retry in 30s

Links

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选