From rbest-r
Connects Claude to a local R installation to run R code via the btw package, providing tools for documentation, environment info, session info, and code execution.
Ships in rbest-r. Installing the plugin adds it to Claude Code.
Copy this JSON into your .mcp.json to enable this server
Add to your .mcp.json:
{
"mcpServers": {
"r-btw": {
"command": "sh",
"args": [
"-c",
"PATH=\"$PATH:/usr/local/bin:/opt/homebrew/bin:/Library/Frameworks/R.framework/Resources/bin:$HOME/.local/bin\"; exec Rscript -e \"btw::btw_mcp_server(btw::btw_tools('docs', 'env', 'sessioninfo', 'run'))\""
]
}
}
}Command-line arguments passed to the server process
Server configuration and connection parameters
shnpx claudepluginhub novartis/rbest --plugin rbest-r