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 fetch social media data 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 wire the server into your client. Step-by-step guides, with the config paths and the verification step for each host:
Client | Guide |
Claude Code | |
Claude Desktop | |
Cursor | |
Codex CLI | |
VS Code | |
Gemini CLI | |
Anything else |
Claude Code
claude mcp add socialrouter --scope user \
--env SOCIALROUTER_API_KEY=sr_live_xxxxxxxxxxxxx \
-- npx -y @socialrouter/mcpClaude Desktop
Open the Claude menu in the system menu bar → Settings… → Developer
→ Edit Config. That opens (or creates) claude_desktop_config.json:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"socialrouter": {
"command": "npx",
"args": ["-y", "@socialrouter/mcp"],
"env": {
"SOCIALROUTER_API_KEY": "sr_live_xxxxxxxxxxxxx"
}
}
}
}Quit Claude Desktop completely and reopen it, then check the + button in the chat box → Connectors → Manage connectors.
Cursor
Add the same mcpServers block to ~/.cursor/mcp.json (or .cursor/mcp.json
in a project), then enable the server from Cursor's MCP settings.
Related MCP server: @b2b-saas-inc/olli-mcp-server
How it works
The server is a thin, stateless wrapper over the API, built around services
of the form <platform>/<service> (e.g. linkedin/profile.info,
reddit/subreddit.posts). The agent discovers what exists with
list_services, then calls run with the chosen service and its inputs. 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: the input kind
(URLs or free-text queries), the accepted URL shapes with concrete examples,
the typed options, and the offers behind the service with their price and
batch cap.
Which offer serves a run (apify/harshmaur, brightdata/reddit…) is the
router's call: it walks the failover chain, cheapest first, and the response's
served_by says which one answered. An agent can pin one with provider, but
pinning disables failover — omitting it is the better default.
Every call is validated against the live catalog (GET /v1/services)
before the request is sent:
the
serviceparameter is an enum of the services live at startup, so the agent cannot invent one;at call time the service is re-checked against the refreshed catalog (5-minute TTL), the batch size against the relevant cap (the pinned offer's, or the largest in the chain), and a pinned offer against the ones that actually serve that service;
validation failures return corrective errors listing the valid alternatives 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 |
| Run a service over one or more inputs (URLs or queries, per the service's input kind). |
| Retrieve a past run by ID. |
| Credit balance + usage summary (by offer and platform) over the last N days. |
run parameters
Param | Description |
| Required. |
| Required. URLs (url-kind services) or search queries (query-kind services), all for the service's platform. |
| Optional, advanced. Pin one offer, e.g. |
| Optional. Max records to return (default 100, max 250). |
| Optional. Typed options declared by the service (see |
Typical flow
list_serviceswithplatform: "linkedin"→ see what LinkedIn data is available, in what shape, and at what price.runwithservice: "linkedin/profile.info"andinputs: ["https://www.linkedin.com/in/..."].Read
served_byin the result to know which offer answered.
Environment Variables
Variable | Required | Default |
| yes | — |
| no |
|
Create a key at socialrouter.io/dashboard/keys. If the key is missing, invalid or revoked, the server says so and points there — at startup on stderr, and in the tool result if the key is rejected while running.
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.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables LLMs and agents to interact with LinkedIn's REST API for managing profiles, creating posts, viewing connections, and overseeing organizations.52
- AlicenseCqualityDmaintenanceLets LLMs manage social media presence via olli.social API, with tools for campaigns, drafts, analytics, and more.10010MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to create, schedule, and manage social media posts across 10 platforms via a unified API.

@posteahora/mcpofficial
AlicenseAqualityCmaintenanceEnables AI agents to create, schedule, and publish social media posts across Instagram, X/Twitter, LinkedIn, Threads, Facebook, and other platforms via the PosteAhora API.1512MIT
Related MCP Connectors
Give your agent live data from Twitter, Reddit, the web and GitHub. No API keys, no scraping stack.
Real-time LinkedIn, X (Twitter) and Reddit data for AI agents. Free key, self-minted, no signup.
Twitter/X, Instagram, Reddit & TikTok data for AI agents. Billions of posts. No API keys.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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