socialcrawl-mcp 1.2.0 → 1.3.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.
- package/LICENSE +1 -196
- package/README.md +27 -8
- package/dist/__tests__/data-integrity.test.js +14 -7
- package/dist/__tests__/data-integrity.test.js.map +1 -1
- package/dist/data/docs.js +5 -3
- package/dist/data/docs.js.map +1 -1
- package/dist/data/endpoints.js +473 -0
- package/dist/data/endpoints.js.map +1 -1
- package/dist/data/platforms.js +38 -2
- package/dist/data/platforms.js.map +1 -1
- package/package.json +2 -2
package/LICENSE
CHANGED
|
@@ -1,193 +1,6 @@
|
|
|
1
|
-
The MCP project is undergoing a licensing transition from the MIT License to the Apache License, Version 2.0 ("Apache-2.0"). All new code and specification contributions to the project are licensed under Apache-2.0. Documentation contributions (excluding specifications) are licensed under CC-BY-4.0.
|
|
2
|
-
|
|
3
|
-
Contributions for which relicensing consent has been obtained are licensed under Apache-2.0. Contributions made by authors who originally licensed their work under the MIT License and who have not yet granted explicit permission to relicense remain licensed under the MIT License.
|
|
4
|
-
|
|
5
|
-
No rights beyond those granted by the applicable original license are conveyed for such contributions.
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
Apache License
|
|
10
|
-
Version 2.0, January 2004
|
|
11
|
-
http://www.apache.org/licenses/
|
|
12
|
-
|
|
13
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
14
|
-
|
|
15
|
-
1. Definitions.
|
|
16
|
-
|
|
17
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
18
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
19
|
-
|
|
20
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
21
|
-
the copyright owner that is granting the License.
|
|
22
|
-
|
|
23
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
24
|
-
other entities that control, are controlled by, or are under common
|
|
25
|
-
control with that entity. For the purposes of this definition,
|
|
26
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
27
|
-
direction or management of such entity, whether by contract or
|
|
28
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
29
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
30
|
-
|
|
31
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
32
|
-
exercising permissions granted by this License.
|
|
33
|
-
|
|
34
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
35
|
-
including but not limited to software source code, documentation
|
|
36
|
-
source, and configuration files.
|
|
37
|
-
|
|
38
|
-
"Object" form shall mean any form resulting from mechanical
|
|
39
|
-
transformation or translation of a Source form, including but
|
|
40
|
-
not limited to compiled object code, generated documentation,
|
|
41
|
-
and conversions to other media types.
|
|
42
|
-
|
|
43
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
44
|
-
Object form, made available under the License, as indicated by a
|
|
45
|
-
copyright notice that is included in or attached to the work
|
|
46
|
-
(an example is provided in the Appendix below).
|
|
47
|
-
|
|
48
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
49
|
-
form, that is based on (or derived from) the Work and for which the
|
|
50
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
51
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
52
|
-
of this License, Derivative Works shall not include works that remain
|
|
53
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
54
|
-
the Work and Derivative Works thereof.
|
|
55
|
-
|
|
56
|
-
"Contribution" shall mean any work of authorship, including
|
|
57
|
-
the original version of the Work and any modifications or additions
|
|
58
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
59
|
-
submitted to the Licensor for inclusion in the Work by the copyright
|
|
60
|
-
owner or by an individual or Legal Entity authorized to submit on behalf
|
|
61
|
-
of the copyright owner. For the purposes of this definition, "submitted"
|
|
62
|
-
means any form of electronic, verbal, or written communication sent
|
|
63
|
-
to the Licensor or its representatives, including but not limited to
|
|
64
|
-
communication on electronic mailing lists, source code control systems,
|
|
65
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
66
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
67
|
-
excluding communication that is conspicuously marked or otherwise
|
|
68
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
69
|
-
|
|
70
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
71
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
72
|
-
subsequently incorporated within the Work.
|
|
73
|
-
|
|
74
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
75
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
78
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
79
|
-
Work and such Derivative Works in Source or Object form.
|
|
80
|
-
|
|
81
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
82
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
83
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
84
|
-
(except as stated in this section) patent license to make, have made,
|
|
85
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
86
|
-
where such license applies only to those patent claims licensable
|
|
87
|
-
by such Contributor that are necessarily infringed by their
|
|
88
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
89
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
90
|
-
institute patent litigation against any entity (including a
|
|
91
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
92
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
93
|
-
or contributory patent infringement, then any patent licenses
|
|
94
|
-
granted to You under this License for that Work shall terminate
|
|
95
|
-
as of the date such litigation is filed.
|
|
96
|
-
|
|
97
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
98
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
99
|
-
modifications, and in Source or Object form, provided that You
|
|
100
|
-
meet the following conditions:
|
|
101
|
-
|
|
102
|
-
(a) You must give any other recipients of the Work or
|
|
103
|
-
Derivative Works a copy of this License; and
|
|
104
|
-
|
|
105
|
-
(b) You must cause any modified files to carry prominent notices
|
|
106
|
-
stating that You changed the files; and
|
|
107
|
-
|
|
108
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
109
|
-
that You distribute, all copyright, patent, trademark, and
|
|
110
|
-
attribution notices from the Source form of the Work,
|
|
111
|
-
excluding those notices that do not pertain to any part of
|
|
112
|
-
the Derivative Works; and
|
|
113
|
-
|
|
114
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
115
|
-
distribution, then any Derivative Works that You distribute must
|
|
116
|
-
include a readable copy of the attribution notices contained
|
|
117
|
-
within such NOTICE file, excluding those notices that do not
|
|
118
|
-
pertain to any part of the Derivative Works, in at least one
|
|
119
|
-
of the following places: within a NOTICE text file distributed
|
|
120
|
-
as part of the Derivative Works; within the Source form or
|
|
121
|
-
documentation, if provided along with the Derivative Works; or,
|
|
122
|
-
within a display generated by the Derivative Works, if and
|
|
123
|
-
wherever such third-party notices normally appear. The contents
|
|
124
|
-
of the NOTICE file are for informational purposes only and
|
|
125
|
-
do not modify the License. You may add Your own attribution
|
|
126
|
-
notices within Derivative Works that You distribute, alongside
|
|
127
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
128
|
-
that such additional attribution notices cannot be construed
|
|
129
|
-
as modifying the License.
|
|
130
|
-
|
|
131
|
-
You may add Your own copyright statement to Your modifications and
|
|
132
|
-
may provide additional or different license terms and conditions
|
|
133
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
134
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
135
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
136
|
-
the conditions stated in this License.
|
|
137
|
-
|
|
138
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
139
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
140
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
141
|
-
this License, without any additional terms or conditions.
|
|
142
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
143
|
-
the terms of any separate license agreement you may have executed
|
|
144
|
-
with Licensor regarding such Contributions.
|
|
145
|
-
|
|
146
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
147
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
148
|
-
except as required for reasonable and customary use in describing the
|
|
149
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
150
|
-
|
|
151
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
152
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
153
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
154
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
155
|
-
implied, including, without limitation, any warranties or conditions
|
|
156
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
157
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
158
|
-
appropriateness of using or redistributing the Work and assume any
|
|
159
|
-
risks associated with Your exercise of permissions under this License.
|
|
160
|
-
|
|
161
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
162
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
163
|
-
unless required by applicable law (such as deliberate and grossly
|
|
164
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
165
|
-
liable to You for damages, including any direct, indirect, special,
|
|
166
|
-
incidental, or consequential damages of any character arising as a
|
|
167
|
-
result of this License or out of the use or inability to use the
|
|
168
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
169
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
170
|
-
other commercial damages or losses), even if such Contributor
|
|
171
|
-
has been advised of the possibility of such damages.
|
|
172
|
-
|
|
173
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
174
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
175
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
176
|
-
or other liability obligations and/or rights consistent with this
|
|
177
|
-
License. However, in accepting such obligations, You may act only
|
|
178
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
179
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
180
|
-
defend, and hold each Contributor harmless for any liability
|
|
181
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
182
|
-
of your accepting any such warranty or additional liability.
|
|
183
|
-
|
|
184
|
-
END OF TERMS AND CONDITIONS
|
|
185
|
-
|
|
186
|
-
---
|
|
187
|
-
|
|
188
1
|
MIT License
|
|
189
2
|
|
|
190
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2026 Ridio Company
|
|
191
4
|
|
|
192
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
193
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -206,11 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
206
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
207
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
208
21
|
SOFTWARE.
|
|
209
|
-
|
|
210
|
-
---
|
|
211
|
-
|
|
212
|
-
Creative Commons Attribution 4.0 International (CC-BY-4.0)
|
|
213
|
-
|
|
214
|
-
Documentation in this project (excluding specifications) is licensed under
|
|
215
|
-
CC-BY-4.0. See https://creativecommons.org/licenses/by/4.0/legalcode for
|
|
216
|
-
the full license text.
|
package/README.md
CHANGED
|
@@ -2,13 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
# socialcrawl-mcp
|
|
4
4
|
|
|
5
|
-
**Give your AI agent access to
|
|
5
|
+
**Give your AI agent access to 27 platforms — social media, web research, prediction markets, and a universal cross-platform meta-search — through a single API**
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/socialcrawl-mcp)
|
|
8
8
|
[](https://registry.modelcontextprotocol.io)
|
|
9
|
-
[](https://socialcrawl.dev)
|
|
10
|
+
[](https://socialcrawl.dev/docs)
|
|
11
11
|
[](LICENSE)
|
|
12
|
+
[](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>
|
|
12
17
|
|
|
13
18
|
[Overview](#overview) | [Installation](#installation) | [Setup](#setup) | [Usage](#usage) | [Tools](#available-tools) | [Platforms](#supported-platforms)
|
|
14
19
|
|
|
@@ -18,9 +23,9 @@
|
|
|
18
23
|
|
|
19
24
|
## Overview
|
|
20
25
|
|
|
21
|
-
`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
|
|
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 27 platforms and 133 endpoints.
|
|
22
27
|
|
|
23
|
-
Retrieve profiles, posts, comments, search results, trending content, and analytics from TikTok, Instagram, YouTube, Twitter/X, LinkedIn, Reddit, and
|
|
28
|
+
Retrieve profiles, posts, comments, search results, trending content, and analytics from TikTok, Instagram, YouTube, Twitter/X, LinkedIn, Reddit, GitHub, Hacker News, Polymarket, and 18 more platforms — 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. One API key, one consistent response format, every platform.
|
|
24
29
|
|
|
25
30
|
**What the MCP server does:**
|
|
26
31
|
- Discovers available platforms and endpoints dynamically
|
|
@@ -30,6 +35,14 @@ Retrieve profiles, posts, comments, search results, trending content, and analyt
|
|
|
30
35
|
|
|
31
36
|
## Installation
|
|
32
37
|
|
|
38
|
+
### npm
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
npm install -g socialcrawl-mcp
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
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.
|
|
45
|
+
|
|
33
46
|
### Claude Code (quickest)
|
|
34
47
|
|
|
35
48
|
```bash
|
|
@@ -239,14 +252,20 @@ Pass an `idempotencyKey` to `socialcrawl_request` (UUIDv4 recommended) to make t
|
|
|
239
252
|
| **Instagram** | 12 | Profiles, posts, reels, comments, highlights, search |
|
|
240
253
|
| **YouTube** | 12 | Channels, videos, shorts, playlists, comments, trending, comment replies |
|
|
241
254
|
| **Facebook** | 12 | Profiles, posts, reels, photos, groups, Ad Library |
|
|
242
|
-
| **
|
|
243
|
-
| **
|
|
255
|
+
| **GitHub** | 12 | Users, repos, issues, PRs, READMEs, releases, search, repo dossier, user profile-velocity |
|
|
256
|
+
| **Twitter/X** | 7 | Profiles, tweets, communities, video transcripts, AI search via Grok |
|
|
244
257
|
| **Reddit** | 7 | Subreddits, posts, comments, search, ads |
|
|
258
|
+
| **LinkedIn** | 6 | Profiles, company pages, posts, Ad Library |
|
|
245
259
|
| **Threads** | 5 | Profiles, posts, search |
|
|
246
260
|
| **Pinterest** | 4 | Search, pins, boards |
|
|
247
261
|
| **Google** | 4 | Search, Ad Library |
|
|
262
|
+
| **Tavily** | 4 | Web search (with LLM answer), URL extraction, sitemap, full crawl |
|
|
263
|
+
| **Hacker News** | 4 | Story search, story, comment tree, profile |
|
|
248
264
|
| **Truth Social** | 3 | Profiles, posts |
|
|
249
265
|
| **Twitch** | 2 | Profiles, clips |
|
|
266
|
+
| **Polymarket** | 2 | Prediction-market search + multi-query research fan-out |
|
|
267
|
+
| **Perplexity** | 1 | Sonar web research with cited sources |
|
|
268
|
+
| **Universal Search** | 1 | One query, fanned out across 12 platforms (20cr) |
|
|
250
269
|
| **Snapchat** | 1 | Profiles |
|
|
251
270
|
| **Kick** | 1 | Clips |
|
|
252
271
|
| **Amazon** | 1 | Shop pages |
|
|
@@ -257,7 +276,7 @@ Pass an `idempotencyKey` to `socialcrawl_request` (UUIDv4 recommended) to make t
|
|
|
257
276
|
| **Pillar** | 1 | Link pages |
|
|
258
277
|
| **Utility** | 1 | Age & gender detection |
|
|
259
278
|
|
|
260
|
-
**Total:
|
|
279
|
+
**Total: 133 endpoints across 27 platforms.**
|
|
261
280
|
|
|
262
281
|
## Error Handling
|
|
263
282
|
|
|
@@ -3,8 +3,8 @@ import { PLATFORMS, findPlatform, getAllPlatformSlugs } from "../data/platforms.
|
|
|
3
3
|
import { ENDPOINTS, findEndpoint, getEndpointsByPlatform } from "../data/endpoints.js";
|
|
4
4
|
import { getDoc, getAvailableTopics } from "../data/docs.js";
|
|
5
5
|
describe("Platform data integrity", () => {
|
|
6
|
-
it("has exactly
|
|
7
|
-
expect(PLATFORMS).toHaveLength(
|
|
6
|
+
it("has exactly 27 platforms", () => {
|
|
7
|
+
expect(PLATFORMS).toHaveLength(27);
|
|
8
8
|
});
|
|
9
9
|
it("every platform has a non-empty slug, name, and description", () => {
|
|
10
10
|
for (const platform of PLATFORMS) {
|
|
@@ -26,13 +26,13 @@ describe("Platform data integrity", () => {
|
|
|
26
26
|
it("findPlatform returns undefined for unknown slug", () => {
|
|
27
27
|
expect(findPlatform("nonexistent")).toBeUndefined();
|
|
28
28
|
});
|
|
29
|
-
it("getAllPlatformSlugs returns
|
|
30
|
-
expect(getAllPlatformSlugs()).toHaveLength(
|
|
29
|
+
it("getAllPlatformSlugs returns 27 slugs", () => {
|
|
30
|
+
expect(getAllPlatformSlugs()).toHaveLength(27);
|
|
31
31
|
});
|
|
32
32
|
});
|
|
33
33
|
describe("Endpoint data integrity", () => {
|
|
34
|
-
it("has exactly
|
|
35
|
-
expect(ENDPOINTS.length).toBe(
|
|
34
|
+
it("has exactly 133 endpoints", () => {
|
|
35
|
+
expect(ENDPOINTS.length).toBe(133);
|
|
36
36
|
});
|
|
37
37
|
it("every endpoint has required fields", () => {
|
|
38
38
|
for (const endpoint of ENDPOINTS) {
|
|
@@ -40,7 +40,9 @@ describe("Endpoint data integrity", () => {
|
|
|
40
40
|
expect(endpoint.resource).toBeTruthy();
|
|
41
41
|
expect(endpoint.method).toBe("GET");
|
|
42
42
|
expect(["standard", "advanced", "premium"]).toContain(endpoint.creditTier);
|
|
43
|
-
|
|
43
|
+
// 20 is the flat-cost override for /v1/search/everywhere; every other
|
|
44
|
+
// endpoint follows the standard 1/5/10 ladder.
|
|
45
|
+
expect([1, 5, 10, 20]).toContain(endpoint.creditCost);
|
|
44
46
|
expect(endpoint.archetype).toBeTruthy();
|
|
45
47
|
expect(endpoint.summary).toBeTruthy();
|
|
46
48
|
}
|
|
@@ -48,6 +50,11 @@ describe("Endpoint data integrity", () => {
|
|
|
48
50
|
it("creditCost matches creditTier", () => {
|
|
49
51
|
const tierCosts = { standard: 1, advanced: 5, premium: 10 };
|
|
50
52
|
for (const endpoint of ENDPOINTS) {
|
|
53
|
+
// Universal-search endpoint overrides the tier ladder with a flat 20.
|
|
54
|
+
if (endpoint.platform === "search" && endpoint.resource === "everywhere") {
|
|
55
|
+
expect(endpoint.creditCost).toBe(20);
|
|
56
|
+
continue;
|
|
57
|
+
}
|
|
51
58
|
expect(endpoint.creditCost).toBe(tierCosts[endpoint.creditTier]);
|
|
52
59
|
}
|
|
53
60
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-integrity.test.js","sourceRoot":"","sources":["../../src/__tests__/data-integrity.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AACpF,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;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;QACnC,MAAM,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAC3C,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,6CAA6C,EAAE,GAAG,EAAE;QACrD,MAAM,GAAG,GAAG,MAAM,CAAC,aAAa,CAAE,CAAC;QACnC,MAAM,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAC/B,MAAM,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,QAAQ,CAAC,sCAAsC,EAAE,GAAG,EAAE;IACpD,EAAE,CAAC,uCAAuC,EAAE,GAAG,EAAE;QAC/C,MAAM,QAAQ,GAAG,MAAM,CAAC,UAAU,CAAE,CAAC;QACrC,MAAM,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,qBAAqB,CAAC,CAAC;IACpD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/dist/data/docs.js
CHANGED
|
@@ -8,7 +8,7 @@ import { ENDPOINTS, getEndpointsByPlatform } from "./endpoints.js";
|
|
|
8
8
|
const HANDWRITTEN = {
|
|
9
9
|
overview: `# SocialCrawl API
|
|
10
10
|
|
|
11
|
-
Unified social media data API. One API key, one response format,
|
|
11
|
+
Unified social media data API. One API key, one response format, 27 platforms, 133 endpoints.
|
|
12
12
|
|
|
13
13
|
## Base URL
|
|
14
14
|
|
|
@@ -75,8 +75,10 @@ Every request costs credits. The MCP server pre-calculates cost from the endpoin
|
|
|
75
75
|
| Tier | Cost per request | Typical use |
|
|
76
76
|
|------|------------------|-------------|
|
|
77
77
|
| standard | 1 credit | Profile, post, comment, search endpoints |
|
|
78
|
-
| advanced | 5 credits | Trending feeds, audience analytics, ad transparency |
|
|
79
|
-
| premium | 10 credits | AI-powered utilities (
|
|
78
|
+
| advanced | 5 credits | Trending feeds, audience analytics, ad transparency, GitHub composite endpoints, Polymarket research |
|
|
79
|
+
| premium | 10 credits | AI-powered utilities (transcript generation, age/gender detection, GitHub user/profile-velocity) |
|
|
80
|
+
|
|
81
|
+
A single endpoint overrides this ladder: \`GET /v1/search/everywhere\` (universal meta-search) costs a flat **20 credits** because it fans out across 12 platforms in parallel.
|
|
80
82
|
|
|
81
83
|
## Caching
|
|
82
84
|
|
package/dist/data/docs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs.js","sourceRoot":"","sources":["../../src/data/docs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAGnE;;;;GAIG;AAEH,MAAM,WAAW,GAA2B;IAC1C,QAAQ,EAAE;;;;;;;;;;;;;;EAcV,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,aAAa,YAAY,CAAC,CAAC,aAAa,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;4CAuBrE;IAE1C,cAAc,EAAE;;;;;;;;;;;;;;;;;;;;;mMAqBiL;IAEjM,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"docs.js","sourceRoot":"","sources":["../../src/data/docs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAGnE;;;;GAIG;AAEH,MAAM,WAAW,GAA2B;IAC1C,QAAQ,EAAE;;;;;;;;;;;;;;EAcV,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,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