Use Reliafy from Claude (MCP)
Reliafy runs a remote Model Context Protocol server, so Claude — on the web, the desktop and mobile apps, or Claude Code — can work in your Reliafy account for you: fit distributions, read your models, build and analyse RBDs, and run the maintenance calculators. It sees what you see: your own data plus the shared samples. Self-hosted instances allow every tool for everyone.
Free to try, unlimited on Pro
On Reliafy Cloud, using Reliafy from AI agents (MCP) is part of Pro (US$19/month): every tool, no limit and unlimited storage. Free gives you 20 tool calls a month to try it — every tool except fitting, fleets and availability simulation, within the Free storage limits; the calls reset on the 1st of each month (UTC). Looking things up in the reliability data library doesn’t count. Past them, each tool says so, and upgrade_link gives you a link to subscribe.
Claude on the web, desktop and mobile
In Claude, open Customize → Connectors (claude.ai/customize/connectors), choose Add custom connector, enter https://reliafy.com/mcp, then choose Connect and sign in to Reliafy. Reliafy asks you to approve the connection; you can disconnect it any time under Settings › Connected apps. Connectors added on claude.ai are available in the desktop and mobile apps too.
Claude Code
claude mcp add --transport http reliafy https://reliafy.com/mcpThen run /mcp in Claude Code, pick reliafy and sign in — a browser window opens for you to approve access. After that, ask something like “fit a Weibull to these bearing lives” or “build an RBD of my pump skid and tell me its MTTF”. claude mcp list shows the connection.
Prefer a token (scripts, CI, headless machines)? A personal API token (rlf_…) still works — sign in and create one under Settings › API access. Give it the Read scope for the reading and calculating tools, and Write too for the ones that save, change or delete.
claude mcp add --transport http reliafy https://reliafy.com/mcp --header "Authorization: Bearer rlf_YOUR_TOKEN"Other MCP clients
Any client that supports Streamable HTTP can connect to https://reliafy.com/mcp — with OAuth (discovered automatically from the server; dynamic client registration and client ID metadata documents are both supported), or with a token header:
{
"mcpServers": {
"reliafy": {
"type": "http",
"url": "https://reliafy.com/mcp",
"headers": { "Authorization": "Bearer rlf_YOUR_TOKEN" }
}
}
}Sending files
Files don’t need to go through the conversation. uploads (action create) returns a single-use upload URL; Claude sends the file there from its shell, then imports it by its upload_id:
curl -X PUT --data-binary @plant.rsgz \
-H "Content-Type: application/octet-stream" \
"https://reliafy.com/api/uploads/UPLOAD_ID?t=TOKEN"- The link works once, expires after 15 minutes and takes at most 30 MB. Its answer, errors and privacy: Files and photos.
- The upload URL points straight at Reliafy’s app service, which is fastest. Some sandboxes and corporate proxies refuse that host (for example
CONNECT tunnel failed, response 403). For those,change upload_createalso returnsurl_fallback(with a readycurl_fallback): the same link on reliafy.com. Send the same PUT there once. It’s slower for large files. A PUT that a proxy refused never reached Reliafy, so the link is still unused. - If Claude’s environment can’t reach either URL (no network), small text files (up to 200 KB) can be pasted instead — CSV into
change dataset_uploadorchange rbd_upload_outage_log, Open-PSA or Galileo text intochange import_rbd. Other files of up to a few hundred KB (an Excel workbook, a BlockSim project) can go through the MCP connection itself withchange upload_send_part: base64 parts into the same upload, checked against the file’s SHA-256. An FMEA / RCM worksheet goes onto a position’s RCM withchange import_excel(targetrcmand aposition_id). Anything larger is uploaded in the app.
Tools
Six tools: an agent picks the tool, then the action (or, for get and list, the kind), with the action’s arguments in args. Each tool lists its actions and what each needs; guide gives the agent how-tos by topic and any action’s full argument schema.
guideget
model— A saved non-repairable or repairable model — distribution, parameters with confidence intervals, goodness of fit, MTTF and B-lives with lower bounds. Regression models add how good the model is (Harrell’s C, the integrated Brier score, the time-dependent AUC) and whether it holds (the proportional-hazards test with a plain verdict; for Cox PH robust standard errors, the tie method and strata). A model fitted by failure mode reports each mode’s share with 95% intervals and Gray’s test. Repairable models give the growth verdict, ROCOF and MTBF with bounds and the trend tests.dataset— A dataset’s columns and rows, a page at a time.rbd— A diagram’s structure.fault_tree— A fault tree’s gates and basic events, with those on guessed data or none yet.rbd_run— One availability simulation in full — its results with their confidence intervals, the inputs and engine versions it ran on, the precision it achieved and what was quoted before it ran.job— A calculation queued on the calculation service (a long simulation, a what-to-improve or interval search, an ALT’s bootstrap bounds) — its place in the queue, then the result.upload— An uploaded file before importing it: a workbook’s sheets with their header rows, columns, row counts and a guessed mapping; a diagram file’s diagrams and block counts.account— Your plan; on Free, the tool calls used and left this month and the date they reset (Pro is unlimited); storage used against your plan’s limits, and whether simulation is included. Never counted against the allowance.library_record— One published failure-data record in full: the mean with its 5th to 95th percentile spread, the evidence behind it (failures, demands or hours), conditions, citation and licence, and the model an RBD block would use. For a handbook rate, give the environment the part works in (e.g. GF, ground, fixed). Never counted against the allowance.prediction— A saved reliability prediction (a parts count) in full: its parts list and conditions, and the results computed when it was saved — every line, the rate per assembly, the Pareto, and which handbook factors were applied and which weren’t.upgrade_link— A Stripe checkout link for Reliafy Pro, for you to open and pay yourself — nothing is charged until you complete it. Works before you have Pro.
list
models / datasets / rbds / fault_trees— Your models (non-repairable or repairable), datasets, diagrams and fault trees.rbd_runs— Simulation history, from the app or any connector: who ran each run and from where, its status, method, runtime and result. Kept 7 days on the free plan and 90 on Pro.fleets / fleet_alerts— Your fleet forecasts and a fleet’s email alerts (Pro).share_links— Your live share links.workspace_changes— What changed in your workspace over a period — the last 30 days by default, a number of days, a date, or since your last visit — worked out from what Reliafy stores, never estimated: new and changed items; refits whose B10 or MTTF moved by more than 10%; fleet forecasts that moved and alerts that fired (Pro); RCM decisions whose linked model was refitted; simulations that moved. It says what it can’t compare.library— Published generic failure data, each record cited with its source and licence (free to read without an account at /api/library too): failure rates and probabilities of failure on demand by component and failure mode (“motor-driven pump fails to start”), filtered by source, equipment type and record_kind, 25 a page with counts. Never counted against the allowance.library_sources— The sources, their licences and what each holds. Today: the NRC / INL industry averages for U.S. nuclear power plant components (2020 update), and base failure rates for electronic parts from MIL-HDBK-217F, Notice 2.predictions— Your saved reliability predictions (parts counts), with the shared sample: name, environment, lines, failure rate and MTBF.
analyse
fit— Fit a distribution (or “best”) to failure times given inline or from a saved dataset — every model id, from Beta and Royston-Parmar to Buckley-James; shared frailty with group_column (frailty_family: gamma or lognormal); Cox PH with cox_options; covariates that change over time with id_column; by failure mode with causes and “competing_risks”. A fit whose data don’t pin the model down says so (fit_ok: false) so its numbers aren’t quoted. With “best”, criterion ranks by aic, aic_c, bic or neg_ll (the ranking gives each candidate’s parameters, score and delta) and include_mixtures lets two-mode mixtures compete. Regression fits report diagnostics.model_checks. Fitting is Pro.fit_per_demand— Per-demand (one-shot) reliability — a valve that must open, a standby start — from batches of demands and failures, with exact (Clopper-Pearson) bounds; zero failures is the success-run demonstration.reliability_at— Reliability, failure probability and hazard of a saved model at given times — for a unit that has already survived to some age too, with confidence bounds where the model has them. A regression model is evaluated at your covariates (or along a covariate schedule), with its B-lives and their lower bounds.check_life_requirement— Does a saved non-repairable model meet a B-life requirement — “B10 ≥ 50,000 cycles at 90% confidence”? Decided on the B-life’s one-sided lower bound, never the estimate.compare_groups— Is A better than B? The log-rank test, each group’s average life over a common window (RMST) with the difference and its interval, Gray’s test per failure mode, and a one-line verdict — without fitting.alt_use_level— Extrapolate a saved accelerated-life model to the use stress: characteristic, mean and B-lives, the mission reliability and the acceleration factor, with Wald, likelihood-ratio or bootstrap bounds (bootstrap: Pro, as a job).plan_demonstration_test— Plan a reliability demonstration test — units, test time per unit and allowed failures — with a trade-off table; with producer_risk a plan that keeps both risks; the Weibull shape from a saved model if you like.next_failure— A system’s next failure at its current age: the chance of a failure within a time (say, before its next service), and the mean and percentiles of the time to it.growth_projection— Reliability growth projection (MIL-HDBK-189C, AMSAA-Crow): the MTBF a growth test reaches once its delayed fixes are in. Inline data is Pro (it fits).optimal_replacement / failure_finding_interval— Cost-optimal replacement interval, and proof-test interval for a hidden function — for a saved Weibull fitted to data, at each end of the shape’s 95% interval too, with a note when that makes the recommendation less firm.optimal_overhaul— Optimal overhaul interval from a minimal-repair repairable model.optimal_overhaul_replace— Overhaul every X, replace after N overhauls: the cheapest such rule for a repairable unit.fleet_forecast— Expected failures across a fleet of in-service items, with exact 90% (P5–P95) intervals per period and each item’s chance of failing; regression and ALT fleets at each item’s covariates or stress; repairable fleets count every repeat failure. Pro.rbd— System reliability, MTTF, B-lives and importance; for a repairable diagram exact availability over time, the window’s expected failures, downtime and cost, a safety function’s PFDavg and SIL, a priced diagram’s cost of ownership and capacities’ production availability — from new or from the blocks’ state now. The Monte-Carlo simulation adds the spread and the time to the next failure (Pro; a long one comes back as a job).rbd_quote_simulation— How long a simulation should take, before anything runs.rbd_sensitivity— What to improve first in a repairable diagram: every lever moved a step, ranked by the gain in availability or cost, in plain words — by benefit per unit of cost when you price the changes — plus over_time, shares, joint, rate and uncertainty measures.rbd_optimise_intervals— Choose a repairable diagram’s age-replacement or proof-test intervals together (lowest cost, a target availability, PFDavg or SIL, or a cost cap), staggering tests if you like; returns the edits that apply the plan.rbd_cheapest_design— The redundancy that owns a repairable diagram at the lowest total cost, whole trains included, over several horizons. Pro.rbd_compare— Is design B better than design A? The difference in availability (and cost of ownership) over a window. Pro.rbd_fault_tree— The diagram as a fault tree: top event, ranked minimal cut sets, basic events by importance and each common-cause group’s share. Exact and free.fault_tree— A saved fault tree’s top event probability at a time, ranked minimal cut sets and each basic event’s importance; export_openpsa adds it as Open-PSA XML. Exact and free.rbd_allocate_targets— What reliability, availability or MTTF / MTTR each block needs for the system to meet a target. Exact and free.rbd_system_history— The observed availability from an outage log, each outage with the block that caused it, and the blocks ranked by downtime share.rbd_export_python / rbd_export_json— A standalone SurPyval + RePyability script, or RePyability’s JSON (rbd_from_json loads it; change import_rbd brings it back).prediction— A reliability prediction by parts count, for a design with no failure data yet: each line’s handbook base rate (a library record from MIL-HDBK-217F) × the environment factor × a quality factor per line × its quantity, added up — the failure rate per million hours and per hour, MTBF, reliability at a mission time, the rate per assembly, a Pareto by line and by part category, and which handbook factors aren’t applied. Reliafy Maintenance users can start from a product’s parts list. Exact and free.
change
model_fit— The same fit as analyse fit, saved as a model; with demand_batches, a per-demand model. Pro.model_save— Save a model from a distribution and parameters your agent fitted itself — e.g. locally with SurPyval.model_fit_alt— Fit and save an accelerated life test model — failure times at several stress levels and a life-stress relationship, inspection data and delayed entry included. Pro.model_fit_degradation— Fit and save a degradation model: readings that drift to a failure threshold (wear, crack length), each unit’s crossing time and the life they imply, with B-lives and their 90% one-sided lower bounds; dry_run reports without saving. Pro.model_fit_recurrent— Fit and save a repairable model (recurrent events): Crow-AMSAA and the other minimal-repair models, proportional intensity, or imperfect repair (Kijima I/II, ARA, ARI, G1). Pro.model_update / model_delete— Rename or annotate your own models, or delete one (never shared samples; not one a fleet forecast runs on).dataset_upload— Save CSV text, or a CSV or Excel file sent with change upload_create.dataset_update / dataset_delete— Rename or annotate your own datasets, or delete one (not one a model was fitted to).rbd_create— Build and save a diagram — series, parallel, k-of-n, standby, sub-systems — that opens in the RBD builder: mixtures of failure modes, imperfect repair, common-cause groups (beta factor or multiple Greek letter), capacities and a demand, phased missions, networks, covariate schedules, costs, scheduled and condition-based replacement and proof tests.rbd_clone / rbd_edit— Copy a sample or one of your diagrams, and change a diagram with a short batch of edits, all or nothing, instead of rebuilding it.rbd_delete— Delete one of your own diagrams.fault_tree_save / fault_tree_delete— Build and save a fault tree — a top event, AND, OR and k-of-n vote gates, basic events with a life model or a fixed probability — or replace or delete one of yours; make_rbd also saves its RBD.rbd_upload_outage_log— Save a real outage log (asset, down, back up) — CSV text or an uploaded file — against one of your diagrams.upload_create— A single-use link (15 minutes) to send a file with a plain HTTP PUT — a ready curl command — with a reliafy.com fallback URL for networks that block the direct one. Up to 30 MB; deleted after its import, or after an hour.upload_send_part— For an agent that can’t reach the upload URL at all: the file in base64 parts through the MCP connection, into the same upload. For files up to a few hundred KB; not counted against the Free allowance.import_rbd— Import diagrams from ReliaSoft BlockSim, Open-PSA XML, Galileo DFT, RePyability JSON or Reliafy’s Excel RBD template, with notes on anything approximated; preview first to check the structure. as_fault_tree saves an Open-PSA or Galileo file as fault trees instead.import_excel— A sheet as a dataset, an FMEA / RCM worksheet onto a maintenance position’s RCM (give its position_id), or the RBD template as a diagram (as a copy of an existing one, unless you ask to replace it).import_rcm— An RCM / FMEA worksheet or a task plan (one row per failure mode), as CSV text or an uploaded CSV or .xlsx, onto a maintenance position’s RCM; preview first. Only adds.optimal_replacement_save— Save an optimal-replacement analysis, as Strategy’s Save analysis does: the results are worked out again from the inputs and kept under Strategy.share_link— Publish one of your own items — a model, dataset, diagram, strategy analysis or fleet — optionally password-protected (a passphrase shown once, for you to send separately) and expiring.share_report— Several of your items on one print-ready page, with a title, an author line, an introduction and a note per item.share_revoke— End a link at once.fleet_create_alert— Email alerts on a fleet’s expected failures — checked each time usage arrives through the ingest API.prediction_save / prediction_update / prediction_delete— Save a reliability prediction (the parts count of analyse prediction) with its parts list, environment and mission time — the results are computed on save and kept as they were; change one of yours (computed again), or delete it.
report_problem- Censoring follows Reliafy’s convention: 0 = failed, 1 = still running. Data coded the other way round can be fitted with the inverted-flags option.
- Reading and calculating tools (
guide,get,listandanalyse) are marked read-only;change, which saves, changes, shares or deletes in your workspace, is marked as a write, so Claude asks before running them, and deletes only what you ask it to, after confirming by name. - Errors:
401(not signed in, or a missing, expired or revoked token),403(an API token whose owner isn’t on Pro — tokens are Pro-only; a signed-in Claude connection without Pro connects, and each tool says it needs Pro),429(over 120 requests/minute),503(the MCP connector isn’t switched on — it’s available on request).