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
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










