Model Context Protocol Servers and Clients
Overview
Implements the Model Context Protocol (MCP). Users can start 'R'-based servers, serving functions as tools for large language models to call before responding to the user in MCP-compatible apps like 'Claude Desktop' and 'Claude Code', with options to run those tools inside of interactive 'R' sessions. On the other end, when 'R' is the client via the 'ellmer' package, users can register tools from third-party MCP servers to integrate additional context into chats.
Fix a test that failed on CRAN M1mac machines.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 3 (1 internal)includes a package overview page
- Examples that run
- 100%2 run in a plain check (1 of them under a condition)
- Exported functions with examples
- 100%
- Documented parameters
- 92%
- Return-value docs
- 100%
- Help pages citing references
- 0%
- R as an MCP server HTML
Downloads
Repository
- PRs merged (all time)
- 92%
- Median days to close, 50 most recently updated closed issues
- 6
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
10 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/posit-dev/mcptools on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-20 · The repository has a site deploy workflow
pkgdown site last built 2026-09-28
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2025-06-06Seen in the repository: CLAUDE.mdNamed in .Rbuildignore: .claude, CLAUDE.mdNamed in .gitignore: .claude
- Claude CodePull requests: 1 from outside contributors, first on 2026-09-25, 1 from forks
Dependencies
Installing mcptools adds 31 packages (21 with compiled code, 19 MB of source tarballs). Heaviest: promises 3.1 MB, ellmer 3.0 MB, Rcpp 1.8 MB.
Code & Tests
People & History
Package metadata
- First published
- 2025-07-18
- Total releases
- 8 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 746 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("mcptools")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.