# rolli.ai

> rolli.ai is an MCP server for social media analytics. MCP server for cross-platform social media search, expert discovery and analytics. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** API, CLI, Self-hosted
- **Repository:** https://github.com/rolliinc/rolli-mcp
- **MCP Registry name:** ai.rolli/mcp
- **Categories:** [social media analytics](https://ai-powered.com/categories/social-media-analytics)
- **Listing updated:** 2026-11-27

## About

Rolli's MCP server gives AI clients access to Rolli IQ, a social listening service that searches posts and profiles across X, Reddit, YouTube, Facebook, Instagram, Threads and Bluesky. Keyword, hashtag, user and expert searches can be started and polled, and results come back with analytics, raw posts and a conversation topic tree.

Beyond one-off searches, the server exposes Rolli Agent runs, which carry out AI-driven social intelligence investigations and return a markdown report. Those reports can also be scheduled as daily, weekly, monthly or one-time jobs, paused, resumed and reviewed through their run history.

The package installs with npx and is configured through a JSON entry in an MCP client such as Claude Desktop, Claude Code, VS Code, Cursor or Windsurf. It suits marketers, researchers and analysts who want their assistant to pull social data directly into a conversation.

## Features

- **Cross-platform keyword search:** Runs keyword and hashtag searches across several social networks and returns status, analytics and posts.
- **User profile analysis:** Builds a profile search for a given account, covering metrics and content analysis.
- **Expert discovery:** Finds people matching a natural-language query, with AI-written summaries explaining each match.
- **Topic tree breakdown:** Maps the conversation topics inside a keyword search as a tree.
- **Scheduled agent reports:** Creates recurring Rolli Agent investigations that deliver markdown reports on a set cadence.
- **Webhook notifications:** Sends a callback to a configured URL when a search completes.
- **Usage reporting:** Returns API usage data with per-user breakdowns.

## Good for

- Tracking what people are saying about a brand or topic across several social networks
- Identifying experts on a subject to contact or cite
- Producing recurring social intelligence reports for a team
- Analysing an individual account's recent posts and metrics from inside an AI assistant
- Monitoring API consumption for a shared Rolli account

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add mcp --env ROLLI_API_TOKEN='<ROLLI_API_TOKEN>' -- npx -y @rolli/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@rolli/mcp"
      ],
      "env": {
        "ROLLI_API_TOKEN": "<ROLLI_API_TOKEN>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@rolli/mcp"
      ],
      "env": {
        "ROLLI_API_TOKEN": "<ROLLI_API_TOKEN>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@rolli/mcp"
      ],
      "env": {
        "ROLLI_API_TOKEN": "<ROLLI_API_TOKEN>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@rolli/mcp"
      ],
      "env": {
        "ROLLI_API_TOKEN": "<ROLLI_API_TOKEN>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp --env ROLLI_API_TOKEN='<ROLLI_API_TOKEN>' -- npx -y @rolli/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "@rolli/mcp"]
env = { ROLLI_API_TOKEN = "<ROLLI_API_TOKEN>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@rolli/mcp"
      ],
      "env": {
        "ROLLI_API_TOKEN": "<ROLLI_API_TOKEN>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e ROLLI_API_TOKEN='<ROLLI_API_TOKEN>' mcp npx -- -y @rolli/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@rolli/mcp"
      ],
      "env": {
        "ROLLI_API_TOKEN": "<ROLLI_API_TOKEN>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@rolli/mcp"
      ],
      "env": {
        "ROLLI_API_TOKEN": "<ROLLI_API_TOKEN>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@rolli/mcp"
      ],
      "env": {
        "ROLLI_API_TOKEN": "<ROLLI_API_TOKEN>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@rolli/mcp"
      ],
      "env": {
        "ROLLI_API_TOKEN": "<ROLLI_API_TOKEN>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@rolli/mcp"
      ],
      "env": {
        "ROLLI_API_TOKEN": "<ROLLI_API_TOKEN>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@rolli/mcp"
      ],
      "env": {
        "ROLLI_API_TOKEN": "<ROLLI_API_TOKEN>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@rolli/mcp"
      ],
      "env": {
        "ROLLI_API_TOKEN": "<ROLLI_API_TOKEN>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@rolli/mcp"
      ],
      "env": {
        "ROLLI_API_TOKEN": "<ROLLI_API_TOKEN>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 2 of 7 tools change data. From the server's own tool labels and tool names; not verified by us.

- `keyword_search` (name suggests: reads): Create a keyword/hashtag search and return results when complete
- `user_search` (name suggests: reads): Create a user profile search and return results when complete
- `expert_search` (name suggests: reads): Find experts matching a natural-language query and return results when complete
- `get_topic_tree` (name suggests: reads): Get conversation topic tree for a keyword search
- `start_agent_run` (name suggests: changes): Start a Rolli Agent investigation and return the markdown report when complete
- `create_agent_schedule` (name suggests: changes): Create a recurring Rolli Agent report (daily/weekly/monthly/once)
- `get_usage` (name suggests: reads): Get API usage data and per-user breakdowns

## FAQ

### Does rolli.ai need an account?

Yes. A Rolli account with API access is required, and the ROLLI_API_TOKEN environment variable must be set.

### Which clients can use rolli.ai?

The README gives setup steps for Claude Desktop, Claude Code, VS Code, Cursor and Windsurf, and a Smithery deployment file is included.

### Is the server open source?

Yes, the code is published under the MIT licence and the package is available on npm.

### Is the user ID required?

No. ROLLI_USER_ID is optional and defaults to rolli-mcp.

### How do I add rolli.ai to Claude Code?

Run this command in your terminal: claude mcp add mcp --env ROLLI_API_TOKEN='<ROLLI_API_TOKEN>' -- npx -y @rolli/mcp

### What are the best alternatives to rolli.ai?

The closest alternatives to rolli.ai are Social Research MCP, SocialToAI.app, Prowlo — Reddit & X for AI agents, SocialListeningAPI and Reddit.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Social Research MCP](https://ai-powered.com/mcp/social-research-mcp): Social Research MCP is a freemium MCP server for social media analytics.
- [SocialToAI.app](https://ai-powered.com/mcp/socialtoai-app): SocialToAI.app is a freemium MCP server for social media analytics.
- [Prowlo — Reddit & X for AI agents](https://ai-powered.com/mcp/prowlo-reddit-and-x-for-ai-agents): Prowlo — Reddit & X for AI agents is a freemium MCP server for social media analytics.
- [SocialListeningAPI](https://ai-powered.com/mcp/sociallisteningapi): SocialListeningAPI is a paid MCP server for social media analytics.
- [Reddit](https://ai-powered.com/mcp/reddit): Reddit is a freemium MCP server for social media analytics.
- [Mentionkit](https://ai-powered.com/mcp/mentionkit): Mentionkit is an MCP server for social media analytics.
- [SocialDataX Instagram MCP](https://ai-powered.com/mcp/socialdatax-instagram-mcp): SocialDataX Instagram MCP is an MCP server for design and media.
- [Octolens](https://ai-powered.com/mcp/octolens): Octolens is a freemium MCP server for social media analytics.

---
Source: https://ai-powered.com/mcp/rolli-ai
