Tidymodels MCP Server logo

Tidymodels MCP Server

by JavOrraca

A Model Context Protocol (MCP) server that provides tools and resources for working with the tidymodels ecosystem in R. It can be paired with Cline.bot and Claude Desktop as a local MCP server.

View on GitHub

Last updated: N/A

What is Tidymodels MCP Server?

This MCP server monitors the tidymodels ecosystem, specifically the GitHub repositories under the tidymodels organization, providing comprehensive information about tidymodels packages, functions, and common workflows. It is designed to be extensible for tool-agnostic agentic AI workflows.

How to use Tidymodels MCP Server?

  1. Clone the repository. 2. Install dependencies using npm. 3. Build the server using npm. 4. Configure the server with a GitHub token (optional). 5. Add the server to Cline or Claude Desktop by configuring the respective JSON settings files.

Key features of Tidymodels MCP Server

  • Lists all packages in the tidymodels ecosystem

  • Provides detailed information about specific packages

  • Searches for R functions across tidymodels packages

  • Generates template code for common tidymodels tasks

  • Searches for issues in tidymodels repositories

Use cases of Tidymodels MCP Server

  • Listing tidymodels packages

  • Getting package details

  • Searching for functions

  • Generating code templates

  • Searching issues

FAQ from Tidymodels MCP Server

What is a Model Context Protocol (MCP)?

The Model Context Protocol (MCP) enables enhanced AI capabilities.

Do I need a GitHub token?

A GitHub token is optional, but recommended to avoid rate limits when accessing the GitHub API.

Where can I find the configuration file for Claude Desktop?

The config file is typically located at: macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%\Claude\claude_desktop_config.json, Linux: ~/.config/Claude/claude_desktop_config.json

What are the prerequisites for installing the server?

You need Node.js (v14 or later) and npm installed.

How do I rebuild the server after making changes?

Run the command npm run build.