Back to MCP Servers
🔌

R mcptools

NOASSERTIONAPI key required

An R SDK for creating R-based MCP servers and retrieving functionality from third-party MCP servers as R functions.

RProductivity

Install

npx -y r-mcptools

Required environment variables

GITHUB_PERSONAL_ACCESS_TOKENSet in your MCP config
YOUR_TOKENSet in your MCP config

claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "r-mcptools": {
      "command": "npx",
      "args": [
        "-y",
        "r-mcptools"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_GITHUB_PERSONAL_ACCESS_TOKEN>",
        "YOUR_TOKEN": "<YOUR_YOUR_TOKEN>"
      }
    }
  }
}

Add this to your Claude Desktop config file. Find it at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS.