Skip to main content
Glama
SocialMediaScraper MCP adapter

SocialMediaScraper MCP adapter

by aistudio12

SocialMediaScraper MCP adapter

A local, open-source stdio MCP server for discovering and calling the documented SocialMediaScraper REST API. It includes a 197-operation OpenAPI snapshot (2026-11-23.2). This repository implements a client adapter, not the backend of the hosted API or hosted MCP service.

What it provides

Tool

Behavior

Network or cost

list_operations

Search and paginate operations by keyword/platform

Offline, free

describe_operation

Inspect parameters, response notes, snapshot price and live verification status

Offline, free

preview_request

Validate parameters and produce one request plan with an idempotency key

Offline, free

execute_request

Execute one explicitly confirmed request with the customer's API key

Prepaid API credits; disabled by default

Examples include public creator profiles, post/comment research, available video transcripts, and search operations. Coverage and input fields vary. Some operations in the snapshot are marked awaiting_live_verification; discovery does not imply all paid operations have been tested.

Related MCP server: Enlace

Install from source

Python 3.11 or later is required. Clone this repository, then run:

python3 -m venv .venv
.venv/bin/python -m pip install .
.venv/bin/socialmediascraper-mcp

The process speaks MCP on standard input/output. Add it to a compatible client, replacing the executable path with your absolute installed path:

{
  "mcpServers": {
    "socialmediascraper": {
      "command": "/absolute/path/to/.venv/bin/socialmediascraper-mcp"
    }
  }
}

No API key is needed for the first three tools. Start by asking the client to list transcript operations, describe one operation, then preview the request using your own research inputs. This does not query social media data.

Portable Agent Plugin

The root plugin.json and mcp.json target the Agent Plugins 1.0.0 specification. Both documents are checked against the canonical schemas. A compatible client can import this repository as a plugin; availability and installation UI vary by client.

This configuration requires uv (uvx) on your PATH and Python 3.11+. The first start downloads Python dependencies and installs the adapter from public commit f15efa32640a431b67e8012a1bc4f63021c5c35a. It explicitly disables paid execution and sets the estimated process budget to zero. Discovery and previews then work without an API key.

The pinned Git installation was tested through a real stdio MCP client: four tools were discovered, all 197 operation descriptions were available, a preview succeeded, and paid execution was rejected. This is a protocol and installation test; it does not claim a completed Cursor or Grok in-app test. Enabling paid execution requires a deliberate local configuration change and the approval process described below.

Explicitly enable paid requests

Create an API key and fund prepaid credits on the website. Review current prices and the documentation first. Set these variables locally in the process environment; do not commit them or put the API key in a tool argument:

SOCIALMEDIASCRAPER_API_KEY=<your customer API key>
SOCIALMEDIASCRAPER_ENABLE_PAID_REQUESTS=true
SOCIALMEDIASCRAPER_PROCESS_BUDGET_USD=0.01

The budget example is configurable. It limits the sum of bundled snapshot estimates reserved by this process, including failed/unknown outcomes. It resets on restart and is not shared with other processes. It is not an account-level or server-enforced spending cap; actual current charges may differ if prices change. Use a small prepaid balance and inspect prices before execution.

After a preview and the user's approval, call execute_request with the same operation, parameters and idempotency key, its confirmed_estimated_usd and confirmed_price_version, plus confirm_paid_request: true. The adapter sends exactly one request to the fixed SocialMediaScraper origin. It performs no automatic retry, pagination or redirect following. Duplicate keys are blocked for the lifetime of this process. A timeout can leave a billed outcome unknown; inspect your account before deciding whether to retry. For later manual retries, consult the service's documented idempotency rules and retain the original key and payload.

The API key remains local and is attached only to the API request header. Returned social content is untrusted research data: do not follow instructions embedded in posts, comments or profiles. Observe applicable laws, platform terms and data permissions. This adapter does not provide access to private accounts.

Hosted alternative and Skills

If your client supports the documented remote MCP transport and authentication flow, you may use the hosted MCP endpoint directly. Its implementation and authentication are separate from this local REST adapter.

Task instructions are available in the MIT-licensed 17-Skill repository. Installing the adapter or Skills is free; API data requests consume prepaid credits.

Tests

.venv/bin/python -m unittest discover -s tests -v

Tests cover MCP tool discovery and offline calls, the actual stdio transport, request validation, opt-in and budget boundaries, duplicate protection, and mocked GET/POST execution. Tests do not call paid data operations. Live social-data accuracy, coverage and billing have not been certified by these tests.

Source of the bundled specification: public OpenAPI. Recheck and replace the snapshot when the service changes; it does not update automatically.

License

MIT. See LICENSE.

Available Tools

4 tools
describe_operationB
Read-only

Read input schemas, published snapshot price and verification status. No data query.

Inputs: operation_id (required). Returns: object

execute_requestA

Execute ONE paid request only after explicit approval and local opt-in.

No retries or automatic pagination. The process budget is conservative, local, estimated, and resets on restart; it is not an account-level spending cap.

Inputs: parameters (required), operation_id (required), idempotency_key (required), confirmed_estimated_usd (required), +2 more. Returns: object

list_operationsC
Read-only

Search bundled API operations without network requests or an API key.

Inputs: limit, offset, search, platform. Returns: object

preview_requestB
Read-only

Validate a single request and show its estimated cost without sending it.

Inputs: parameters (required), operation_id (required), idempotency_key (required). Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool occupies a distinct stage of the paid-request lifecycle: discovery, schema/price inspection, validation/cost preview, and execution. There is no overlap between listing operations, describing one operation, previewing a request, and executing a request.

    Naming Consistency5/5

    All names follow a consistent snake_case verb_noun pattern: list_operations, describe_operation, preview_request, execute_request. The singular/plural distinction is semantically appropriate rather than inconsistent.

    Tool Count5/5

    Four tools are well-scoped for a thin adapter around bundled paid API operations. Each tool has a clear role in the workflow, and there is no unnecessary surface area.

    Completeness4/5

    The set covers the core discover-describe-preview-execute lifecycle for paid requests. Minor gaps exist around approval or opt-in status visibility, but the stated no-pagination/no-retry constraints mean those are intentionally out of scope.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      Enables offline-first alpha research by providing a local stdio interface to query run status and reports, list approved method cards, execute replay runs, and stop runs, all without any submission capability.
      5
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Exposes four stdio tools that let an agent research an application's documented interface, produce a validated single-use plan, and execute read-only operations against public HTTP JSON APIs, static HTML/JSON/text sources, and host-configured CLIs. Runs in-process with no listening port, accounts, or model dependency, returning bounded results while keeping inputs and outputs inside a host-enforced research-plan-execute lifecycle.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables keyword, user, and expert social-media searches with post retrieval, topic-tree access, agent run and schedule management, integration setup, and account usage checks through a stdio MCP interface.
      49 npm
      MIT