Official InsightSocial CLI and MCP server - 239 social data endpoints (Instagram, TikTok, LinkedIn, YouTube, X and 4 more) behind one key. Built for AI agents.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add insightsocial --env INSIGHTSOCIAL_API_KEY='<INSIGHTSOCIAL_API_KEY>' -- npx -y insightsocial~/.codex/config.toml
[mcp_servers.insightsocial]
command = "npx"
args = ["-y", "insightsocial"]
env = { INSIGHTSOCIAL_API_KEY = "<INSIGHTSOCIAL_API_KEY>" }
# codex mcp add insightsocial --env INSIGHTSOCIAL_API_KEY='<INSIGHTSOCIAL_API_KEY>' -- npx -y insightsocial~/.cursor/mcp.json
{
"mcpServers": {
"insightsocial": {
"command": "npx",
"args": [
"-y",
"insightsocial"
],
"env": {
"INSIGHTSOCIAL_API_KEY": "<INSIGHTSOCIAL_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"insightsocial": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"insightsocial"
],
"env": {
"INSIGHTSOCIAL_API_KEY": "<INSIGHTSOCIAL_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"insightsocial": {
"command": "npx",
"args": [
"-y",
"insightsocial"
],
"env": {
"INSIGHTSOCIAL_API_KEY": "<INSIGHTSOCIAL_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"insightsocial": {
"command": "npx",
"args": [
"-y",
"insightsocial"
],
"env": {
"INSIGHTSOCIAL_API_KEY": "<INSIGHTSOCIAL_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"insightsocial": {
"command": "npx",
"args": [
"-y",
"insightsocial"
],
"env": {
"INSIGHTSOCIAL_API_KEY": "<INSIGHTSOCIAL_API_KEY>"
}
}
}
}Remote
claude mcp add --transport http insightsocial https://api.insightsocial.app/mcp~/.codex/config.toml
[mcp_servers.insightsocial]
url = "https://api.insightsocial.app/mcp"
# codex mcp add insightsocial --url https://api.insightsocial.app/mcp~/.cursor/mcp.json
{
"mcpServers": {
"insightsocial": {
"url": "https://api.insightsocial.app/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"insightsocial": {
"type": "http",
"url": "https://api.insightsocial.app/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"insightsocial": {
"httpUrl": "https://api.insightsocial.app/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"insightsocial": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.insightsocial.app/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"insightsocial": {
"url": "https://api.insightsocial.app/mcp"
}
}
}Environment variables
INSIGHTSOCIAL_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.