# InsightSocial

Connects AI coding agents to public data across 22 social platforms through a single API. Helpful for pulling creator metrics, reading post feeds, and researching company profiles.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: insightsocial
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/insightsocial/cli
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/mcp/insightsocial

## What it does

The server exposes over 230 endpoints across 22 social networks, including TikTok and YouTube. Responses share a unified schema, mapping post links and engagement numbers to predictable keys. Results are saved locally under `~/.insightsocial`. The agent receives only a compact slice of ten items. This protects the context window from bloat.

Five MCP tools handle discovery and retrieval. `search_endpoints` and `describe_endpoint` look up routes and parameters without calling third-party APIs. To fetch data, the model runs `call_endpoint`. It can then reshape the stored JSON via `read_result` using built-in jq syntax.

Without an API key, the server only searches endpoints and cannot pull profile feeds. You can authenticate via the browser with `npx -y insightsocial login` or export `INSIGHTSOCIAL_API_KEY`. Each successful call consumes credits, but empty results and duplicate replays remain free.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://api.insightsocial.app/mcp`
- Environment variables: `INSIGHTSOCIAL_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http insightsocial https://api.insightsocial.app/mcp
```

2. **Platform CLI**
```bash
claude mcp add --env INSIGHTSOCIAL_API_KEY=<INSIGHTSOCIAL_API_KEY> --transport stdio insightsocial -- npx -y insightsocial
```
Replace <…> with your own values

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add insightsocial --url https://api.insightsocial.app/mcp
```

2. **Platform CLI**
```bash
codex mcp add insightsocial --env INSIGHTSOCIAL_API_KEY=<INSIGHTSOCIAL_API_KEY> -- npx -y insightsocial
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "insightsocial": {
            "url": "https://api.insightsocial.app/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "insightsocial": {
            "command": "npx",
            "args": [
                "-y",
                "insightsocial"
            ],
            "env": {
                "INSIGHTSOCIAL_API_KEY": "<INSIGHTSOCIAL_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "insightsocial": {
            "type": "http",
            "url": "https://api.insightsocial.app/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "insightsocial": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "insightsocial"
            ],
            "env": {
                "INSIGHTSOCIAL_API_KEY": "<INSIGHTSOCIAL_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http insightsocial https://api.insightsocial.app/mcp
```

2. **Platform CLI**
```bash
gemini mcp add -e INSIGHTSOCIAL_API_KEY=<INSIGHTSOCIAL_API_KEY> insightsocial npx -y insightsocial
```
Replace <…> with your own values

## When to use it
- retrieve creator profile metrics from TikTok and YouTube
- collect public posts and comments from Reddit
- inspect company details and job listings on LinkedIn
- slice social network responses locally with jq to save tokens

## Example prompts
- Use InsightSocial to fetch the TikTok profile for natgeo and show subscriber count
- Find InsightSocial endpoints for YouTube hashtag search and describe call parameters
- Pull the latest posts from r/programming on Reddit and extract titles using jq

## Similar
- [labelhead-artist-momentum](https://affpapa.org/en/nevibecode/mcp/labelhead-artist-momentum.md) — MCP server · ★ 107701
- [openshorts](https://affpapa.org/en/nevibecode/mcp/openshorts.md) — MCP server · ★ 7132
- [OpenScreen](https://affpapa.org/en/nevibecode/mcp/openscreen.md) — MCP server · ★ 4963
- [Usertour MCP Server](https://affpapa.org/en/nevibecode/mcp/usertour-mcp-server.md) — MCP server · ★ 2329
- [Appllama](https://affpapa.org/en/nevibecode/mcp/appllama.md) — MCP server · ★ 3228
- [obsei](https://affpapa.org/en/nevibecode/mcp/obsei.md) — MCP server · ★ 1441

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
