Listed from the MCP registry; nobody on Odel publishes it.

MCP server: One MCP server.

Sociallens

@cloudcorprecordsMCP server · External

Rolli IQ social search and analytics: keyword, user and expert searches, agents, usage.

Social media analyticsv0.1.0MITTypeScript
Freeno charge per call

Runs on your machine from its package; the steps are below.

What it does

  1. Reads
  2. Writes
  3. High impact

At most: creates or changes data: records, files, settings.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Runs locally over stdio

This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).

npm@reneturcios/sociallensv0.1.0

Run

npx -y @reneturcios/sociallens

MCP client config

{
  "mcpServers": {
    "sociallens": {
      "command": "npx",
      "args": [
        "-y",
        "@reneturcios/sociallens"
      ]
    }
  }
}
Dockerghcr.io/cloudcorprecords/sociallens:0.1.0

Run

docker run -i --rm ghcr.io/cloudcorprecords/sociallens:0.1.0

MCP client config

{
  "mcpServers": {
    "sociallens": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/cloudcorprecords/sociallens:0.1.0"
      ]
    }
  }
}
README4 min read

sociallens talks to Rolli IQ's social-media search and analytics API: keyword, user, and expert searches and the posts they find, the topic tree, agent runs, agent schedules, integration setup, and account usage. One binary serves a command-line interface and a stdio MCP server.

An API token is required. Set ROLLI_API_TOKEN before use; when it is missing or blank, every tool fails with an error before any request is made. ROLLI_USER_ID is optional and defaults to rolli-mcp; its value is sent with every request. The API base URL can be overridden with SOCIALENS_API_URL; when it is not set, calls go to https://api.rolli.ai.

One difference from the original server is worth knowing up front: the original waits, polling until a search completes (which can take up to ten minutes). sociallens makes a single request per tool call and returns whatever status and results the API reports at that moment; call the matching get_* tool again to check on a search that is still running.

Install

bash
npx @reneturcios/sociallens get_usage

Or run the container image:

bash
docker run -i ghcr.io/cloudcorprecords/sociallens

The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.

CLI

The subcommands mirror the MCP tool names:

bash
export ROLLI_API_TOKEN=...

sociallens list_keyword_searches --status completed
sociallens keyword_search --query "electric vehicles" --platforms x,reddit
sociallens get_keyword_search --id ks1
sociallens get_keyword_search_posts --id ks1
sociallens list_user_searches
sociallens user_search --query "@someone"
sociallens list_expert_searches
sociallens expert_search --query "climate science"
sociallens get_topic_tree
sociallens list_agent_runs --status running
sociallens start_agent_run --agent-id ag1 --input "weekly roundup"
sociallens create_agent_schedule --agent-id ag1 --cron-expression "0 9 * * *" --name daily
sociallens pause_agent_schedule --id s1
sociallens list_agent_schedule_runs --id s1
sociallens get_integration_setup
sociallens update_integration_setup --platform slack --enabled true
sociallens get_usage

sociallens --version

Results print the upstream JSON payload. Exit codes: 0 on success, 1 when a call fails (including a missing token or an upstream API error), 2 for usage errors.

MCP server

One bin serves both faces. The mcp subcommand starts a stdio MCP server:

bash
npx -y @reneturcios/sociallens mcp

MCP client configuration:

json
{
  "mcpServers": {
    "sociallens": {
      "command": "npx",
      "args": ["-y", "@reneturcios/sociallens", "mcp"],
      "env": { "ROLLI_API_TOKEN": "..." }
    }
  }
}

Tools

ToolInputWhat it does
list_keyword_searchesstatus (optional)List keyword searches.
keyword_searchquery (required), platforms, start_date, end_dateStart a keyword search.
get_keyword_searchid (required)Get one keyword search.
list_user_searchesstatus (optional)List user searches.
user_searchquery (required), platforms, start_date, end_dateStart a user search.
get_user_searchid (required)Get one user search.
list_expert_searchesstatus (optional)List expert searches.
expert_searchquery (required), platforms, start_date, end_dateStart an expert search.
get_expert_searchid (required)Get one expert search.
get_topic_tree(none)Get the topic tree.
get_keyword_search_postsid (required)Get a keyword search's posts.
get_user_search_postsid (required)Get a user search's posts.
list_agent_runsstatus (optional)List agent runs.
start_agent_runagent_id (required), inputStart an agent run.
get_agent_runid (required)Get one agent run.
cancel_agent_runid (required)Cancel an agent run.
rerun_agent_runid (required)Re-run an agent run.
update_agent_runid (required), name, statusUpdate an agent run.
delete_agent_runid (required)Delete an agent run.
list_agent_schedulesstatus (optional)List agent schedules.
create_agent_scheduleagent_id, cron_expression (both required), nameCreate an agent schedule.
get_agent_scheduleid (required)Get one agent schedule.
update_agent_scheduleid (required), name, cron_expression, agent_idUpdate an agent schedule.
delete_agent_scheduleid (required)Delete an agent schedule.
pause_agent_scheduleid (required)Pause an agent schedule.
resume_agent_scheduleid (required)Resume an agent schedule.
list_agent_schedule_runsid (required), statusList a schedule's runs.
get_integration_setup(none)Get the integration setup.
update_integration_setupplatform, webhook_url, enabledUpdate the integration setup.
get_usage(none)Get account usage.

platforms is an array of platform names. Dates use YYYY-MM-DD form as start_date / end_date.

Development

bash
npm install
npm run build   # tsc -> dist/
npm test        # node test runner over test/*.test.ts, no network (fake fetch fixtures)
npm run dev     # run the CLI from source via tsx

License

MIT — see LICENSE.

Similar modules

Browse Social media analytics