Tidymodels MCP Server
About
Provides access to the tidymodels R ecosystem, enabling function search, package exploration, template code generation, and GitHub issue tracking for data science and machine learning workflows.
Details
- Author
- javorraca
- Repository
- JavOrraca/tidymodels-mcp
- GitHub stars
- 1
- Downloads
- 409
- License
- MIT License
- Categories
- Developer Tools, Other, AI, Knowledge Base, Productivity, Design, Search, Infrastructure, API, Project Management
- Tags
- #data-analysis, #data-science
Jump to
- List all packages in the tidymodels ecosystem
- Get detailed information about a specific package
- Search for R functions across tidymodels packages
- Generate template code for common tidymodels tasks
- Search for issues in tidymodels repositories
- Access all repositories and documentation from the tidymodels GitHub organization
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Tidymodels MCP ServerCommand (node, npx, python, etc.)nodeArguments-
Argument 1
/path/to/tidymodels-mcp/js/index.js
Environment-
GITHUB_TOKEN
your-github-token
Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
-
Argument 1
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
list_tidymodels_packages
Lists all packages in the tidymodels ecosystem. Arguments: refresh (optional): Force a refresh of the repository cache
get_package_details
Get detailed information about a specific tidymodels package. Arguments: package (required): Package name
search_r_functions
Search for R functions in tidymodels packages. Arguments: query (required): Function name or keyword to search for, package (optional): Limit search to a specific package
generate_tidymodels_code
Generate R code for common tidymodels tasks. Arguments: task (required): Description of the task, template (optional): Type of template (recipe, model, tune, evaluation)
search_issues
Search for issues in tidymodels repositories. Arguments: query (required): Search query, repo (optional): Limit search to a specific repository, state (optional): Issue state (open, closed, all)
The server provides the following tools:
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"tidymodels mcp server": {
"command": "node",
"args": [
"/path/to/tidymodels-mcp/js/index.js"
],
"env": {
"GITHUB_TOKEN": "your-github-token"
}
}
}
}
Macos
{
"command": "node",
"args": [
"/path/to/tidymodels-mcp/js/index.js"
],
"env": {
"GITHUB_TOKEN": "your-github-token"
}
}
Windows
{
"command": "node",
"args": [
"/path/to/tidymodels-mcp/js/index.js"
],
"env": {
"GITHUB_TOKEN": "your-github-token"
}
}
Linux
{
"command": "node",
"args": [
"/path/to/tidymodels-mcp/js/index.js"
],
"env": {
"GITHUB_TOKEN": "your-github-token"
}
}
An MCP server for accessing tidymodels GitHub information and generating code.
A Model Context Protocol (MCP) server that provides tools and resources for working with thetidymodelsecosystem in R.
While this MCP server is extensible for use with tool-agnostic agentic AI workflows, in it's current form it can be paired withCline.botandClaude Desktopas a local MCP server. The purpose of this MCP is to monitor the tidymodels ecosystem, specifically the GitHub repositoriesunder the tidymodels organization, providing comprehensive information about tidymodels packages, functions, and common workflows.
Currently, I'm getting better MCP performance when paired with Cline to:
- List all packages in the tidymodels ecosystem
- Provide detailed information about specific packages
- Search for R functions across tidymodels packages
- Generate template code for common tidymodels tasks
- Search for issues in tidymodels repositories
git clone https://github.com/yourusername/tidymodels-mcp.git cd tidymodels-mcp
The server can use a GitHub token to avoid rate limits when accessing the GitHub API. To provide a token:
- Create a personal access tokenwith thepublic_reposcope.
- Add it to your configuration as shown below.
Adding to Cline in Visual Studio Code, Positron, and OSS Code IDEs
After you've installed Cline's VS Code extension, navigate to its MCP Servers marketplace where you can configure local MCP server settings. Then, add the JSON to Cline'scline_mcp_settings.json(if you want to autoapprove the core tools within this MCP server library, keep the names shown in theautoApprovelist):
{ "mcpServers": { "tidymodels": { "command": "node", "args": ["/path/to/tidymodels-mcp/js/index.js"], "env": { "GITHUB_TOKEN": "your-github-token" }, "disabled": false, "autoApprove": [ "list_tidymodels_packages", "get_package_details", "search_r_functions", "generate_tidymodels_code", "search_issues" ] } } }
To use this MCP server withClaude Desktop, add it to yourclaude_desktop_config.json:
{ "mcpServers": { "tidymodels": { "command": "node", "args": ["/path/to/tidymodels-mcp/js/index.js"], "env": { "GITHUB_TOKEN": "your-github-token" }, "disabled": false, "autoApprove": [] } } }
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
The server provides the following tools:
Lists all packages in the tidymodels ecosystem.
Arguments: - refresh (optional): Force a refresh of the repository cache
Get detailed information about a specific tidymodels package.
Arguments: - package (required): Package name
Search for R functions in tidymodels packages.
Arguments: - query (required): Function name or keyword to search for - package (optional): Limit search to a specific package
Generate R code for common tidymodels tasks.
Arguments: - task (required): Description of the task - template (optional): Type of template (recipe, model, tune, evaluation)
Search for issues in tidymodels repositories.
Arguments: - query (required): Search query - repo (optional): Limit search to a specific repository - state (optional): Issue state (open, closed, all)
- All repositories in the tidymodels GitHub organization
- Documentation about tidymodels packages
- Template code for common tasks
Here are some examples of how to use this MCP server with Cline:
I'd like to know what packages are available in the tidymodels ecosystem.
Can you tell me about the parsnip package in tidymodels?
I need to find R functions related to cross-validation in tidymodels.
Generate code for a tidymodels workflow that predicts housing prices using random forests.
Show me open issues related to recipe preprocessing in tidymodels.
- js/: Contains the JavaScript/Node.js server implementation
- src/: Contains the TypeScript source (if using TypeScript)
- build/: Output directory for build files
If you've made changes to the TypeScript files, you can rebuild the server with:
This project is licensed under the MIT License - see theLICENSEfile for details.
- Thetidymodelsteam for their excellent R packages
- TheModel Context Protocolfor enabling enhanced AI capabilities
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
Automatically generates documentation for code repositories by analyzing directory structures and code files using the OpenRouter API.
A coding assistant server that provides context-aware code suggestions, documentation integration, and technology detection.
An MCP server for query generation and documentation assistance using Claude AI.
Search Metal Framework documentation and generate code.
Neo is the first autonomous AI engineering agent that plans, researches and executes multi-step work for tasks such as building AI agents, AI model fine-tuning and evals, and ML pipelines; using your codebase, data, and experiments to ship faster with inspectable artifacts. It can reason over your repository, wire tools and retrieval, debug training runs, and help you develop production-ready AI workflows
MCP server that gives AI assistants on-demand access to 1,500+ amCharts docs, ~300 code examples, and 1000+ class API references.
Local stdio MCP server that lets AI coding agents read and maintain structured architecture, rules, and decisions directly from your repository.
Official Context7 MCP server that brings up-to-date, version-specific library documentation and code examples into AI coding prompts.
Remote, no-auth MCP server providing AI-powered codebase context and answers
Official Svelte MCP server, provides docs and suggestions on the generated code.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





