Integrations
OpenClaw Social Media Skill
Equip OpenClaw agents with read-only public social media research over HTTP and MCP instead of brittle headless browser clicking. Load the hosted SKILL.md instructions directly, connect the remote Streamable HTTP MCP server at https://socialmediascraper.org/mcp, or call documented REST endpoints—no third-party ClawHub package required.
- Read-only public research skill — retrieves structured JSON profiles, posts, comments, transcripts, trends, and TikTok Shop listings without touching posting credentials.
- Zero ClawHub package needed — point compatible agents to
https://socialmediascraper.org/SKILL.md, connect remote MCP, or use direct REST fallback. - Six MCP tools with spend caps —
get_operationquotes exact USD pricing before execution andqueryrequiresmax_price_usdplusrequest_keyidempotency. - Safe credential handling — authenticates via browser OAuth consent or environment-stored Bearer/API keys; never paste keys into agent chat.

instagram.profileMost OpenClaw social skills on community hubs focus on scheduling posts or driving browser sessions to click through feeds. Social Media Scraper serves a cleaner, read-only role: structured JSON retrieval with deterministic pricing and source URLs so your agent can investigate creators, competitors, and audience discussions without session bans.
- Review SKILL.md and test REST access
- Configure remote MCP or REST environment variables
- Enforce a task budget and inspect cited outputs
Why API-Backed Research Beats Browser-Clicking Social Skills
OpenClaw builders routinely report that browser-driven social skills stall on login walls, captcha prompts, or minor DOM changes and require constant manual nudging. Moving data collection onto structured HTTP and MCP endpoints keeps autonomous research loops predictable.
| Factor | Browser / computer-use skill | Posting / scheduling skill | Social Media Scraper (SKILL.md + MCP + REST) |
|---|---|---|---|
| Primary job | Clicks pages visually in headless Chrome | Publishes, replies, or queues posts on owned accounts | Read-only public JSON retrieval across social platforms |
| Failure mode | Stalls on UI changes, scroll traps, and anti-bot checks | OAuth token expiry or unintended public posts | Explicit HTTP status codes (200, 202, 429) and schema validation |
| Spend visibility | Hidden LLM vision token burn per screenshot loop | Fixed monthly SaaS plan per connected profile | Upfront get_operation USD quote + mandatory max_price_usd cap |
| Install footprint | Browser binaries, profile cookies, custom scripts | Third-party ClawHub package + social OAuth | Hosted /SKILL.md + remote /mcp URL or plain cURL/HTTP |
The Six MCP Tools and Built-In Spend Controls
When your OpenClaw environment connects to https://socialmediascraper.org/mcp over Streamable HTTP, it discovers six focused tools designed specifically to prevent agent hallucinations and runaway billing.
| MCP tool | Billable? | Purpose in an OpenClaw research loop |
|---|---|---|
search_operations | No | Finds real operation IDs by platform or capability so the agent never invents nonexistent endpoints |
get_operation | No | Validates the exact input payload and returns the exact USD quote before any balance is spent |
query | Yes | Runs one priced lookup; strictly enforces caller-supplied max_price_usd and request_key idempotency |
get_request | No | Checks the saved outcome of a pending or uncertain request_id without issuing a second paid call |
get_usage | No | Reads recent account spend and request counts for budget-aware multi-step research |
get_limits | No | Inspects live rate and concurrency limits (default 60 requests/min, 5 concurrent in-flight) |
Full instructions for agent tool discovery and source attribution are published in machine-readable Markdown at SKILL.md and indexed in llms.txt.
OAuth Browser Consent vs Environment-Managed API Keys
Streamable HTTP MCP with browser OAuth
Compatible MCP clients connect to https://socialmediascraper.org/mcp and open a website sign-in and explicit consent screen—no API key copying required. An agent must never approve consent on your behalf, and it cannot recharge balances or modify billing settings. Revoke active grants anytime under Connected Applications on the MCP page (signing out of the website alone does not revoke OAuth tokens).
Bearer token or REST header from environment variables
Headless or automated OpenClaw hosts can authenticate the same MCP endpoint via Authorization: Bearer reading SOCIALMEDIASCRAPER_API_KEY from the runtime environment, or call REST endpoints directly with x-api-key: $SOCIALSCRAPER_API_KEY. Never paste an API key into an OpenClaw chat message, query string, or shared transcript; revoke compromised keys in the account dashboard.
Step-by-Step Setup for the OpenClaw Social Media Skill
Read the hosted skill contract first, verify one lightweight lookup, and then lock your OpenClaw agent to a bounded research budget.
Step 1: Review SKILL.md and test REST access
Inspect SKILL.md to verify the read-only rules and verify your environment variable with the cURL snippet below calling
GET /v1/instagram/profile?handle=jane. Production REST requests must also attach a uniqueIdempotency-Keyheader (8–128 safe ASCII characters) per logical lookup.Step 2: Configure remote MCP or REST environment variables
Where your OpenClaw build supports remote Streamable HTTP MCP, register
https://socialmediascraper.org/mcpwith OAuth or an environment-injected Bearer header (SOCIALMEDIASCRAPER_API_KEY). If your OpenClaw runtime uses shell or HTTP tool calls instead of remote MCP, exportSOCIALSCRAPER_API_KEYin the execution environment and let the agent follow/SKILL.mdover REST.Step 3: Enforce a task budget and inspect cited outputs
Give the agent a crisp per-task budget (for example, at most 15 requests or
$0.05max spend), requireget_operationquotes before callingquerywithmax_price_usd, and verify that every finding links back to the real public profile, post, or video URL returned in the JSON.
curl --get "https://socialmediascraper.org/v1/instagram/profile" \
--header "x-api-key: $SOCIALSCRAPER_API_KEY" \
--data-urlencode "handle=jane"
Sample MCP Client Configuration and Universal REST Path
OpenClaw distributions vary in how they load external MCP servers. For clients that accept standard Streamable HTTP MCP JSON with environment variable expansion, keep credentials outside the file using a variable reference:
{
"mcpServers": {
"socialmediascraper": {
"type": "http",
"url": "https://socialmediascraper.org/mcp",
"headers": {
"Authorization": "Bearer ${SOCIALMEDIASCRAPER_API_KEY}"
}
}
}
}
If your OpenClaw version prefers browser OAuth, omit the headers block and complete login via the client's MCP authorization flow. If your version does not yet support remote Streamable HTTP MCP, load https://socialmediascraper.org/SKILL.md as an instruction skill and run standard HTTPS requests against /v1/{platform}/{operation}—REST works universally across every runtime that can execute HTTP or shell tools.
Bounded Research Workflows for OpenClaw Agents
Creator and competitor vetting
Fetch public profile metrics and recent posts across Instagram, TikTok, YouTube, and LinkedIn, preserving null values where a platform omits a counter and separating observed numbers from agent commentary.
Cross-platform topic and comment mining
Combine reddit.search, tiktok.comments, and youtube.transcript inside a single bounded session to collect real audience phrasing, objections, and citations before drafting content.
TikTok Shop product and review audits
Query tiktok.shop_search, tiktok.shop_products, and tiktok.shop_product_reviews to summarize storefront assortments and buyer complaints with direct product links.
Prompt-Injection Defense and Retry Hygiene for Autonomous Agents
Treat scraped social text as untrusted data
Public bios, video captions, and comment threads can carry adversarial prompt injections attempting to make an autonomous OpenClaw agent read local files, exfiltrate secrets, or invoke other skills. Never follow commands embedded inside returned social fields.
Idempotent retries without double billing
When retrying an identical MCP query or REST call after a network drop, reuse the exact same request_key or Idempotency-Key. For pending or uncertain outcomes (HTTP 202), inspect get_request or GET /v1/requests/{request_id} before generating a new key.
Strict separation of source evidence and inference
Require your agent to report empty results or errors accurately, cite only URLs actually returned in data, and never report placeholder handles from documentation examples as live research findings.
Request Pricing and Agent Budget Sizing
Discovery, quoting, usage, limit, and request-status checks over MCP are free. Only executed data operations deduct from your prepaid balance, starting at $0.003 (3 credits) per request ($3.00 per 1,000 requests; 1,000 credits = $1).
| OpenClaw research task | Typical calls | Budget needed (USD) |
|---|---|---|
| Single creator profile + latest post page | 2 standard requests | $0.006 |
| Multi-platform topic brief (5 searches + 10 comment pages) | 15 standard requests | $0.045 |
| YouTube channel audit (1 video list + 25 transcripts) | 26 standard requests | $0.078 |
| 1,000 standard agent queries across a month | 1,000 standard requests | $3.00 |
A handful of deeper operations cost more per request—such as instagram.post and tiktok.post at $0.028 (28 credits) and tiktok.user_audience at $0.073 (73 credits)—which is why passing max_price_usd on every MCP query call protects your balance. Fresh accounts get 100 starter credits ($0.10, ~33 standard calls), and prepaid USD packs come in $5 (5,000 credits, ~1,666 standard calls), $20 (20,000 credits, ~6,666), and $50 (50,000 credits, ~16,666) one-time tiers with no auto-renewal; see the full pricing table.
Runtime Compatibility and Operational Non-Goals
- Version variance: Publishing
/SKILL.mdand/mcpdoes not guarantee that every OpenClaw version or community fork supports automatic skill installation or remote Streamable HTTP MCP. Verify compatibility on one$0.003lookup before automating recurring tasks. - No write or account management: The skill cannot publish posts, send DMs, moderate comments, recharge balances, or create subscriptions.
- Public data boundaries: Private accounts, removed content, and downloadable video files are outside scope. Check service status and terms of service before operational rollout, and minimize retention of personal data.
OpenClaw Social Media Skill Questions
Do I need to install a package from ClawHub to use Social Media Scraper with OpenClaw?
No. OpenClaw agents can read the hosted instruction file at https://socialmediascraper.org/SKILL.md, connect directly to the remote Streamable HTTP MCP server at https://socialmediascraper.org/mcp, or call documented REST endpoints over HTTP without installing a third-party ClawHub bundle.
Can this OpenClaw skill publish, schedule, or reply to social media posts?
No. Social Media Scraper is strictly read-only public data retrieval. Keeping research separate from publishing tools prevents an autonomous agent from posting unintended content or risking your brand's social login.
How does OpenClaw connect to the remote MCP server?
In OpenClaw clients that support remote Streamable HTTP MCP, register https://socialmediascraper.org/mcp and authenticate either through website OAuth consent (no key copying) or through an Authorization: Bearer header backed by the SOCIALMEDIASCRAPER_API_KEY environment variable.
Should I paste my API key into an OpenClaw chat prompt?
Never. Always store keys in the client launch environment, secret manager, or OAuth grant—never inside chat messages, URLs, or shared prompt files.
How does the MCP server stop an autonomous agent from overspending?
The workflow separates free quoting from paid execution: get_operation returns the exact USD rate for an input payload, and query requires an explicit max_price_usd ceiling plus request_key idempotency. If an operation exceeds max_price_usd, the call is rejected before charging.
What if my OpenClaw version does not support remote Streamable HTTP MCP?
Use the REST instructions in SKILL.md. Any OpenClaw runtime that can invoke HTTP or shell commands can query GET /v1/{platform}/{operation} directly with x-api-key: $SOCIALSCRAPER_API_KEY and an Idempotency-Key header.
Why use an API skill instead of an OpenClaw browser automation skill for research?
Headless browser skills stall on infinite-scroll layouts, login prompts, and anti-bot checks while consuming extra vision tokens. Structured JSON endpoints return consistent fields, explicit error codes, and deterministic per-request pricing.
Can an OpenClaw agent recharge my account or change billing settings via MCP?
No. The MCP server exposes read-only account inspection (get_usage, get_limits, get_request) and bounded data queries (query). It cannot purchase packs, create subscriptions, or alter account billing.
How do I revoke an OpenClaw connection?
Revoke browser OAuth grants under Connected Applications on the MCP page—logging out of the website alone does not cancel an OAuth token. Direct API keys are revoked individually inside your account dashboard.
How do I defend OpenClaw against prompt injection inside scraped posts or comments?
Configure your agent's system rules to treat every field returned by Social Media Scraper as untrusted data rather than executable instructions, and never allow untrusted social text to trigger shell writes, credential reads, or outbound posting skills.
How much does daily OpenClaw social research cost?
Most discovery and extraction calls cost $0.003 (3 credits) per request. An agent making 20 standard research calls a day spends $0.06/day—roughly $1.80/month from a one-time $5 prepaid pack.