Ramly RAM analysis
v0.1.1Monte Carlo and Markov reliability & availability studies: build RBD models, simulate, compare.
Run reliability, availability and maintainability (RAM) studies from your AI assistant with Ramly. The assistant can build a reliability block diagram, run it on Ramly's discrete-event Monte Carlo simulator or its exact analytical / Markov (CTMC) solver, and read or compare the results. It works with Claude, Cursor, VS Code and other MCP clients. Each run_simulation uses one run credit from your plan, the same as a run from the web app. Starter accounts work too, within Starter's limits. 1. Create an API key at ramly.io/account. 2. Add the server to your MCP client (Node.js 18 or later):
Summary extracted from the README.
Ramly MCP server
Run reliability, availability and maintainability (RAM) studies from your AI assistant with Ramly. The assistant can build a reliability block diagram, run it on Ramly's discrete-event Monte Carlo simulator or its exact analytical / Markov (CTMC) solver, and read or compare the results. It works with Claude, Cursor, VS Code and other MCP clients.
Tools
Studies on your Ramly account (need RAMLY_API_KEY):
| Tool | What it does |
|---|---|
create_model |
Builds a model: component types with failure/repair distributions (Weibull, lognormal, …), and an RBD of series, k-of-n parallel and standby blocks. Optional spares, repair crews, PM, inspections of hidden failures, common-cause groups, storage buffers, products and costs. |
get_model / update_model / list_models |
Read and edit models. They are the same models you see in the ramly.io editor. |
get_scenario / create_scenario / update_scenario |
Scenarios are named versions of a model (design options such as "N+1" vs "N+2"). Run one with run_simulation(scenario_id). |
delete_scenario / delete_model |
Permanently delete a scenario, or a model with its scenarios and runs. Marked destructive, so your AI app asks before running them. Run credits already used stay used. |
run_simulation |
Runs Monte Carlo or analytical and returns system availability (P10/P50/P90), per-block KPIs, importance, sensitivity, costs, spares and crew statistics. |
get_job / list_jobs |
Show the status and results of a run. |
compare_jobs |
Compares 2–5 runs side by side: design options, scenarios, before/after. |
get_account |
Shows your plan, the runs used this month and the per-run simulation limit. |
Each run_simulation uses one run credit from your plan, the same as a run
from the web app. Starter accounts work too, within Starter's limits.
Quick estimates (local, no key, no network): calculate_system_availability,
component_availability and required_mtbf_for_target. These are closed-form
exponential approximations, the same as the free
availability calculator.
Prompts: ram_study, improve_availability and compare_designs give the
assistant Ramly's study workflows. For the full guidance (modeling patterns,
distributions, interpreting results, worked examples), install the
Ramly plugin / Agent Skill.
Hosted version: https://mcp.ramly.io/mcp (sign in with OAuth, no API key) is
the recommended way to connect Claude, ChatGPT, Copilot and others. This package is
for local use with an API key.
Setup
- Create an API key at ramly.io/account.
- Add the server to your MCP client (Node.js 18 or later):
{
"mcpServers": {
"ramly": {
"command": "npx",
"args": ["-y", "ramly-mcp"],
"env": { "RAMLY_API_KEY": "rmly_live_…" }
}
}
}
Claude Code:
claude mcp add ramly --env RAMLY_API_KEY=rmly_live_… -- npx -y ramly-mcp
Example prompts
- "Model our cooling water system in Ramly: three pumps (Weibull η=12,000 h, β=1.4, lognormal repair), two of which are needed, feeding one heat exchanger. Run 1,000 simulations over 10 years."
- "Add a spare pump with a 2-week lead time and compare availability with the previous run."
- "Which block drives the downtime? Show the importance ranking."
Data and security
- The study tools send your model to ramly.io over HTTPS, where it is stored in your account like any model built in the editor. The quick-estimate tools never leave your machine.
- API keys can build models and run studies. They can't change billing, your password or other keys. Revoke a key at any time on your account page.
RAMLY_API_URLoverrides the endpoint (HTTPS only, except for localhost).
License
MIT © Ramly LLC