MCP Hub
Back to servers

SocialRouter MCP Server

Enables LLM agents to extract social media data (LinkedIn, Instagram, X, Reddit) via the SocialRouter API, supporting tools for extraction, provider listing, balance checking, and retrieval of past extractions.

glama
Updated
Apr 27, 2026

SocialRouter MCP Server

An MCP server that exposes the SocialRouter API to LLM agents. Plug it into Claude Desktop, Claude Code, Cursor, or any MCP-compatible client to let the agent extract social media data (LinkedIn, Instagram, X, Reddit) — likes, comments, profile info, posts, followers — through a single unified API.

Configuration

Get an API key at socialrouter.io, then add the server to your MCP client config.

Claude Desktop / Claude Code

{
  "mcpServers": {
    "socialrouter": {
      "command": "npx",
      "args": ["-y", "@socialrouter/mcp"],
      "env": {
        "SOCIALROUTER_API_KEY": "sr_live_xxxxxxxxxxxxx"
      }
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json with the same shape.

Tools

ToolDescription
extractExtract data from a social media URL. Pick an extraction type matching the URL kind.
list_providersList available data extraction providers and their status.
get_balanceCheck your SocialRouter credit balance.
get_extractionRetrieve a previous extraction by ID.

extract parameters

ParamRequiredDescription
urlyesFull URL of the social media content
typeyespost.likes, post.comments, profile.info, profile.posts, or profile.followers
limitnoMax records (default 100)
providernoProvider override (e.g. lobstr, apify) — omit to let SocialRouter route automatically

Environment Variables

VariableRequiredDefault
SOCIALROUTER_API_KEYyes
SOCIALROUTER_BASE_URLnohttps://api.socialrouter.io

License

MIT

Reviews

No reviews yet

Sign in to write a review