
Store and retrieve entities, relations and observations in a persistent local knowledge graph.

An MCP server that lets AI assistants run statistical modeling, econometric analysis, machine learning, and time series tasks in R through natural conversation.
RMCP statistical analysis MCP server is cataloged as an MCP server attributed to gojiplus. An MCP server that lets AI assistants run statistical modeling, econometric analysis, machine learning, and time series tasks in R through natural conversation. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for RMCP statistical analysis MCP server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
No; a live hosted MCP endpoint is provided, and rmcp can alternatively be installed locally.
It supports stdio for Claude Desktop and Streamable HTTP for web applications.
It uses a package allowlist, explicit user approval for file writes, package installs and system calls, and filesystem confinement for tool-written files.
README.md · 2dfd40f4d83e · 采集于 2026-11-13 09:34:15 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
Turn conversations into comprehensive statistical analysis - A Model Context Protocol (MCP) server with statistical tools, an optional study analysis route, and 429 R packages from systematic CRAN task views. RMCP enables AI assistants to perform sophisticated statistical modeling, econometric analysis, machine learning, time series analysis, and data science tasks through natural conversation.
MCP Endpoint: https://rmcp-server-394229601724.us-central1.run.app/mcp (bearer token required)
Health Check: https://rmcp-server-394229601724.us-central1.run.app/health
pip install rmcp
rmcp start
That's it! RMCP is now ready to handle statistical analysis requests via Claude Desktop, Claude web, or any MCP client.
🎯 Working examples → | 🔧 Troubleshooting →
Linear regression, logistic models, panel data, instrumental variables → "Analyze ROI of marketing spend"
ARIMA models, decomposition, stationarity testing → "Forecast next quarter's sales"
Clustering, decision trees, random forests → "Segment customers by behavior"
T-tests, ANOVA, chi-square, normality tests → "Is my A/B test significant?"
Descriptive stats, outlier detection, correlation analysis → "Summarize this dataset"
Standardization, winsorization, lag/lead variables → "Prepare data for modeling"
Inline plots in Claude: scatter plots, histograms, heatmaps → "Show me a correlation matrix"
CSV, Excel, JSON import with validation → "Load and analyze my sales data"
Formula building, error recovery, example datasets → "Help me build a regression formula"
You: "I have sales data and marketing spend. Can you analyze the ROI?"
Claude: "I'll run a regression analysis to measure marketing effectiveness..."
Result: "Every $1 spent on marketing generates $4.70 in sales. The relationship is highly significant (p < 0.001) with R² = 0.979"
You: "Test if GDP growth and unemployment follow Okun's Law using my country data"
Claude: "I'll analyze the correlation between GDP growth and unemployment..."
Result: "Strong support for Okun's Law: correlation r = -0.944. Higher GDP growth significantly reduces unemployment."
You: "Predict customer churn using tenure and monthly charges"
Claude: "I'll build a logistic regression model for churn prediction..."
Result: "Model achieves 100% accuracy. Each additional month of tenure reduces churn risk by 11.3%. Higher charges increase churn risk by 3% per dollar."
For datasets carrying collection context, the optional study analysis route adds content-verified file references and validated studyframe adapters. Existing table-based tools retain their current behavior. The study route requires the collection-context R studyframe package and its selected backends on the execution host.
# Core packages (install these first)
install.packages(c(
"jsonlite", "dplyr", "ggplot2", "broom", "plm", "forecast",
"randomForest", "rpart", "caret", "AER", "vars", "mgcv"
))
# Full ecosystem automatically available: Machine Learning (61 packages),
# Econometrics (55 packages), Time Series (57 packages),
# Bayesian Analysis (40 packages), and more
Package Selection: Evidence-based, using CRAN task views and download statistics
# Standard installation
pip install rmcp
# The Streamable HTTP transport ships in the base install.
# This extra adds pandas/openpyxl for Excel data handling.
pip install rmcp[http]
# Development installation
git clone https://github.com/finite-sample/rmcp.git
cd rmcp
pip install -e ".[dev]"
Add to your Claude Desktop MCP configuration:
{
"mcpServers": {
"rmcp": {
"command": "rmcp",
"args": ["start"]
}
}
}
RMCP serves the MCP Streamable HTTP transport at /mcp (spec 2025-11-25),
compatible with Claude custom connectors and OpenAI's Responses API / ChatGPT
remote MCP support. Remote deployments require a bearer token.
Production Server:
Server URL: https://rmcp-server-394229601724.us-central1.run.app/mcp
Test the connection:
# Health check
curl https://rmcp-server-394229601724.us-central1.run.app/health
# Initialize MCP session (Streamable HTTP)
curl -X POST https://rmcp-server-394229601724.us-central1.run.app/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "Authorization: Bearer $RMCP_API_KEY" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"test-client","version":"1.0"}}}'
Local HTTP server:
# Localhost (no auth required)
rmcp serve-http
# Remote bind requires a bearer token (or --allow-unauthenticated)
RMCP_API_KEY=your-secret rmcp serve-http --host 0.0.0.0 --port 8080
# Start MCP server (for Claude Desktop)
rmcp start
# Start HTTP server (for web apps)
rmcp serve-http --host 0.0.0.0 --port 8080
# Start HTTPS server (production ready)
rmcp serve-http --ssl-keyfile server.key --ssl-certfile server.crt --port 8443
# Quick HTTPS setup for development
./scripts/setup/setup_https_dev.sh && source certs/https-env.sh && rmcp serve-http
# Use configuration file
rmcp --config ~/.rmcp/config.json start
# Enable debug mode
rmcp --debug start
# Check installation
rmcp --version
# zsh — add to ~/.zshrc
eval "$(_RMCP_COMPLETE=zsh_source rmcp)"
# bash — add to ~/.bashrc (requires bash 4.4+)
eval "$(_RMCP_COMPLETE=bash_source rmcp)"
# fish — write to the completions directory
_RMCP_COMPLETE=fish_source rmcp > ~/.config/fish/completions/rmcp.fish
macOS ships bash 3.2, which is too old — click prints a warning and completion does nothing. Use zsh (the macOS default) or install a newer bash.
RMCP supports flexible configuration through environment variables, configuration files, and command-line options:
# Environment variables
export RMCP_HTTP_PORT=9000
export RMCP_R_TIMEOUT=180
export RMCP_LOG_LEVEL=DEBUG
rmcp start
# Configuration file (~/.rmcp/config.json)
{
"http": {"port": 9000},
"r": {"timeout": 180},
"logging": {"level": "DEBUG"}
}
# Docker with environment variables
docker run -e RMCP_HTTP_HOST=0.0.0.0 -e RMCP_HTTP_PORT=8000 rmcp:latest
📖 Complete Configuration Guide →
| Resource | Description |
|---|---|
| Quick Start Guide | Copy-paste ready examples with real data |
| Economic Research Examples | Panel data, time series, advanced econometrics |
| Time Series Examples | ARIMA, forecasting, decomposition |
| Image Display Examples | Inline visualizations in Claude |
| API Documentation | Auto-generated API reference |
RMCP's evaluation guide defines package, contract, protocol, and model-level release gates. The deterministic E2E suite launches a real RMCP stdio process, connects with the official MCP client, and checks exact statistical identities alongside malformed data, code-like inputs, filesystem escape attempts, approval state, and recovery behavior.
uv run pytest tests/evals/test_mcp_server_evals.py
We welcome contributions!
git clone https://github.com/finite-sample/rmcp.git
cd rmcp
pip install -e ".[dev]"
# Run tests
uv run pytest tests/
# Lint and format
uv run ruff check --fix .
uv run ruff format .
MIT License - see LICENSE file for details.
R not found?
# macOS: brew install r
# Ubuntu: sudo apt install r-base
R --version
Missing R packages?
rmcp check-r-packages # Check what's missing
MCP connection issues?
rmcp list-capabilities # verify tools register without starting a session
rmcp --debug start # run the server with verbose logging on stderr
📖 Need more help? Check the examples directory for working code.
Ready to turn conversations into statistical insights? Install RMCP and start analyzing data through AI assistants today! 🚀
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for RMCP statistical analysis MCP server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/rmcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

Organize problem solving into revisable, branching thought steps through an MCP tool.

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.