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.4.1.tar.gz (21.1 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.4.1-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: clauder_mcp-0.4.1.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for clauder_mcp-0.4.1.tar.gz
Algorithm Hash digest
SHA256 cc6eb50145b546eaad5903d8b0a7bd66657486df6a05a52169623b8b94867a12
MD5 aa869a1f997c6a4f8a8d25bbfb23245f
BLAKE2b-256 729da341c577f8672200a7b4288cf321e28d87e10f66f05c77b0a597ba1f433c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clauder_mcp-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 21.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for clauder_mcp-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ecb3cd086e3c6b586bc3d3c6193f44f20ab25a0f431795c93ac4960bf843559b
MD5 5211544a6883bbe71fa2385aae8876ef
BLAKE2b-256 0ade64c41393f7ed0b8336b4cdd31f5481a1cbbd3cd75d652867f8175bd1c1ee

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