Practical overview
When it fits
Use ClaudeR when an MCP-based agent needs access to a live research session, rather than only a prompt or detached code files, and when session-level code logging or multi-agent coordination is useful.
Who it is for
- Researchers who want an AI coding agent to work inside an active R or Python analysis session.
- RStudio or Positron users setting up MCP connections to desktop or command-line agents.
- Teams coordinating multiple agents or keeping separate agent sessions for different datasets.
Documented uses
- Let an agent run code against data and fitted models already loaded in an R session.
- Give an agent access to Python session objects and plots.
- Coordinate agents in one session or keep work isolated across separate sessions.
- Record agent-executed code for review and reproducibility.
- Use live analysis context for manuscript-auditing work.
Requirements & limits
- The documented R package requires R 4.0 or later; the companion Python package is listed for Python 3.9 or later.
- The README provides separate setup routes for desktop clients and CLI tools.
- CLI installers generate configuration that users must apply manually, followed by restarting active clients.
- Logging can include agent-tagged code and session details; a clean script can also be exported from the log.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Set up ClaudeR for an RStudio agent session
Install ClaudeR, configure an MCP client, and start its server in RStudio.
Before you start
- R 4.0 or later
- RStudio
- An MCP-based agent client, such as Claude Code or a supported desktop app
- The README's desktop setup uses uvx by default; a Python path can be supplied as a fallback
Steps
Install devtools if needed, then install ClaudeR from GitHub with devtools::install_github("IMNMV/ClaudeR").
Load ClaudeR and run install_clauder() for a desktop client, or install_cli(tools = "claude") for Claude Code CLI.
For CLI setup, apply the command or configuration generated by the installer; for desktop setup, restart the app after configuration.
In RStudio, run claudeAddin(), choose Start Server, and keep the server window active while using the agent.
Expected outcome
The configured agent can connect to the live R session through MCP.
Guide limitations
- CLI configuration must be applied manually.
- The guide covers the RStudio/R workflow; it does not provide a complete Python-session setup procedure.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 16 November 2026
- Original website title
- IMNMV/ClaudeR · Official homepage title · retained in its source language

