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.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
claude mcp add cli -- npx -y insightsocial{
"mcpServers": {
"cli": {
"command": "npx",
"args": ["-y", "insightsocial"]
}
}
}Resumen de MCP Servers
# insightsocial
The official CLI and MCP server for the [InsightSocial API](https://www.insightsocial.app/docs):
live public data from **Instagram, TikTok, LinkedIn, Facebook, YouTube, X, Reddit, Threads and
Pinterest** through one key.
- **239 endpoints**: profiles, public emails, posts, reels, comments, followers, likers, hashtags,
search, company pages, jobs, ads and transcripts.
- **One schema across platforms**: a TikTok video and an Instagram post come back with the same fields
(`post.url`, `post.engagement.likes`, `computed.engagement_rate`).
- **Priced per endpoint, charged per call.** Empty results, failed calls and idempotent replays are
free.
- **Built for agents.** Every result is saved in full, and you re-slice it locally with jq for free, so
a 50 KB page never ends up in your context.
## Quick start
```sh
npx -y insightsocial init # save your key, install the agent skill, show MCP setup
npx -y insightsocial search instagram followers
npx -y insightsocial run /v1/instagram/profile -p handle=natgeo
npx -y insightsocial view --last --jq '.data.author | {username, followers}'
```
Get a key at <https://www.insightsocial.app/portal/api/keys>. New accounts include free calls.
## Use it from an AI agent
### Claude Code plugin
```
/plugin marketplace add insightsocial/skills
/plugin install insightsocial@insightsocial
```
This installs the skill and the MCP server together, from
[insightsocial/skills](https://github.com/insightsocial/skills). Run `npx -y insightsocial login` once so
the server can find your key.
### MCP server (any client)
```sh
claude mcp add insightsocial --scope user -- npx -y insightsocial mcp
```
```json
{
"mcpServers": {
"insightsocial": { "command": "npx", "args": ["-y", "insightsocial", "mcp"] }
}
}
```
The server reads the key saved by `insightsocial login`, so the config holds no secret. You can
also pass `INSIGHTSOCIAL_API_KEY` in its `env`. Without a key, search and describe still work.
| Tool | What it does |
| --- | --- |
| `search_endpoints` | Find endpoints by keywords and platform. Free. |
| `describe_endpoint` | Inputs, allowed values, an example and the price for one endpoint. Free. |
| `call_endpoint` | Fetch data. Saves the full response and returns a `result_id` with a trimmed view (10 items by default) and a ready `next_call` for the next page. |
| `read_result` | Re-slice a saved result with jq, fields, max_items or an outline with sizes. Free. |
| `get_credits` | Balance, plan and usage. Free. |
`insightsocial init --yes` writes the MCP entry into Claude Code, Codex and Cursor for you.
## Commands
| Command | |
| --- | --- |
| `init [--yes] [--no-skills]` | Save a key, install the skill for detected agents, print or write the MCP config. |
| `login [--api-key k]` / `logout` | Save (after checking it) or remove your key. |
| `search <words> [--platform p]` | Find endpoints. Free. |
| `list [--platform p]` | Every endpoint with its price. Free. |
| `describe <path>` | Inputs, example and price. Free. |
| `run <path> -p name=value …` | Call an endpoint. Saves to `./.insightsocial/`. Options: `--input <json>`, `-i file`, `--idempotency-key`, `--fresh`, `--max-credits N`, `-o file`, `--json`, and the shaping flags below. |
| `view [file] [--last [endpoint]]` | Re-shape a saved result. No network, no charge. |
| `credits` | Balance and usage. Free. |
| `mcp` | Start the MCP server over stdio. |
Shaping flags (`run` and `view`) trim only what is printed; the saved file is always complete:
- `--jq <expr>`: real jq (bundled, nothing to install) over the saved response. Paths start at `.data`.
- `--fields a,b.c`: keep these keys on each item. Dotted paths descend.
- `--max-items N`: show at most N items.
- `--summary`: the structure with byte sizes, so you can see what is large before pulling it.
Paging: when there is another page, `run` prints the exact `next` command. Each page is a
separate charged call.
## Configuration
| | |
| --- | --- |
| Key | `--api-key`, then `INSIGHTSOCIAL_API_KEY`, then `~/.insightsocial/config.json` (mode 600) |
| `INSIGHTSOCIAL_BASE_URL` | Defaults to `https://api.insightsocial.app` |
| `INSIGHTSOCIAL_HOME` | Defaults to `~/.insightsocial` (config, catalogue cache, MCP results) |
## Develop
```sh
npm install
npm run check # build + unit tests, no network and no key needed
```
## License
MIT
Lo que la gente pregunta sobre cli
¿Qué es insightsocial/cli?
+
insightsocial/cli es mcp servers para el ecosistema de Claude AI. 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. Tiene 0 estrellas en GitHub y su última actualización registrada es del 2026-10-03.
¿Cómo se instala cli?
+
Puedes instalar cli clonando el repositorio (https://github.com/insightsocial/cli) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar insightsocial/cli?
+
Nuestro agente de seguridad ha analizado insightsocial/cli y le ha asignado un Trust Score de 95/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene insightsocial/cli?
+
insightsocial/cli es mantenido por insightsocial. La última actividad registrada en GitHub es del 2026-10-03, con 0 issues abiertos.
¿Hay alternativas a cli?
+
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
Despliega cli en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/insightsocial-cli)<a href="https://claudewave.com/repo/insightsocial-cli"><img src="https://claudewave.com/api/badge/insightsocial-cli" alt="Featured on ClaudeWave: insightsocial/cli" width="320" height="64" /></a>Más MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
The fastest path to AI-powered full stack observability, even for lean teams.