Skip to content
MCP server

rolli.ai

MCP server for cross-platform social media search, expert discovery and analytics

Runs locally

rolli.ai is an MCP server for social media analytics. It runs locally on your machine and is started by your AI client.

Platforms
API, CLI, Self-hosted
Runs
Locally
What it can do
Can change data (2 tools)
Access
Needs a secret key or token
Version
1.2.1
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

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.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.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.

Claude Desktop setup guide

Add to ~/.cursor/mcp.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.

Cursor setup guide

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

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

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@rolli/mcp"
      ],
      "env": {
        "ROLLI_API_TOKEN": "<ROLLI_API_TOKEN>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.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

    Antigravity

    Add to ~/.gemini/config/mcp_config.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.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.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.

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "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.

    Junie

    Add to ~/.junie/mcp/mcp.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.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.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.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • ROLLI_API_TOKENRolli API token (purchase at rolli.ai)Required
  • ROLLI_USER_IDRolli user ID (optional, defaults to "rolli-mcp")

About rolli.ai

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.

Tools this server provides (7)

Taken from the project documentation; the running server may differ.

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_searchName suggests: reads
Create a keyword/hashtag search and return results when complete
user_searchName suggests: reads
Create a user profile search and return results when complete
expert_searchName suggests: reads
Find experts matching a natural-language query and return results when complete
get_topic_treeName suggests: reads
Get conversation topic tree for a keyword search
start_agent_runName suggests: changes
Start a Rolli Agent investigation and return the markdown report when complete
create_agent_scheduleName suggests: changes
Create a recurring Rolli Agent report (daily/weekly/monthly/once)
get_usageName suggests: reads
Get API usage data and per-user breakdowns

What it does

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

rolli.ai 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.

How AIPoweredBot checks servers