SocialRouter MCP Server
OfficialThe SocialRouter MCP Server enables LLM agents to extract social media data and run query-driven searches through a unified API, along with account management.
Extract social media data (
extract): Pull data from supported platforms (LinkedIn, Instagram, X, Reddit, Facebook, TikTok, YouTube, Pinterest, Bluesky, Snapchat, Google Maps) via single or batch URLs, with configurable result limits and explicit provider selection or automatic routing. Supported extraction types include:post.likes– Users who liked a postpost.comments– Comments on a postprofile.info– Profile informationprofile.posts– Posts from a profileprofile.followers– Followers of a profile
Perform query-driven searches: Conduct searches (e.g., Google Maps place searches) with per-query record limits and optional provider fallback.
List available providers (
list_providers): View all data extraction providers and their operational status.Get provider details: Access detailed information and pricing for a specific provider.
Retrieve past results (
get_extraction): Fetch results of a previously performed extraction or search by its unique ID.Check credit balance (
get_balance): Monitor your SocialRouter account's current credit balance.View usage summary: Get a breakdown of data usage by provider and platform.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SocialRouter MCP Serverextract profile info for https://linkedin.com/in/janedoe"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 and run query-driven searches through a single unified API.
Supported platforms include LinkedIn, Instagram, X, Reddit, Facebook, TikTok, YouTube, Pinterest, Bluesky, Snapchat, and Google Maps.
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.
Related MCP server: Ayrshare Unofficial MCP Server
How it works
The server is a thin, stateless wrapper over the API, built around service
slugs of the form <provider>/<platform>/<type> (e.g.
brightdata/linkedin/profile.info). The agent discovers what exists with
list_services, then calls extract (URL-driven) or search (query-driven)
with the chosen slug. The MCP does no URL detection and no routing — picking
the right service is the agent's job, and the catalog gives it everything it
needs: platform, type, price per record, and batch cap for every live
service.
Every slug is validated against the live catalog (GET /v1/providers)
before the request is sent:
the
serviceparameter is an enum of the slugs live at startup, so the agent cannot invent an invalid one;at call time the slug is re-checked against the refreshed catalog (5-minute TTL) and the batch size against the provider's cap;
validation failures return corrective errors listing the closest valid alternatives (same platform/type, other providers) instead of a bare 4xx.
The catalog is fetched once at startup — if it cannot be loaded the server exits, since an unreachable catalog means the API itself is unreachable — and refreshed lazily afterwards; if a refresh fails, the last known catalog keeps being served.
Tools
Tool | Description |
| One row per live (provider, platform, type) with price per record and batch cap, cheapest first within each platform/type. Filter by |
| Extract data from one or more URLs through a service slug. All URLs in a call must belong to the service's platform. |
| Query-driven search (no URL needed) through a search service slug (type ends in |
| Retrieve a previous extraction or search by ID. |
| Credit balance + usage summary (by provider and platform) over the last N days. |
extract / search parameters
Param | Tools | Description |
|
| One or more URLs, all on the service's platform. |
|
| One or more search terms, or URLs that pin the search context. |
| both | Required. Service slug |
| both | Optional. Max records to return (default 100). |
| both | Optional, advanced. Actor variant of the service, appended to the slug as |
| both | Optional. Retry alternative providers on failure (default |
| both | Optional. Actor-specific overrides (e.g. |
Typical flow
list_serviceswithplatform: "linkedin"→ see what LinkedIn data is available and at what price.extractwithurls: ["https://www.linkedin.com/in/..."]andservice: "brightdata/linkedin/profile.info".(async results)
get_extractionwith the returned ID.
Environment Variables
Variable | Required | Default |
| yes | — |
| no |
|
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/socialrouter/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server