MCP Catalogs
HomeClaudeR screenshot

ClaudeR

by IMNMV·227·Score 51

ClaudeR bridges RStudio with MCP-based LLM agents for interactive coding, multi-agent orchestration, and automated manuscript auditing.

ai-llmdeveloper-toolsproductivity
26
Forks
13
Open issues
this month
Last commit
2d ago
Indexed

Overview

ClaudeR is an R package that creates a direct connection between RStudio and MCP-configured LLM agents like Claude Code, Codex, or Qwen Code. It enables interactive coding sessions where AI agents can execute R code in real-time within the RStudio environment, view outputs, and analyze plots. The package supports multi-agent coordination, allowing multiple AI agents to work on one script or operate independently across different RStudio windows with siloed environments.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Interactive data analysis with real-time code execution in RStudio
you:Automated manuscript auditing and statistical verification
you:Multi-agent collaborative coding on R scripts
you:Which LLM agents are supported?
you:Can multiple AI agents work on the same R session?

When to choose this

Choose ClaudeR when you need to connect RStudio to multiple LLM agents for interactive coding, manuscript auditing, or multi-agent data analysis workflows.

When NOT to choose this

Don't choose ClaudeR if you need write access to external systems (it's primarily focused on R execution and analysis), or if you're not working in the R/RStudio ecosystem.

Tools this server exposes

12 tools extracted from the README
  • execute_r

    Execute R code and return the output.

  • execute_r_with_plot

    Execute R code that generates a plot that the model can see.

  • execute_r_async

    Execute long-running R code asynchronously and returns a job ID.

  • get_async_result

    Poll for the result of an asynchronous job.

  • list_sessions

    List all active RStudio sessions the agent can connect to.

  • connect_session

    Connect to a specific RStudio session by name.

  • get_session_history

    View execution history filtered by agent ID.

  • read_file

    Read any text file from disk without needing it open in RStudio.

  • get_active_document

    Get the content of the active document in RStudio.

  • modify_code_section

    Modify a specific section of code in the active document.

  • insert_text

    Insert text at the current cursor position or specific line/column.

  • get_viewer_content

    Read HTML content from the viewer pane (plotly, DT, leaflet widgets).

Comparable tools

r-mcpreticulatetidymlr2ai

Installation

Installation

# Install using devtools
if (!require("devtools")) install.packages("devtools")
devtools::install_github("IMNMV/ClaudeR")

# Set up your AI tool
library(ClaudeR)
install_clauder()          # For Claude Desktop / Cursor
install_cli(tools = "claude")  # For Claude Code CLI

# Start the server in RStudio
claudeAddin()

For Claude Desktop configuration, add to Claude Desktop's config.json:

{
  "mcpServers": {
    "clauder": {
      "command": "Rscript",
      "args": ["-e", "library(ClaudeR); claudeServe()"],
      "env": {
        "R_PROFILE_USER": ""
      }
    }
  }
}

FAQ

Which LLM agents are supported?
ClaudeR supports Claude Code, Codex, Gemini CLI, Qwen Code, and any other MCP-based LLM agents. It can also work with Ollama for private, offline labeling.
Can multiple AI agents work on the same R session?
Yes, ClaudeR has built-in multi-agent coordination protocol that allows multiple agents to share one RStudio session through a shared message board in the R environment.

Compare ClaudeR with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.