socialcrawl-mcp 1.8.0 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/README.md +475 -375
  2. package/dist/__tests__/check-balance.test.js +69 -0
  3. package/dist/__tests__/check-balance.test.js.map +1 -1
  4. package/dist/__tests__/coverage.test.d.ts +1 -0
  5. package/dist/__tests__/coverage.test.js +133 -0
  6. package/dist/__tests__/coverage.test.js.map +1 -0
  7. package/dist/__tests__/data-integrity.test.js +255 -65
  8. package/dist/__tests__/data-integrity.test.js.map +1 -1
  9. package/dist/__tests__/discover.test.d.ts +1 -0
  10. package/dist/__tests__/discover.test.js +271 -0
  11. package/dist/__tests__/discover.test.js.map +1 -0
  12. package/dist/__tests__/http.test.js +2 -2
  13. package/dist/__tests__/http.test.js.map +1 -1
  14. package/dist/__tests__/paginate.test.d.ts +1 -0
  15. package/dist/__tests__/paginate.test.js +80 -0
  16. package/dist/__tests__/paginate.test.js.map +1 -0
  17. package/dist/__tests__/pricing.test.d.ts +1 -0
  18. package/dist/__tests__/pricing.test.js +135 -0
  19. package/dist/__tests__/pricing.test.js.map +1 -0
  20. package/dist/__tests__/server.test.js +3 -1
  21. package/dist/__tests__/server.test.js.map +1 -1
  22. package/dist/__tests__/validation.test.d.ts +1 -0
  23. package/dist/__tests__/validation.test.js +198 -0
  24. package/dist/__tests__/validation.test.js.map +1 -0
  25. package/dist/__tests__/web.test.js +54 -3
  26. package/dist/__tests__/web.test.js.map +1 -1
  27. package/dist/constants.d.ts +1 -2
  28. package/dist/constants.js +5 -6
  29. package/dist/constants.js.map +1 -1
  30. package/dist/data/docs-handwritten.d.ts +1 -0
  31. package/dist/data/docs-handwritten.js +661 -0
  32. package/dist/data/docs-handwritten.js.map +1 -0
  33. package/dist/data/docs.d.ts +2 -0
  34. package/dist/data/docs.js +173 -271
  35. package/dist/data/docs.js.map +1 -1
  36. package/dist/data/endpoints.js +2621 -204
  37. package/dist/data/endpoints.js.map +1 -1
  38. package/dist/data/platforms.js +132 -20
  39. package/dist/data/platforms.js.map +1 -1
  40. package/dist/data/registry-meta.d.ts +25 -0
  41. package/dist/data/registry-meta.js +37 -0
  42. package/dist/data/registry-meta.js.map +1 -0
  43. package/dist/paginate.d.ts +16 -0
  44. package/dist/paginate.js +50 -0
  45. package/dist/paginate.js.map +1 -0
  46. package/dist/pricing.d.ts +47 -0
  47. package/dist/pricing.js +150 -0
  48. package/dist/pricing.js.map +1 -0
  49. package/dist/schemas/tools.d.ts +106 -11
  50. package/dist/schemas/tools.js +140 -5
  51. package/dist/schemas/tools.js.map +1 -1
  52. package/dist/server.js +54 -10
  53. package/dist/server.js.map +1 -1
  54. package/dist/tools/check-balance.d.ts +20 -3
  55. package/dist/tools/check-balance.js +41 -4
  56. package/dist/tools/check-balance.js.map +1 -1
  57. package/dist/tools/discover.d.ts +46 -0
  58. package/dist/tools/discover.js +580 -0
  59. package/dist/tools/discover.js.map +1 -0
  60. package/dist/tools/get-docs.d.ts +8 -1
  61. package/dist/tools/get-docs.js +17 -10
  62. package/dist/tools/get-docs.js.map +1 -1
  63. package/dist/tools/list-endpoints.d.ts +10 -1
  64. package/dist/tools/list-endpoints.js +234 -63
  65. package/dist/tools/list-endpoints.js.map +1 -1
  66. package/dist/tools/list-platforms.js +62 -6
  67. package/dist/tools/list-platforms.js.map +1 -1
  68. package/dist/tools/pricing.d.ts +21 -0
  69. package/dist/tools/pricing.js +256 -0
  70. package/dist/tools/pricing.js.map +1 -0
  71. package/dist/tools/request.js +117 -11
  72. package/dist/tools/request.js.map +1 -1
  73. package/dist/tools/web.d.ts +16 -1
  74. package/dist/tools/web.js +31 -7
  75. package/dist/tools/web.js.map +1 -1
  76. package/dist/types.d.ts +122 -1
  77. package/package.json +67 -62
package/README.md CHANGED
@@ -1,375 +1,475 @@
1
- <div align="center">
2
-
3
- # socialcrawl-mcp
4
-
5
- **Give your AI agent access to 44 platforms — social media, commerce & product reviews, app stores, places & travel, business reputation, web research, full web scraping & browser automation, prediction markets, search trends, cross-platform Prism composites, and a universal cross-platform meta-search — through a single API**
6
-
7
- [![npm](https://img.shields.io/npm/v/socialcrawl-mcp?style=flat-square&color=blue)](https://www.npmjs.com/package/socialcrawl-mcp)
8
- [![MCP Registry](https://img.shields.io/badge/MCP_Registry-listed-green?style=flat-square)](https://registry.modelcontextprotocol.io)
9
- [![Platforms](https://img.shields.io/badge/Platforms-42-blue?style=flat-square)](https://socialcrawl.dev)
10
- [![Endpoints](https://img.shields.io/badge/Endpoints-323-green?style=flat-square)](https://socialcrawl.dev/docs)
11
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow?style=flat-square)](LICENSE)
12
- [![mcp MCP server](https://glama.ai/mcp/servers/socialcrawl/mcp/badges/score.svg)](https://glama.ai/mcp/servers/socialcrawl/mcp)
13
-
14
- <a href="https://glama.ai/mcp/servers/socialcrawl/mcp">
15
- <img width="380" src="https://glama.ai/mcp/servers/socialcrawl/mcp/badges/card.svg" alt="Socialcrawl MCP server" />
16
- </a>
17
-
18
- [Overview](#overview) | [Installation](#installation) | [Setup](#setup) | [Usage](#usage) | [Tools](#available-tools) | [Platforms](#supported-platforms)
19
-
20
- </div>
21
-
22
- ---
23
-
24
- ## Overview
25
-
26
- `socialcrawl-mcp` is an [MCP (Model Context Protocol)](https://modelcontextprotocol.io) server that connects AI agents to the [SocialCrawl API](https://socialcrawl.dev) — a unified data API covering 44 platforms and 357 endpoints.
27
-
28
- Retrieve profiles, posts, comments, search results, trending content, and analytics from TikTok, Instagram, YouTube, Twitter/X, LinkedIn, Reddit, GitHub, Hacker News, Polymarket, and 30 more platforms. Pull products, reviews, and sellers from Amazon and Google Shopping; apps, charts, and reviews from Google Play and the Apple App Store; places, hotels, and traveler reviews from Tripadvisor and Google Business; brand reputation from Trustpilot; Korean search across 11 Naver corpora; cross-web brand mentions with sentiment via Content Analysis; Google News headlines and Google Finance quotes — plus web research via Tavily and Perplexity, AI-powered X search via Grok, and a single `/search/everywhere` endpoint that fans out across 12+ sources in one call.
29
-
30
- New in this release: a major **LinkedIn** expansion (44 endpoints — full profiles & company pages, posts/reposts/reactions, comments & replies, people & company-people search, structured profile sub-resources, jobs, company insights, and groups), deeper **Instagram** coverage (followers/following, similar accounts, post likers, stories, tagged & location feeds, post-reshare stats, engagement analytics, and one-call reels/posts feeds with per-item share counts), and new **YouTube** capabilities (trending & advanced search, autocomplete suggestions, playlist items, and downloadable media files — audio, video, subtitles, thumbnails). Alongside the **Prism** family — server-side composite endpoints that fan out across many platforms and fold the results into one report (universal URL `lookup`, full `comments` harvesting, cross-source `reputation`, `share-of-voice`, brand-mention and consumer-demand nowcasts, AI consensus `answers`, crisis radar, creator vetting, and video/app/product intelligence). One API key, one consistent response format, every platform.
31
-
32
- **What the MCP server does:**
33
- - Discovers available platforms and endpoints dynamically
34
- - Fetches live social media data on your behalf
35
- - Validates requests locally before making API calls (saves credits)
36
- - Provides built-in API documentation the agent can query on demand
37
-
38
- ## Installation
39
-
40
- ### Remote server (hosted — no install)
41
-
42
- Connect straight to the hosted Streamable HTTP endpoint — nothing to install or run:
43
-
44
- **Claude Code** (works in the CLI *and* Claude Code on the web / cloud sandboxes)
45
-
46
- ```bash
47
- claude mcp add --scope user --transport http socialcrawl https://mcp.socialcrawl.dev/mcp \
48
- --header "Authorization: Bearer sc_your_key_here"
49
- ```
50
-
51
- **Any client that reads `.mcp.json`**
52
-
53
- ```json
54
- {
55
- "mcpServers": {
56
- "socialcrawl": {
57
- "type": "http",
58
- "url": "https://mcp.socialcrawl.dev/mcp",
59
- "headers": { "Authorization": "Bearer ${SOCIALCRAWL_API_KEY}" }
60
- }
61
- }
62
- }
63
- ```
64
-
65
- **Cursor / Windsurf / VS Code** — choose the HTTP ("streamable-http") server type with the same URL and header. `x-api-key: sc_your_key_here` works as an alternative header.
66
-
67
- The discovery tools (`socialcrawl_list_platforms`, `socialcrawl_list_endpoints`, `socialcrawl_get_docs`) work without a key, so you can explore before signing up. claude.ai custom connectors (Settings → Connectors) require OAuth, which ships in a follow-up release — use the header-based setup above in the meantime.
68
-
69
- Prefer running it locally? Every stdio option below works exactly as before.
70
-
71
- ### npm
72
-
73
- ```bash
74
- npm install -g socialcrawl-mcp
75
- ```
76
-
77
- Available on [npm](https://www.npmjs.com/package/socialcrawl-mcp). Most users don't need this — the MCP client configs below use `npx` and auto-install on first run.
78
-
79
- ### Claude Code (quickest)
80
-
81
- ```bash
82
- claude mcp add --scope user socialcrawl -- npx -y socialcrawl-mcp
83
- ```
84
-
85
- Then set your API key:
86
-
87
- ```bash
88
- claude mcp add-env socialcrawl SOCIALCRAWL_API_KEY sc_your_key_here
89
- ```
90
-
91
- ### Claude Desktop
92
-
93
- Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):
94
-
95
- ```json
96
- {
97
- "mcpServers": {
98
- "socialcrawl": {
99
- "command": "npx",
100
- "args": ["-y", "socialcrawl-mcp"],
101
- "env": {
102
- "SOCIALCRAWL_API_KEY": "sc_your_key_here"
103
- }
104
- }
105
- }
106
- }
107
- ```
108
-
109
- ### Cursor
110
-
111
- Add to `.cursor/mcp.json` in your project root or `~/.cursor/mcp.json` globally:
112
-
113
- ```json
114
- {
115
- "mcpServers": {
116
- "socialcrawl": {
117
- "command": "npx",
118
- "args": ["-y", "socialcrawl-mcp"],
119
- "env": {
120
- "SOCIALCRAWL_API_KEY": "sc_your_key_here"
121
- }
122
- }
123
- }
124
- }
125
- ```
126
-
127
- ### VS Code (Claude Code)
128
-
129
- Add to `.vscode/mcp.json` in your project or your user settings:
130
-
131
- ```json
132
- {
133
- "servers": {
134
- "socialcrawl": {
135
- "type": "stdio",
136
- "command": "npx",
137
- "args": ["-y", "socialcrawl-mcp"],
138
- "env": {
139
- "SOCIALCRAWL_API_KEY": "sc_your_key_here"
140
- }
141
- }
142
- }
143
- }
144
- ```
145
-
146
- ### Windsurf
147
-
148
- Add to your Windsurf MCP configuration:
149
-
150
- ```json
151
- {
152
- "mcpServers": {
153
- "socialcrawl": {
154
- "command": "npx",
155
- "args": ["-y", "socialcrawl-mcp"],
156
- "env": {
157
- "SOCIALCRAWL_API_KEY": "sc_your_key_here"
158
- }
159
- }
160
- }
161
- }
162
- ```
163
-
164
- ### Other MCP-compatible clients
165
-
166
- Any MCP client that supports stdio transport can use this server. The general pattern is:
167
-
168
- - **Command:** `npx`
169
- - **Args:** `["-y", "socialcrawl-mcp"]`
170
- - **Environment:** `SOCIALCRAWL_API_KEY` set to your API key
171
-
172
- Restart your AI client after saving the configuration.
173
-
174
- ## Setup
175
-
176
- ### 1. Get your API key
177
-
178
- Sign up at [socialcrawl.dev](https://socialcrawl.dev) and grab your API key from the dashboard. Every account starts with **100 free credits** — no credit card required.
179
-
180
- ### 2. Add the key to your config
181
-
182
- Replace `sc_your_key_here` in the installation config above with your actual API key (starts with `sc_`).
183
-
184
- > [!TIP]
185
- > 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.
186
-
187
- ## Usage
188
-
189
- Ask your AI agent in natural language. The MCP server handles the rest.
190
-
191
- ### Fetch a profile
192
-
193
- ```
194
- Get the TikTok profile for @charlidamelio
195
- ```
196
-
197
- 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.
198
-
199
- ### Search across platforms
200
-
201
- ```
202
- Search YouTube for "machine learning tutorials"
203
- ```
204
-
205
- ### Get post comments
206
-
207
- ```
208
- Get the comments on this Instagram post: https://instagram.com/p/CwA1234abcd
209
- ```
210
-
211
- ### Cross-platform research
212
-
213
- ```
214
- Compare the follower counts of @mkbhd on TikTok, Instagram, YouTube, and Twitter
215
- ```
216
-
217
- The agent makes 4 sequential API calls — one per platform — and compiles the results into a comparison.
218
-
219
- ### Explore available endpoints
220
-
221
- ```
222
- What social media platforms can you access?
223
- ```
224
-
225
- ```
226
- Show me all the TikTok endpoints
227
- ```
228
-
229
- ### Access documentation
230
-
231
- ```
232
- How does the SocialCrawl credit system work?
233
- ```
234
-
235
- ### Example response
236
-
237
- Every response follows a unified envelope format:
238
-
239
- ```json
240
- {
241
- "success": true,
242
- "platform": "tiktok",
243
- "endpoint": "/v1/tiktok/profile",
244
- "data": {
245
- "content": { "text": "...", "media_urls": ["..."] },
246
- "author": { "username": "charlidamelio", "followers": 156000000 },
247
- "engagement": { "likes": 5200, "engagement_rate": 0.045 },
248
- "metadata": { "language": "en", "content_category": "entertainment" }
249
- },
250
- "credits_used": 1,
251
- "credits_remaining": 99
252
- }
253
- ```
254
-
255
- > [!NOTE]
256
- > The same response structure is returned for every platform — no per-platform parsing logic needed.
257
-
258
- ## Available Tools
259
-
260
- The MCP server exposes 7 tools:
261
-
262
- | Tool | Description | Needs API key? |
263
- |------|-------------|----------------|
264
- | `socialcrawl_list_platforms` | Discover all 44 platforms with their endpoints and capabilities | No |
265
- | `socialcrawl_list_endpoints` | See all endpoints, required parameters, and credit costs for a platform | No |
266
- | `socialcrawl_request` | Make any SocialCrawl API call — profiles, posts, comments, search, trends, analytics, Prism composites. GET endpoints take query `params`; POST batch endpoints (e.g. youtube/videos, prism/profiles) take their array/object `body`. Supports an optional `idempotencyKey` for retry-safe calls. | Yes |
267
- | `socialcrawl_check_balance` | Check remaining credits and recent deduction summary. Calls `/v1/credits/balance` — costs 0 credits. | Yes |
268
- | `socialcrawl_monitors` | Create and manage stateful monitors that re-run any recipe on a cadence, deliver results to a signed webhook, and accumulate a time-series. Actions: create, list, get, runs, timeseries, pause, resume, delete. | Yes |
269
- | `socialcrawl_web` | Full web scraping & browser automation (the `web` platform). Sync scrape/search/map/extract; async crawl/batch_scrape/agent jobs with poll/cancel; stateful monitors; interactive browser sessions. One `action` per endpoint. | Yes |
270
- | `socialcrawl_get_docs` | Access detailed API documentation by topic or platform | No |
271
-
272
- Three of the seven tools work without an API key — they query local bundled data. `socialcrawl_request`, `socialcrawl_check_balance`, `socialcrawl_monitors`, and `socialcrawl_web` require a key.
273
-
274
- ### Monitors — schedule any recipe
275
-
276
- `socialcrawl_monitors` wraps any registry endpoint or Prism composite in a scheduled, stateful monitor (`/v1/monitors/*`). It re-runs the recipe hourly/daily/weekly (or on a cron), delivers each result to an HMAC-signed webhook, raises alerts on metric thresholds or changes, and keeps a per-run time-series you can read back. *"Prism answers once; monitors watch it for you."* Managing monitors costs 0 credits; each scheduled run bills the recipe's normal cost plus a 1-credit scheduling premium. See `socialcrawl_get_docs` topic `monitors` for the full contract.
277
-
278
- ### Web — scrape, crawl, browse
279
-
280
- `socialcrawl_web` drives the full web-scraping and browser-automation surface (the `web` platform, `/v1/web/*`) through a single `action` parameter:
281
-
282
- - **Sync reads** — `scrape` (URL → markdown/HTML/screenshot/links), `search` (web search with page content), `map` (discover a site's URLs), `extract` (LLM structured data from a page).
283
- - **Async jobs** — `crawl` a whole site, `batch_scrape` many URLs, or `agent` (autonomous multi-step web task); each returns a job you poll with `job_get`/`job_list` and stop with `job_cancel`.
284
- - **Monitors** — `monitor_create`/`list`/`get`/`update`/`delete`/`checks` re-check a URL on a cadence and deliver changes to a webhook.
285
- - **Sessions** — `session_create`/`get`/`list`, `session_execute` (run code in the live page), `session_close`.
286
-
287
- Pricing varies by action (scrape 1cr, search 2cr, extract & session_create 5cr, agent 25cr; job/monitor/session management 0cr). See `socialcrawl_get_docs` topic `web`.
288
-
289
- ### Smart validation
290
-
291
- 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.
292
-
293
- ### Retry-safe requests
294
-
295
- 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`).
296
-
297
- ## Supported Platforms
298
-
299
- | Platform | Endpoints | Data Available |
300
- |----------|-----------|----------------|
301
- | **LinkedIn** | 44 | Profiles & company pages, posts, reposts, reactions, comments & replies, people/company-people search, profile sub-resources (experience, education, skills, certifications…), jobs (search, company jobs, details), company insights, groups, transcripts, Ad Library, profile-360 |
302
- | **Instagram** | 33 | Profiles, posts, reels, comments (incl. single-comment lookup), highlights, stories, tagged & location feeds, followers/following, similar accounts, post likers, reshare stats, one-call reels/posts feeds with share counts, engagement analytics, search (reels/hashtag/profile/location/music), trending, transcripts, profile-360 |
303
- | **Prism** | 33 | Cross-platform composites — URL lookup, comment harvesting, batch comment-lookup & profile-lookup, handle-audit, brand mentions, demand signals, AI visibility, crisis radar/post-mortem, reputation, share-of-voice, creator vetting, AI consensus answers, video/app/product intelligence |
304
- | **YouTube** | 28 | Channels, videos, shorts, comments & replies, sponsors, playlists & items, community posts, search (advanced + autocomplete), trending, live streams, media files (audio/video/subtitles/thumbnails), transcripts, batch videos/channels/transcripts, profile-360 |
305
- | **Facebook** | 22 | Pages, posts, comments, groups, photos, reels, events, Marketplace, transcripts, full Ad Library |
306
- | **Web Scraping** | 22 | Scrape, web search, site map, LLM extract, async crawl/batch-scrape/agent jobs, change monitors, interactive browser sessions, document parse — driven by `socialcrawl_web` |
307
- | **TikTok** | 20 | Profiles, videos, comments & replies (incl. single-comment lookup), search, trending, audience, followers, live, songs, transcripts, profile-360 |
308
- | **GitHub** | 12 | Users, repos, issues, PRs, READMEs, releases, search, repo dossier, user profile-velocity |
309
- | **Naver** | 12 | Korea's #1 portal — blog, news, book, encyclopedia, cafe, KiN, local, shopping, doc, image, web search, brief |
310
- | **Content Analysis** | 10 | Cross-web brand mentions, sentiment, rating distributions, phrase/category trends |
311
- | **Google** | 10 | Web search, Ads Transparency, Business Profile (info, reviews, updates, Q&A), Travel hotels |
312
- | **Apple App Store** | 9 | App search, search suggestions, app details, reviews, charts, listings database, reference data |
313
- | **Google Play** | 9 | App search, search suggestions, app details, reviews, charts, listings database, reference data |
314
- | **Twitter/X** | 8 | Profiles, tweets, communities, video transcripts, AI search via Grok, profile-360 |
315
- | **Reddit** | 7 | Subreddits, posts, comments, search, transcripts, omni-search VoC sweep |
316
- | **Spotify** | 6 | Artists, tracks, albums, podcasts, episodes, search |
317
- | **Amazon** | 5 | Product search, ASIN details, reviews, sellers, shop pages |
318
- | **Pinterest** | 5 | Pins, boards, search, URL save-counts |
319
- | **Rumble** | 5 | Search, channel videos, video details, comments, transcripts |
320
- | **Threads** | 5 | Profiles, posts, keyword search, user search |
321
- | **TikTok Shop** | 5 | Products, reviews, listings, search, creator showcases |
322
- | **Google Shopping** | 4 | Product search, product details, cross-retailer reviews, sellers |
323
- | **Hacker News** | 4 | Story search, story, comment tree, profile |
324
- | **Tavily** | 4 | Web search (with LLM answer), URL extraction, sitemap, full crawl |
325
- | **Twitch** | 4 | Profiles, clips, videos, schedules |
326
- | **Bluesky** | 3 | Profiles, posts |
327
- | **Google Finance** | 3 | Instrument quotes, markets overview, ticker search |
328
- | **Kwai** | 3 | Profiles, posts |
329
- | **Truth Social** | 3 | Profiles, posts |
330
- | **Google Trends** | 2 | Interest-over-time (explore) + rising/breakout related queries |
331
- | **Tripadvisor** | 2 | Place search, traveler reviews |
332
- | **Trustpilot** | 2 | Business search, company reviews |
333
- | **Universal Search** | 2 | One query fanned out across 12+ platforms (20cr); forums lane |
334
- | **Google News** | 1 | Real-time Google News SERP search |
335
- | **Kick** | 1 | Clips |
336
- | **Komi** | 1 | Link pages |
337
- | **Linkbio** | 1 | Link pages |
338
- | **Linkme** | 1 | Link pages |
339
- | **Linktree** | 1 | Link pages |
340
- | **Perplexity** | 1 | Sonar web research with cited sources |
341
- | **Pillar** | 1 | Link pages |
342
- | **Polymarket** | 1 | Prediction-market research — multi-query fan-out + ranking |
343
- | **Snapchat** | 1 | Profiles |
344
- | **Utility** | 1 | Age & gender detection |
345
-
346
- **Total: 357 endpoints across 44 platforms.**
347
-
348
- ## Error Handling
349
-
350
- The MCP server handles errors gracefully and gives the agent actionable guidance:
351
-
352
- | Error | What the agent sees |
353
- |-------|---------------------|
354
- | Missing API key | Prompts to set `SOCIALCRAWL_API_KEY` with link to sign up |
355
- | Invalid API key | Asks to check the key configuration |
356
- | Insufficient credits | Shows balance and links to billing page |
357
- | Bad platform/resource | Suggests using discovery tools to find the right endpoint |
358
- | Missing parameters | Lists exactly what's missing with examples |
359
- | Resource not found (404) | Reports the upstream resource doesn't exist; credits auto-refunded (BIL-01) |
360
- | Idempotency-Key conflict (409) | Tells the agent the key was used by another account — generate a fresh one |
361
- | Idempotency-Key payload mismatch (422) | Tells the agent the same key was reused with different params |
362
- | Method not allowed (405) | Reminds the caller that `/v1/*` is GET-only |
363
- | Concurrency limit (429) | Asks the caller to back off (50 concurrent/key max) |
364
- | Upstream error (502) | Reports the failure; credits refunded automatically |
365
- | Platform unavailable (503) | Circuit breaker open; credits refunded; retry in 30s |
366
-
367
- ## Links
368
-
369
- - [Get Your API Key](https://socialcrawl.dev/dashboard) — 100 free credits, no credit card required
370
- - [API Documentation](https://socialcrawl.dev/docs) — full endpoint reference, credits, and error codes
371
- - [SocialCrawl Website](https://socialcrawl.dev)
372
- - [npm Package](https://www.npmjs.com/package/socialcrawl-mcp)
373
- - [MCP Registry](https://registry.modelcontextprotocol.io)
374
- - [Getting Started Guide](docs/GETTING-STARTED.md)
375
- - [How It Works](docs/HOW-IT-WORKS.md)
1
+ <div align="center">
2
+
3
+ # socialcrawl-mcp
4
+
5
+ **Give your AI agent access to 48 platforms and 381 endpoints — social media, commerce & product reviews, retail, app stores, places & travel, business reputation, news & finance, web research, full web scraping & browser automation, prediction markets, search trends, cross-platform Prism composites, and a universal meta-search — through a single API, with exact credit pricing for every endpoint**
6
+
7
+ [![npm](https://img.shields.io/npm/v/socialcrawl-mcp?style=flat-square&color=blue)](https://www.npmjs.com/package/socialcrawl-mcp)
8
+ [![MCP Registry](https://img.shields.io/badge/MCP_Registry-listed-green?style=flat-square)](https://registry.modelcontextprotocol.io)
9
+ [![Platforms](https://img.shields.io/badge/Platforms-48-blue?style=flat-square)](https://socialcrawl.dev)
10
+ [![Endpoints](https://img.shields.io/badge/Endpoints-381-green?style=flat-square)](https://socialcrawl.dev/docs)
11
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow?style=flat-square)](LICENSE)
12
+ [![mcp MCP server](https://glama.ai/mcp/servers/socialcrawl/mcp/badges/score.svg)](https://glama.ai/mcp/servers/socialcrawl/mcp)
13
+
14
+ <a href="https://glama.ai/mcp/servers/socialcrawl/mcp">
15
+ <img width="380" src="https://glama.ai/mcp/servers/socialcrawl/mcp/badges/card.svg" alt="Socialcrawl MCP server" />
16
+ </a>
17
+
18
+ [Overview](#overview) | [Installation](#installation) | [Setup](#setup) | [Usage](#usage) | [Tools](#available-tools) | [Platforms](#supported-platforms)
19
+
20
+ </div>
21
+
22
+ ---
23
+
24
+ ## Overview
25
+
26
+ `socialcrawl-mcp` is an [MCP (Model Context Protocol)](https://modelcontextprotocol.io) server that connects AI agents to the [SocialCrawl API](https://socialcrawl.dev) — a unified data API covering 48 platforms and 381 endpoints.
27
+
28
+ Retrieve profiles, posts, comments, search results, trending content, and analytics from TikTok, Instagram, YouTube, Twitter/X, LinkedIn, Reddit, GitHub, Hacker News, Polymarket, and 30 more platforms. Pull products, reviews, and sellers from Amazon, Walmart, Target, Home Depot, eBay, and Google Shopping; apps, charts, and reviews from Google Play and the Apple App Store; places, hotels, and traveler reviews from Tripadvisor and Google Business; brand reputation from Trustpilot; Korean search and Data Lab trend series from Naver; cross-web brand mentions with sentiment via Content Analysis; Google News headlines, Google Finance quotes, and Google Trends interest curves — plus web research via Tavily and Perplexity, AI-powered X search via Grok, and a single `/search/everywhere` endpoint that fans out across 14 sources in one call.
29
+
30
+ New in this release (v1.9.0): a dedicated **`socialcrawl_pricing`** tool that answers *"what will this cost me"* for every endpoint before a single credit is spent — the tier ladder, every flat override, all 26 **metered** endpoints with their real min–max band and exact charging rule, per-platform cost tables, and budget-filtered rankings. Five new retail and discovery platforms (**Walmart**, **Target**, **Home Depot**, **eBay**, plus four free API self-discovery endpoints), **Naver Data Lab** search-trend and shopping-insight series, a metered multi-country **news** search lane, and Reddit post detail, Threads post comments, TikTok on-screen text, and the Facebook full reels feed. Alongside the **Prism** family — server-side composite endpoints that fan out across many platforms and fold the results into one report. One API key, one consistent response format, every platform.
31
+
32
+ **What the MCP server does:**
33
+ - Discovers platforms and endpoints dynamically, or by free-text search across all 381 of them
34
+ - Fetches live data on your behalf across every platform, method, and composite
35
+ - Prices every call up front — ladder, flat, or metered band — so an agent can budget before it spends
36
+ - Validates requests locally before calling the API: required params, `oneOf` groups, enum values, integer ranges, parameter couplings, and CSV limits. A bad call fails free instead of burning credits
37
+ - Provides built-in API documentation the agent can query on demand, paged rather than truncated
38
+
39
+ ## Installation
40
+
41
+ ### Remote server (hosted — no install)
42
+
43
+ Connect straight to the hosted Streamable HTTP endpoint — nothing to install or run:
44
+
45
+ **Claude Code** (works in the CLI *and* Claude Code on the web / cloud sandboxes)
46
+
47
+ ```bash
48
+ claude mcp add --scope user --transport http socialcrawl https://mcp.socialcrawl.dev/mcp \
49
+ --header "Authorization: Bearer sc_your_key_here"
50
+ ```
51
+
52
+ **Any client that reads `.mcp.json`**
53
+
54
+ ```json
55
+ {
56
+ "mcpServers": {
57
+ "socialcrawl": {
58
+ "type": "http",
59
+ "url": "https://mcp.socialcrawl.dev/mcp",
60
+ "headers": { "Authorization": "Bearer ${SOCIALCRAWL_API_KEY}" }
61
+ }
62
+ }
63
+ }
64
+ ```
65
+
66
+ **Cursor / Windsurf / VS Code** — choose the HTTP ("streamable-http") server type with the same URL and header. `x-api-key: sc_your_key_here` works as an alternative header.
67
+
68
+ The discovery tools (`socialcrawl_list_platforms`, `socialcrawl_list_endpoints`, `socialcrawl_get_docs`) work without a key, so you can explore before signing up. claude.ai custom connectors (Settings → Connectors) require OAuth, which ships in a follow-up release — use the header-based setup above in the meantime.
69
+
70
+ Prefer running it locally? Every stdio option below works exactly as before.
71
+
72
+ ### npm
73
+
74
+ ```bash
75
+ npm install -g socialcrawl-mcp
76
+ ```
77
+
78
+ Available on [npm](https://www.npmjs.com/package/socialcrawl-mcp). Most users don't need this — the MCP client configs below use `npx` and auto-install on first run.
79
+
80
+ ### Claude Code (quickest)
81
+
82
+ ```bash
83
+ claude mcp add --scope user socialcrawl -- npx -y socialcrawl-mcp
84
+ ```
85
+
86
+ Then set your API key:
87
+
88
+ ```bash
89
+ claude mcp add-env socialcrawl SOCIALCRAWL_API_KEY sc_your_key_here
90
+ ```
91
+
92
+ ### Claude Desktop
93
+
94
+ Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):
95
+
96
+ ```json
97
+ {
98
+ "mcpServers": {
99
+ "socialcrawl": {
100
+ "command": "npx",
101
+ "args": ["-y", "socialcrawl-mcp"],
102
+ "env": {
103
+ "SOCIALCRAWL_API_KEY": "sc_your_key_here"
104
+ }
105
+ }
106
+ }
107
+ }
108
+ ```
109
+
110
+ ### Cursor
111
+
112
+ Add to `.cursor/mcp.json` in your project root or `~/.cursor/mcp.json` globally:
113
+
114
+ ```json
115
+ {
116
+ "mcpServers": {
117
+ "socialcrawl": {
118
+ "command": "npx",
119
+ "args": ["-y", "socialcrawl-mcp"],
120
+ "env": {
121
+ "SOCIALCRAWL_API_KEY": "sc_your_key_here"
122
+ }
123
+ }
124
+ }
125
+ }
126
+ ```
127
+
128
+ ### VS Code (Claude Code)
129
+
130
+ Add to `.vscode/mcp.json` in your project or your user settings:
131
+
132
+ ```json
133
+ {
134
+ "servers": {
135
+ "socialcrawl": {
136
+ "type": "stdio",
137
+ "command": "npx",
138
+ "args": ["-y", "socialcrawl-mcp"],
139
+ "env": {
140
+ "SOCIALCRAWL_API_KEY": "sc_your_key_here"
141
+ }
142
+ }
143
+ }
144
+ }
145
+ ```
146
+
147
+ ### Windsurf
148
+
149
+ Add to your Windsurf MCP configuration:
150
+
151
+ ```json
152
+ {
153
+ "mcpServers": {
154
+ "socialcrawl": {
155
+ "command": "npx",
156
+ "args": ["-y", "socialcrawl-mcp"],
157
+ "env": {
158
+ "SOCIALCRAWL_API_KEY": "sc_your_key_here"
159
+ }
160
+ }
161
+ }
162
+ }
163
+ ```
164
+
165
+ ### Other MCP-compatible clients
166
+
167
+ Any MCP client that supports stdio transport can use this server. The general pattern is:
168
+
169
+ - **Command:** `npx`
170
+ - **Args:** `["-y", "socialcrawl-mcp"]`
171
+ - **Environment:** `SOCIALCRAWL_API_KEY` set to your API key
172
+
173
+ Restart your AI client after saving the configuration.
174
+
175
+ ## Setup
176
+
177
+ ### 1. Get your API key
178
+
179
+ Sign up at [socialcrawl.dev](https://socialcrawl.dev) and grab your API key from the dashboard. Every account starts with **100 free credits** — no credit card required.
180
+
181
+ ### 2. Add the key to your config
182
+
183
+ Replace `sc_your_key_here` in the installation config above with your actual API key (starts with `sc_`).
184
+
185
+ > [!TIP]
186
+ > 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.
187
+
188
+ ## Usage
189
+
190
+ Ask your AI agent in natural language. The MCP server handles the rest.
191
+
192
+ ### Fetch a profile
193
+
194
+ ```
195
+ Get the TikTok profile for @charlidamelio
196
+ ```
197
+
198
+ 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.
199
+
200
+ ### Search across platforms
201
+
202
+ ```
203
+ Search YouTube for "machine learning tutorials"
204
+ ```
205
+
206
+ ### Get post comments
207
+
208
+ ```
209
+ Get the comments on this Instagram post: https://instagram.com/p/CwA1234abcd
210
+ ```
211
+
212
+ ### Cross-platform research
213
+
214
+ ```
215
+ Compare the follower counts of @mkbhd on TikTok, Instagram, YouTube, and Twitter
216
+ ```
217
+
218
+ The agent makes 4 sequential API calls — one per platform — and compiles the results into a comparison.
219
+
220
+ ### Shop across retailers
221
+
222
+ ```
223
+ Find the cheapest 65-inch OLED TV across Amazon, Walmart, Target, and eBay
224
+ ```
225
+
226
+ ### Explore available endpoints
227
+
228
+ ```
229
+ What social media platforms can you access?
230
+ ```
231
+
232
+ ```
233
+ Show me all the TikTok endpoints
234
+ ```
235
+
236
+ ```
237
+ Which endpoints can give me video transcripts?
238
+ ```
239
+
240
+ The last one is a cross-platform `socialcrawl_list_endpoints` search — no platform needed, it looks across all 381 endpoints.
241
+
242
+ ### Learn the API from the API
243
+
244
+ ```
245
+ How do I get started with SocialCrawl?
246
+ ```
247
+
248
+ ```
249
+ Show me exactly how to call the Prism comments endpoint
250
+ ```
251
+
252
+ ```
253
+ Is this MCP server's endpoint list up to date?
254
+ ```
255
+
256
+ All three hit `socialcrawl_discover` and cost nothing.
257
+
258
+ ### Check what something costs before running it
259
+
260
+ ```
261
+ What would it cost to run a Prism brand-mentions report?
262
+ ```
263
+
264
+ ```
265
+ Show me everything I can call for 1 credit
266
+ ```
267
+
268
+ ```
269
+ Why did that last call charge me 7 credits instead of 2?
270
+ ```
271
+
272
+ The first two hit `socialcrawl_pricing`; the third reads the credit ledger via `socialcrawl_check_balance` with `view: "transactions"` and shows the deduction and refund rows for that `request_id`.
273
+
274
+ ### Access documentation
275
+
276
+ ```
277
+ How does the SocialCrawl credit system work?
278
+ ```
279
+
280
+ ```
281
+ How do I page through a list endpoint?
282
+ ```
283
+
284
+ ### Example response
285
+
286
+ Every response follows a unified envelope format:
287
+
288
+ ```json
289
+ {
290
+ "success": true,
291
+ "platform": "tiktok",
292
+ "endpoint": "/v1/tiktok/profile",
293
+ "data": {
294
+ "content": { "text": "...", "media_urls": ["..."] },
295
+ "author": { "username": "charlidamelio", "followers": 156000000 },
296
+ "engagement": { "likes": 5200, "engagement_rate": 0.045 },
297
+ "metadata": { "language": "en", "content_category": "entertainment" }
298
+ },
299
+ "credits_used": 1,
300
+ "credits_remaining": 99
301
+ }
302
+ ```
303
+
304
+ > [!NOTE]
305
+ > The same response structure is returned for every platform — no per-platform parsing logic needed.
306
+
307
+ ## Available Tools
308
+
309
+ The MCP server exposes 9 tools:
310
+
311
+ | Tool | Description | Needs API key? |
312
+ |------|-------------|----------------|
313
+ | `socialcrawl_list_platforms` | Discover all 48 platforms, grouped by category, with endpoint counts and per-platform credit ranges | No |
314
+ | `socialcrawl_list_endpoints` | Endpoints with their full parameter contract — types, integer ranges, enum values, parameter couplings, CSV limits, pagination style, cache TTL, and pricing. Pass a `platform`, or a `search` term to find an endpoint across all 381. Filter by `method` and `maxCost` | No |
315
+ | `socialcrawl_pricing` | Exact credit cost for every endpoint: the tier ladder, every flat override, all metered bands with their charging rules and price-driving parameters, per-platform cost tables, and budget-filtered rankings (`maxCost`, `model`, `sort`) | No |
316
+ | `socialcrawl_request` | Make any SocialCrawl API call — profiles, posts, comments, search, trends, analytics, Prism composites. GET endpoints take query `params`; POST batch endpoints (e.g. youtube/videos, prism/profiles) take their array/object `body`. Supports an optional `idempotencyKey` for retry-safe calls | Yes |
317
+ | `socialcrawl_check_balance` | Credit balance and recent deductions, or the itemised ledger (`view: "transactions"`) — every deduction and refund keyed by `request_id`. Calls `/v1/credits/{balance,transactions}` — costs 0 credits | Yes |
318
+ | `socialcrawl_monitors` | Create and manage stateful monitors that re-run any recipe on a cadence, deliver results to a signed webhook, and accumulate a time-series. Actions: create, list, get, runs, timeseries, pause, resume, delete | Yes |
319
+ | `socialcrawl_web` | Full web scraping & browser automation (the `web` platform). Sync scrape/search/map/extract; async crawl/batch_scrape/agent jobs with poll/cancel/errors; free crawl parameter preview; stateful monitors; interactive browser sessions. One `action` per endpoint | Yes |
320
+ | `socialcrawl_discover` | The API describing itself, live, at 0 credits (`/v1/utility/*`) — quickstart, the full endpoint catalogue with live metered-aware prices, one endpoint's complete usage guide, the agent context corpus, and a freshness check that tells you whether this server's bundled catalogue has fallen behind the API | Optional |
321
+ | `socialcrawl_get_docs` | API documentation by topic or platform — overview, authentication, credits, pricing, errors, idempotency, pagination, caching, response-schema, limits, monitors, discovery, or any platform slug. Long topics are paged, never truncated | No |
322
+
323
+ Four of the nine tools work without an API key — they query local bundled data generated from the backend registry. `socialcrawl_request`, `socialcrawl_check_balance`, `socialcrawl_monitors`, and `socialcrawl_web` require a key. `socialcrawl_discover` uses a key when it has one and falls back to bundled data when it does not.
324
+
325
+ ### Discovery — the API describing itself, for free
326
+
327
+ `socialcrawl_discover` drives the **`/v1/utility/*`** family: four endpoints that let any client learn the whole API from inside the API, at **0 credits**. They are served in-process from the endpoint registry — no upstream call, no network hop — so they can never drift from what is actually callable.
328
+
329
+ | Action | Endpoint | What you get |
330
+ |--------|----------|--------------|
331
+ | `quickstart` | `/v1/utility/quickstart` | Auth, base URL, a runnable first call, the success and error envelopes, the billing model, the **full error taxonomy**, rate limits, and the paging contract — in one response |
332
+ | `catalog` | `/v1/utility/endpoints` | Every endpoint with its live metered-aware price label, required and optional params, `oneOf` groups, and paging flag. Filter by `platform` / `search` / `method` |
333
+ | `endpoint` | `/v1/utility/endpoint` | One endpoint's complete usage guide — every parameter with type and example, the exact pricing rule, cache TTL, paging recipe, an example response, a copy-paste curl, and related endpoints |
334
+ | `llms` | `/v1/utility/llms` | The agent context corpus for the whole API or one platform, as markdown or JSON — bootstrap an agent in one call instead of crawling docs |
335
+ | `freshness` | — | Compare the live registry against this server's bundled catalogue |
336
+
337
+ **Why `freshness` matters.** This server ships a catalogue generated when it was built; the API keeps moving. Data calls always hit the live API and keep working — but discovery, pricing, and local validation answer from that snapshot, so a newly added endpoint looks unknown until you upgrade. One free call tells you which situation you are in:
338
+
339
+ ```
340
+ socialcrawl_discover action: "freshness"
341
+ ```
342
+
343
+ **Bundled vs live.** `list_platforms`, `list_endpoints`, `pricing`, and `get_docs` answer instantly from bundled data and need no key — prefer them for browsing. Reach for `socialcrawl_discover` when correctness matters more than latency: an endpoint looks missing, you need a metered endpoint's exact live price, or you are generating code that must match production today. Without a key it still answers everything except `llms` from bundled data, so discovery never hard-requires auth.
344
+
345
+ These same endpoints are plain HTTP, so a third-party integration or a non-MCP agent framework gets the identical information with a `curl`.
346
+
347
+ ### Pricing — know the cost before you spend
348
+
349
+ `socialcrawl_pricing` exists because a single number is a lie for most of the surface. SocialCrawl bills three ways:
350
+
351
+ - **Ladder** (294 endpoints) — the tier rate per request: standard 1cr, advanced 5cr, premium 10cr.
352
+ - **Flat** (61 endpoints, 18 of them free) — a per-endpoint override, e.g. `/v1/search/everywhere` at 20cr flat.
353
+ - **Metered** (26 endpoints) — the charge depends on the request. An upfront ceiling is deducted and refunded down to the work actually done.
354
+
355
+ Quoting a metered endpoint's base cost understates every call: `/v1/search/news` has a 1cr base but really charges **2–14cr** depending on how many country legs return articles. The tool returns the real band, the registry's own charging rule, the parameters that move the bill, and the worst case to budget for:
356
+
357
+ ```
358
+ action: "overview" → ladder, every free endpoint, every flat override, every metered band + rule, cache TTLs, full refund matrix
359
+ action: "endpoint" → one endpoint's price, rule, price-driving params, paging cost, worst case
360
+ action: "platform" → a whole platform's cost table
361
+ action: "list" → rank/filter by cost — "everything I can call for 1 credit", "the 10 most expensive endpoints"
362
+ ```
363
+
364
+ It also states the rules that make the real charge differ from the sticker price: cache hits, idempotent replays, empty results, and upstream failures are all 0 credits.
365
+
366
+ ### Monitors — schedule any recipe
367
+
368
+ `socialcrawl_monitors` wraps any registry endpoint or Prism composite in a scheduled, stateful monitor (`/v1/monitors/*`). It re-runs the recipe hourly/daily/weekly (or on a cron), delivers each result to an HMAC-signed webhook, raises alerts on metric thresholds or changes, and keeps a per-run time-series you can read back. *"Prism answers once; monitors watch it for you."* Managing monitors costs 0 credits; each scheduled run bills the recipe's normal cost plus a 1-credit scheduling premium. See `socialcrawl_get_docs` topic `monitors` for the full contract.
369
+
370
+ ### Web — scrape, crawl, browse
371
+
372
+ `socialcrawl_web` drives the full web-scraping and browser-automation surface (the `web` platform, `/v1/web/*`) through a single `action` parameter:
373
+
374
+ - **Sync reads** — `scrape` (URL → markdown/HTML/screenshot/links), `search` (web search with page content), `map` (discover a site's URLs), `extract` (LLM structured data from a page).
375
+ - **Async jobs** — `crawl` a whole site, `batch_scrape` many URLs, or `agent` (autonomous multi-step web task); each returns a job you poll with `job_get`/`job_list`, inspect with `job_errors` (per-page failures), and stop with `job_cancel`. `crawl_preview` dry-runs a crawl's parameters for free before you pay for it.
376
+ - **Monitors** — `monitor_create`/`list`/`get`/`update`/`delete`/`checks` re-check a URL on a cadence and deliver changes to a webhook.
377
+ - **Sessions** — `session_create`/`get`/`list`, `session_execute` (run code in the live page), `session_close`.
378
+
379
+ Most of the paid web surface is metered rather than flat: a crawl holds `limit` credits and refunds every page it did not crawl; a session holds against `ttl_seconds` and settles on close. Job, monitor, and session management is 0 credits. See `socialcrawl_get_docs` topic `web`, or `socialcrawl_pricing` with `platform: "web"`.
380
+
381
+ ### Smart validation
382
+
383
+ Before making any API call, `socialcrawl_request` mirrors the backend's own pre-billing validator against the bundled registry data: the platform and resource exist, required parameters and `oneOf` groups are satisfied, enum values are legal, integers sit inside their declared range, parameter couplings hold (`order` needs `sort`; Reddit's `timeframe` needs `sort=top`), and CSV lists are within their entry limits. A malformed call fails instantly and for free instead of costing a round trip — and an agent gets told exactly what to fix rather than looping on a call that can never succeed.
384
+
385
+ ### Retry-safe requests
386
+
387
+ 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`).
388
+
389
+ ## Supported Platforms
390
+
391
+ | Platform | Endpoints | Data Available |
392
+ |----------|-----------|----------------|
393
+ | **LinkedIn** | 44 | Profiles & company pages, posts, reposts, reactions, comments & replies, people/company-people search, profile sub-resources (experience, education, skills, certifications…), jobs (search, company jobs, details), company insights, groups, transcripts, Ad Library, profile-360 |
394
+ | **Instagram** | 33 | Profiles, posts, reels, comments (incl. single-comment lookup), highlights, stories, tagged & location feeds, followers/following, similar accounts, post likers, reshare stats, one-call reels/posts feeds with share counts, engagement analytics, search (reels/hashtag/profile/location/music), trending, transcripts, profile-360 |
395
+ | **Prism** | 33 | Cross-platform composites — URL lookup, comment harvesting, batch comment/profile lookup, handle-audit, brand mentions, demand signals, AI visibility, crisis radar/post-mortem, reputation, share-of-voice, creator vetting & creator cards, org radar, Korea gap, AI consensus answers, video/app/product intelligence |
396
+ | **YouTube** | 28 | Channels, videos, shorts, comments & replies, sponsors, playlists & items, community posts, search (advanced + autocomplete), trending, live streams, media files (audio/video/subtitles/thumbnails), transcripts, batch videos/channels/transcripts, profile-360 |
397
+ | **Facebook** | 23 | Pages, posts, comments, groups, photos, reels (incl. full reels feed with view counts), events, Marketplace, transcripts, full Ad Library |
398
+ | **Web Scraping** | 22 | Scrape, web search, site map, LLM extract, async crawl/batch-scrape/agent jobs with per-page error feeds, change monitors, interactive browser sessions, document parse — driven by `socialcrawl_web` |
399
+ | **TikTok** | 21 | Profiles, videos, comments & replies (incl. single-comment lookup), on-screen text extraction, search, trending, audience, followers, live, songs, transcripts, profile-360 |
400
+ | **Naver** | 14 | Korea's #1 portal — blog, news, encyclopedia, cafe, KiN, local, image, web search, errata & adult classifiers, Data Lab search-trend & shopping-insight series, brief |
401
+ | **GitHub** | 12 | Users, repos, issues, PRs, READMEs, releases, search, repo dossier, user profile-velocity |
402
+ | **Content Analysis** | 10 | Cross-web brand mentions, sentiment, rating distributions, phrase/category trends |
403
+ | **Google** | 10 | Web search, Ads Transparency, Business Profile (info, reviews, updates, Q&A), Travel hotels |
404
+ | **Apple App Store** | 9 | App search, search suggestions, app details, reviews, charts, listings database, reference data |
405
+ | **Google Play** | 9 | App search, search suggestions, app details, reviews, charts, listings database, reference data |
406
+ | **Reddit** | 8 | Subreddits, post detail, comments, search, transcripts, omni-search VoC sweep |
407
+ | **Twitter/X** | 8 | Profiles, tweets, communities, video transcripts, AI search via Grok, profile-360 |
408
+ | **Spotify** | 6 | Artists, tracks, albums, podcasts, episodes, search |
409
+ | **Threads** | 6 | Profiles, posts, post comments, keyword search, user search |
410
+ | **Amazon** | 5 | Product search, ASIN details, reviews, sellers, shop pages — ~13 marketplaces |
411
+ | **Pinterest** | 5 | Pins, boards, search, URL save-counts |
412
+ | **Rumble** | 5 | Search, channel videos, video details, comments, transcripts |
413
+ | **Target** | 5 | Product details by TCIN, reviews, category browsing, full taxonomy, store lookup |
414
+ | **TikTok Shop** | 5 | Products, reviews, listings, search, creator showcases |
415
+ | **Walmart** | 5 | Product details, reviews, keyword search, category browsing, seller offers |
416
+ | **Google Shopping** | 4 | Product search, product details, cross-retailer reviews, sellers |
417
+ | **Hacker News** | 4 | Story search, story, comment tree, profile |
418
+ | **Tavily** | 4 | Web search (with LLM answer), URL extraction, sitemap, full crawl |
419
+ | **Twitch** | 4 | Profiles, clips, videos, schedules |
420
+ | **Utility** | 4 | Free API self-discovery — quickstart, endpoint catalogue, per-endpoint usage guide, LLM context payload. 0 credits, served from the live registry. Driven by `socialcrawl_discover` |
421
+ | **Bluesky** | 3 | Profiles, posts |
422
+ | **Google Finance** | 3 | Instrument quotes, markets overview, ticker search |
423
+ | **Kwai** | 3 | Profiles, posts |
424
+ | **Truth Social** | 3 | Profiles, posts |
425
+ | **Universal Search** | 3 | One query fanned out across 14 platforms (20cr flat); forums lane; multi-country news lane (metered) |
426
+ | **eBay** | 2 | Listing search incl. sold/completed with realised prices, listing details |
427
+ | **Google Trends** | 2 | Interest-over-time (explore) + rising/breakout related queries |
428
+ | **Home Depot** | 2 | Product details by item id or URL (store/zip-aware pricing), reviews |
429
+ | **Tripadvisor** | 2 | Place search, traveler reviews |
430
+ | **Trustpilot** | 2 | Business search, company reviews |
431
+ | **Google News** | 1 | Real-time Google News SERP search |
432
+ | **Kick** | 1 | Clips |
433
+ | **Komi** | 1 | Link pages |
434
+ | **LinkBio** | 1 | Link pages |
435
+ | **LinkMe** | 1 | Link pages |
436
+ | **Linktree** | 1 | Link pages |
437
+ | **Perplexity** | 1 | Sonar web research with cited sources |
438
+ | **Pillar** | 1 | Link pages |
439
+ | **Polymarket** | 1 | Prediction-market research — multi-query fan-out + ranking |
440
+ | **Snapchat** | 1 | Profiles |
441
+
442
+ **Total: 381 endpoints across 48 platforms.**
443
+
444
+ ## Error Handling
445
+
446
+ The MCP server handles errors gracefully and gives the agent actionable guidance:
447
+
448
+ | Error | What the agent sees |
449
+ |-------|---------------------|
450
+ | Missing API key | Prompts to set `SOCIALCRAWL_API_KEY` with link to sign up |
451
+ | Invalid API key | Asks to check the key configuration |
452
+ | Insufficient credits | Shows balance and links to billing page |
453
+ | Bad platform/resource | Suggests using discovery tools to find the right endpoint |
454
+ | Missing parameters | Lists exactly what's missing with examples — caught locally, before billing |
455
+ | Invalid parameter value | Names the illegal enum value, out-of-range integer, broken coupling, or over-long CSV — caught locally, before billing |
456
+ | Resource not found (404) | Reports the upstream resource doesn't exist; credits auto-refunded (BIL-01) |
457
+ | Idempotency-Key conflict (409) | Tells the agent the key was used by another account — generate a fresh one |
458
+ | Idempotency-Key payload mismatch (422) | Tells the agent the same key was reused with different params |
459
+ | Method not allowed (405) | Reports the wrong HTTP method for that route |
460
+ | Payload too large (413) | Request body over the JSON size cap; rejected before parse |
461
+ | Rate limited (429) | Over the 600 req/min per-key window — unbilled; back off and retry |
462
+ | Concurrency limit (429) | Asks the caller to back off (50 concurrent/key max) |
463
+ | Key budget exceeded (402) | This key's own spend cap is spent while the account still has credits — raise the cap, don't top up |
464
+ | Upstream error (502) | Reports the failure; credits refunded automatically |
465
+ | Platform unavailable (503) | Circuit breaker open; credits refunded; retry in 30s |
466
+
467
+ ## Links
468
+
469
+ - [Get Your API Key](https://socialcrawl.dev/dashboard) — 100 free credits, no credit card required
470
+ - [API Documentation](https://socialcrawl.dev/docs) — full endpoint reference, credits, and error codes
471
+ - [SocialCrawl Website](https://socialcrawl.dev)
472
+ - [npm Package](https://www.npmjs.com/package/socialcrawl-mcp)
473
+ - [MCP Registry](https://registry.modelcontextprotocol.io)
474
+ - [Getting Started Guide](docs/GETTING-STARTED.md)
475
+ - [How It Works](docs/HOW-IT-WORKS.md)