Package: rairai 0.2.7

Juha Itkonen

rairai: Model Context Protocol Server for Package Intelligence

Helps artificial intelligence (AI) agents develop 'R' packages more efficiently and make better-informed code changes. Provides focused, package-aware context through the Model Context Protocol (MCP) so agents can understand existing behavior and assess changes with less manual exploration. Inspects packages without loading or executing their code.

Authors:Juha Itkonen [aut, cre]

rairai_0.2.7.tar.gz
rairai_0.2.7.zip(r-4.7-any)rairai_0.2.7.zip(r-4.6-any)rairai_0.2.7.zip(r-4.5-any)
rairai_0.2.7.tgz(r-4.6-any)rairai_0.2.7.tgz(r-4.5-any)
rairai_0.2.7.tar.gz(r-4.7-any)rairai_0.2.7.tar.gz(r-4.6-any)
rairai_0.2.7.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
rairai/json (API)

# Install 'rairai' in R:
install.packages('rairai', repos = c('https://tosidata.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/tosidata/rairai/issues

Pkgdown/docs site:https://tosidata.github.io

On CRAN:

Conda:

quarto

4.65 score 1 exports 41 dependencies

Last updated from:fd0097f56d. Checks:4 OK, 5 ERROR. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK182
source / vignettesOK210
linux-releaseOK201
macos-releaseERROR150
macos-oldrelERROR376
windows-develERROR175
windows-releaseERROR150
windows-oldrelERROR180
wasm-releaseOK136

Exports:serve

Dependencies:askpasscachemclicpp11credentialscurlfastmapfrontmatterfsgertgluehttrjsonlitelifecyclemagrittrmcplitemimenanonextopensslotelpillarpkgconfigpkgsearchpurrrR6rlangrstudioapirvestselectrstringistringrsystibbletomledittreesittertreesitter.rutf8vctrsxml2yaml12zip

MCP tool schemas and example outputs
How to read this vignette | Regenerating the content

Last update: 2026-10-31
Started: 2026-10-18

Design principles
Assumed agent environment | Implementation boundaries | Source location policy | P1 — Design for LLM workflows, not IDE cursors | P2 — Reduce guessing | P3 — Prefer compact, structured outputs | P4 — Build composable primitives and useful workflows | P5 — Avoid overlap with general coding tools | P6 — Keep R package semantics central | P7 — Make safe change workflows easier | P8 — Keep the MCP surface reviewable | P9 — Make optional arguments safe against client defaulting | Questions for new tools

Last update: 2026-10-18
Started: 2026-10-18

Toolset overview
Target workflows | W1 — Understand a symbol | W2 — Prepare a safe code change | W3 — Refactor without guessing | W4 — Diagnose a failure or warning | W5 — Explore an unfamiliar package | W6 — Add or update tests | Tool surface and package roots | Usability goals | Tool purposes | Package orientation tools | Preferred workflow routes | Symbol and source navigation tools | Definition, reference, and impact tools | Function inspection tools | Test and documentation discovery tools | R6 structure tools | Questions for tool review

Last update: 2026-10-18
Started: 2026-10-18