Skip to main content

MCP server connecting AI assistants to RStudio for interactive R coding and data analysis

Project description

clauder-mcp

mcp-name: io.github.IMNMV/clauder

MCP server that connects AI assistants to RStudio for interactive R coding and data analysis.

This is the Python MCP bridge component of ClaudeR. It works with Claude Desktop, Claude Code, Codex CLI, Gemini CLI, Cursor, and any other MCP-compatible client.

Prerequisites

You need the ClaudeR R package installed and running in RStudio:

if (!require("devtools")) install.packages("devtools")
devtools::install_github("IMNMV/ClaudeR")
library(ClaudeR)
claudeAddin()

Start the server from the RStudio Viewer pane before connecting your AI tool.

Usage

Claude Code

claude mcp add --transport stdio --scope user r-studio -- uvx clauder-mcp

Codex CLI

codex mcp add r-studio -- uvx clauder-mcp

Gemini CLI

Add to your ~/.gemini/settings.json:

{
  "mcpServers": {
    "r-studio": {
      "command": "uvx",
      "args": ["clauder-mcp"]
    }
  }
}

Claude Desktop / Cursor

Add to your MCP config file:

{
  "mcpServers": {
    "r-studio": {
      "command": "uvx",
      "args": ["clauder-mcp"]
    }
  }
}

Tools

  • execute_r - Execute R code and return output
  • execute_r_with_plot - Execute R code that generates a plot
  • execute_r_async - Run long-running code in a background process
  • get_async_result - Poll for async job results
  • read_file - Read any text file from disk
  • get_active_document - Get the active document in RStudio
  • modify_code_section - Edit code in the active document
  • get_r_info - Get R environment information
  • list_sessions - List available RStudio sessions
  • connect_session - Connect to a specific session
  • get_session_history - View execution history by agent
  • create_task_list - Create a task list for analysis
  • update_task_status - Update task progress

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clauder_mcp-0.3.0.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clauder_mcp-0.3.0-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file clauder_mcp-0.3.0.tar.gz.

File metadata

  • Download URL: clauder_mcp-0.3.0.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for clauder_mcp-0.3.0.tar.gz
Algorithm Hash digest
SHA256 383e5685ad1bf9a777f1b76a7106dcdc66058abd667a9605ad34c5acf2e952ec
MD5 ecd949d6c6b4664e7d12920430f2f6f9
BLAKE2b-256 54eddb5e7d9d26cfefe3f720d40e9458922cbefbc74e7e5f05e49896a9597c1a

See more details on using hashes here.

File details

Details for the file clauder_mcp-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: clauder_mcp-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for clauder_mcp-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 adb59ec88a4f3c5eb599db9c2709d025f6417f84867794a4f0c87c04eb139e7e
MD5 75e9f4cce14961bbd942c104e79947ea
BLAKE2b-256 989fa69dcc7cc8139a23d968cb3c3fe6ec3e269357bf4fd1c9622f3ebcf501ed

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page