MCP Directory
Back

mcptools

by posit-dev · R · ★ 170

Model Context Protocol For R

#mcp-server#r

Install

git clone https://github.com/posit-dev/mcptools.git

Claude Desktop config

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "mcptools": {
      "command": "npx",
      "args": [
        "-y",
        "github:posit-dev/mcptools"
      ]
    }
  }
}

From the README

[](https://lifecycle.r-lib.org/articles/stages.html#experimental) [](https://CRAN.R-project.org/package=mcptools) [](https://github.com/posit-dev/mcptools/actions/workflows/R-CMD-check.yaml) mcptools implements the [Model Context Protocol](https://modelcontextprotocol.io/) in R. There are two sides to mcptools: **R as an MCP server**: When configured with mcptools, MCP-enabled tools like Claude Desktop, Claude Code, and VS Code GitHub Copilot can run R code *in the sessions you have running* to answer your questions. While the package supports configuring arbitrary R functions, you may be i…
Read full README on GitHub →

💡 Need a managed MCP host?

Try Claude Pro for the smoothest MCP experience, or browse our cloud-hosted servers.

Related filesystem servers