- Home
- MCP servers
- RMCP
RMCP
- python
191
GitHub Stars
python
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.
RMCP enables you to perform comprehensive statistical analysis through natural-language conversations. You interact with an MCP server from your preferred client, ask for regression, time-series, machine learning, or data-wrangling tasks in plain language, and receive structured results, including markdown tables and inline visuals.
How to use
Interact with the RMCP server using your MCP client (Claude Desktop, Claude Web, or any compatible client). Start a session, describe the analysis you want in plain language, and review the results that include model summaries, statistics, and inline visualizations.
Practical usage patterns you can try include:
- Describe a regression or forecast task and let RMCP fit a model, report coefficients, p-values, and goodness-of-fit measures.
- Request time-series analyses such as ARIMA, decomposition, or forecasting for a specified horizon.
- Ask for machine-learning-oriented tasks like clustering or classification to segment or predict outcomes.
- Ask for descriptive statistics, correlations, or outlier checks to understand your data before modeling.
How to install
Prerequisites you need before installing RMCP:
- Python 3.10 or newer
- R 4.4.0 or newer (for the full R package ecosystem used by RMCP)
Install RMCP from PyPI and enable HTTP transport support if you plan to use web clients:
pip install rmcp
pip install rmcp[http]
If you want to develop RMCP locally from source, clone the repository and install in editable mode:
git clone https://github.com/finite-sample/rmcp.git
cd rmcp
pip install -e ".[dev]"
Additional sections
Configuration options, security considerations, examples, and troubleshooting are available to tailor RMCP to your environment. You can configure HTTP or stdio transports, run in development or production modes, and set environment variables to control ports, timeouts, and log levels.
Configuration and transport options include HTTP server endpoints for web clients and stdio configurations for Claude Desktop. You can also use a local HTTP server for testing and development.
Two example connection methods are shown below. Use the HTTP URL to connect web clients and the stdio command to run RMCP locally from your development environment.
Troubleshooting tips cover common issues like missing R packages, MCP connection problems, and verifying installation with a version check.
Available tools
regression_analysis
Perform linear and generalized linear regression with summaries, coefficients, p-values, R-squared, and diagnostic statistics.
time_series_forecasting
Fit ARIMA, decomposition, and related models to forecast future values and assess accuracy.
machine_learning_models
Train clustering, decision trees, random forests, and related models with built-in evaluation metrics.
statistical_tests
Run T-tests, ANOVA, chi-square tests, and normality assessments to support hypothesis testing.
descriptive_stats
Compute descriptive statistics, correlations, and data summaries for exploratory analysis.
data_transformation
Apply standardization, winsorization, and lag/lead feature construction for modeling prep.
visualizations_inline
Generate inline plots and visualizations such as scatter plots, histograms, and heatmaps for Claude outputs.
data_import
Import CSV, Excel, and JSON data with validation checks and schema interpretation.
formula_builder
Assist in constructing statistical formulas and model specifications from natural language.
error_recovery
Handle input errors gracefully with suggested corrections and fallbacks.