Back to Directory/Analytics & BI

ai.rolli/mcp

Social media search, expert discovery, and analytics across X, Reddit, YouTube, and more

Analytics & BITypeScriptv1.2.1

Tools

ToolDescription
list_keyword_searchesList all keyword searches, filtered by status
keyword_searchCreate a keyword/hashtag search and return results when complete
get_keyword_searchGet keyword search results (status, analytics, posts)
list_user_searchesList all user searches, filtered by status
user_searchCreate a user profile search and return results when complete
get_user_searchGet user search results (profile, metrics, content analysis)
list_expert_searchesList all expert searches, filtered by status
expert_searchFind experts matching a natural-language query and return results when complete
get_expert_searchGet expert search results (recommended experts with AI-generated match summaries)
get_topic_treeGet conversation topic tree for a keyword search
get_keyword_search_postsGet raw posts from a keyword search
get_user_search_postsGet raw posts from a user search
list_agent_runsList Rolli Agent runs (AI-driven social intelligence investigations)
start_agent_runStart a Rolli Agent investigation and return the markdown report when complete
get_agent_runGet a Rolli Agent run by ID (progress while running, full report when complete)
cancel_agent_runCancel a pending or running Rolli Agent run
rerun_agent_runRetry a failed, waiting, or stuck Rolli Agent run
update_agent_runPin or rename a Rolli Agent run
delete_agent_runSoft-delete a completed or failed Rolli Agent run
list_agent_schedulesList Rolli Agent scheduled reports
create_agent_scheduleCreate a recurring Rolli Agent report (daily/weekly/monthly/once)
get_agent_scheduleGet a Rolli Agent schedule with its 10 most recent runs
update_agent_scheduleUpdate a Rolli Agent schedule
delete_agent_schedulePermanently delete a Rolli Agent schedule
pause_agent_schedulePause a Rolli Agent schedule
resume_agent_scheduleResume a paused Rolli Agent schedule
list_agent_schedule_runsList the full execution history of a Rolli Agent schedule
get_integration_setupGet current integration settings (webhook URL, name)
update_integration_setupSet the webhook URL for search completion notifications
get_usageGet API usage data and per-user breakdowns

Setup

You need a Rolli account with API access. Get your API token from rolli.ai.

Claude Desktop / Claude Code / VS Code / Cursor / Windsurf

Add to your MCP config (claude_desktop_config.json, .vscode/mcp.json, or equivalent):

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

ROLLI_USER_ID is optional and defaults to "rolli-mcp". Set it to override with your own user ID.

Optional Environment Variables

VariableDefaultDescription
ROLLI_USER_ID"rolli-mcp"User ID sent with API requests
ROLLI_POLL_INTERVAL_MS5000Polling interval (ms) when waiting for search results
ROLLI_MAX_POLL_MS600000Max time (ms) to wait before search timeout (default: 10 min)

Smithery

This server includes a smithery.yaml for deployment via Smithery. It will prompt for your API token during setup.

Usage Examples

Search for a keyword across social media:

"Search for posts about 'artificial intelligence' on Twitter and Reddit from the last week"

Analyze a user profile:

"Look up @elonmusk on Twitter and analyze their recent posts"

Get topic breakdown:

"Show me the topic tree for my keyword search #123"

Check API usage:

"How many searches have I used this month?"

Set up a webhook:

"Set my webhook URL to https://myapp.com/rolli-callback"

Optional X/Twitter Source Context

Rolli is useful for cross-platform social search, topic trees, user analysis, and scheduled social intelligence reports. If an agent also needs reviewed account-scoped X/Twitter source evidence before a Rolli investigation, collect that evidence in an approved OpenClaw workflow such as TweetClaw, then pass only the reviewed handles, post URLs, post IDs, excerpts, or summary notes into Rolli prompts.

Keep Rolli and TweetClaw credentials separate. Do not transfer API tokens, cookies, sessions, or account credentials between tools. Treat TweetClaw output as source context for Rolli searches and reports, not as publishing approval.

Development

npm ci
npm run lint    # ESLint
npm run build   # TypeScript
npm test        # Vitest

CI runs on every push and PR to master. Releases published on GitHub automatically publish to npm (requires NPM_TOKEN repo secret).

License

MIT

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y @rolli/mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "ai-rolli-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@rolli/mcp"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

@rolli/mcpnpm

Compatible MCP Clients

ai.rolli/mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More