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.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://cran.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

3.18 score 1 exports 41 dependencies

Last updated from:69f1fd4028. Checks:4 OK, 2 ERROR. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK134
source / vignettesOK245
linux-releaseOK158
windows-develERROR202
windows-releaseERROR146
wasm-releaseOK138

Exports:serve

Dependencies:askpasscachemclicpp11credentialscurlfastmapfrontmatterfsgertgluehttrjsonlitelifecyclemagrittrmcplitemimenanonextopensslotelpillarpkgconfigpkgsearchpurrrR6rlangrstudioapirvestselectrstringistringrsystibbletomledittreesittertreesitter.rutf8vctrsxml2yaml12zip

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-11-18
Started: 2026-11-18

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

Last update: 2026-11-18
Started: 2026-11-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-11-18
Started: 2026-11-18