A Model Context Protocol (MCP) server designed to enhance Cline's agentic workflows by staying up-to-date with the public repositories and documentation under the tidymodels ecosystem.
This MCP server is extensible for use with tool-agnostic agentic AI workflows but is currently optimized for integration with Cline.bot and Claude Desktop. It monitors the tidymodels ecosystem, providing comprehensive information about tidymodels packages, functions, and common workflows.
Key capabilities include:
shell
git clone https://github.com/yourusername/tidymodels-mcp.git
cd tidymodels-mcp
shell
npm install
shell
npm run build
To avoid GitHub API rate limits, you can provide a personal access token:
public_repo
scope.Configure the MCP server in Cline's cline_mcp_settings.json
:
{
"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"
]
}
}
}
Add the server to claude_desktop_config.json
:
{
"mcpServers": {
"tidymodels": {
"command": "node",
"args": ["/path/to/tidymodels-mcp/js/index.js"],
"env": {
"GITHUB_TOKEN": "your-github-token"
},
"disabled": false,
"autoApprove": []
}
}
}
list_tidymodels_packages
Lists all packages in the tidymodels ecosystem.
get_package_details
Provides detailed information about a specific tidymodels package.
search_r_functions
Searches for R functions in tidymodels packages.
generate_tidymodels_code
Generates R code for common tidymodels tasks.
search_issues
Searches for issues in tidymodels repositories.
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/
: JavaScript/Node.js server implementationsrc/
: TypeScript source (if using TypeScript)build/
: Output directory for build filesRebuild the server after making changes:
npm run build
This project is licensed under the MIT License. See the LICENSE file for details.