- Home
- MCP servers
- Tidymodels
Tidymodels
- javascript
1
GitHub Stars
javascript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"javorraca-tidymodels-mcp": {
"command": "node",
"args": [
"/path/to/tidymodels-mcp/js/index.js"
],
"env": {
"GITHUB_TOKEN": "YOUR_GITHUB_TOKEN"
}
}
}
}This Model Context Protocol (MCP) server provides tools and resources for tidymodels in R, enabling you to explore packages, functions, and workflows from the tidymodels ecosystem. It runs locally and can be paired with AI assistants to list packages, fetch package details, search functions, generate template code, and look up issues.
How to use
You can use this MCP server with a compatible MCP client to interactively explore tidymodels. Use the available tools to list all tidymodels packages, get detailed package information, search for R functions across packages, generate template code for common tidymodels tasks, and search for issues in tidymodels repositories. Invoke each tool by its name and provide the required arguments. Combine tools to build workflows, such as listing packages and then drilling into a specific package for more details.
How to install
Prerequisites are required before you install and run the MCP server.
- Node.js (v14 or later)
- npm
Follow these concrete steps to set up the server locally.
# 1. Clone the MCP server repository
git clone https://github.com/yourusername/tidymodels-mcp.git
cd tidymodels-mcp
# 2. Install dependencies
npm install
# 3. Build the server
npm run build
Available tools
list_tidymodels_packages
Lists all packages in the tidymodels ecosystem. Optional refresh argument can force a repository cache refresh.
get_package_details
Retrieves detailed information about a specific tidymodels package. Requires the package name.
search_r_functions
Searches for R functions across tidymodels packages. Optionally limit the search to a specific package.
generate_tidymodels_code
Generates R code templates for common tidymodels tasks. Optional task template type may be recipe, model, tune, or evaluation.
search_issues
Searches for issues in tidymodels repositories. Optional filters include repository and issue state.