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
- ClaudeR R Package - Full documentation, installation guide, and features
- License - MIT
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clauder_mcp-0.3.1.tar.gz.
File metadata
- Download URL: clauder_mcp-0.3.1.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3262b207e004a69b6c7eea24b20ca7d19d2f417df5e4f141451345d1816cd789
|
|
| MD5 |
250016cb0b0945e1de7c0aba7248a728
|
|
| BLAKE2b-256 |
6e762d63fc44dad00fb08cb70d8edc1d2e924d22268db89c19f9b87f659bd73f
|
File details
Details for the file clauder_mcp-0.3.1-py3-none-any.whl.
File metadata
- Download URL: clauder_mcp-0.3.1-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bf409ec7846a41485a4fcc8dd614d7d828455bb51ba3bcc14168cfe3f33baa4
|
|
| MD5 |
2297d5d76b6e93579b354d20ac1e62d9
|
|
| BLAKE2b-256 |
b8ae5e33b12b55f6f25c73c6cdd36ffdf071a9759808a01d3adc9fc9d5f7af3b
|