John Coene - Build Model Context Protocol servers and clients in R @RinPharma
John Coene - Build Model Context Protocol servers and clients in R  @RinPharma
Uploaded December 2025 | Updated November 2026, 2 days ago
Build Model Context Protocol servers and clients in R (John Coene)

Abstract: The mcpr package provides a comprehensive R implementation of the Model Context Protocol (MCP), a standardized JSON-RPC 2.0 interface that enables R applications to expose computational capabilities to AI models. This package bridges the gap between R's statistical computing environment and modern AI assistants by allowing R developers to create MCP servers that expose tools, resources, and prompts as well as client functionality to interact with existing MCP servers.
Key features include schema-based tool definitions, multi-modal response support, and seamless integration with popular AI development environments including Claude Code, Cursor, and VS Code. This implementation democratizes AI-R integration by providing a standards-based approach to exposing R's extensive ecosystem to conversational AI interfaces, opening new possibilities for interactive data analysis and statistical computing workflows.

Presented at the 2025 R/Pharma Conference Europe/US Track.

Resources mentioned in the presentation:

- {mcpr}: Model Context Protocol for R mcpr.opifex.org
- Presentation slides: https://rrr.is/mcpr
John Coene - Build Model Context Protocol servers and clients in RIntroduction to Machine Learning with {tidymodels}Daniel Sjoberg, Davide Garolini - How the {crane} Package Extends the Framework for Pharma ReportingKnowledge Graphs for Drug DiscoveryMia Chen, Peng Zhang - Emerging trend of LLM development in R and implementationCraig Gower-Page - An arrow towards the future: A critical look at data formatsSimon Couch - Practical AI for data sciencePointblank to Ensure Maximal Data QualityAgents and MCP and RAG, Oh My! - Devin PastoorSteven Brooks, Pietro Mascheroni, Xiecheng Gu - {meRlin} - Context-aware AI assistantDaniel Sjoberg: Analysis Results Data with {gtsummary} and {cards}Quarto All the Things!
R in Pharma |

John Coene - Build Model Context Protocol servers and clients in R

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER