lcf-strain-life-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@lcf-strain-life-mcpfit strain-life constants from SAE 1137 data"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
lcf-strain-life
Readme | Physics Review | Agent Usage | Changelog | MIT License
An AI-agent-native toolkit for fatigue analysis of materials. It is a Python library plus an MCP server, so AI agents can run the whole analysis by calling tools.
Provide your own strain-controlled fatigue test data and get the standardized reduction, fitted material constants, life predictions, and plots. Results are reproducible and are saved for recall.
Why this exists: plenty of fatigue software exists, but none is built for AI agents to drive directly. The agent-native design over MCP is the point. Every capability is reachable through tools an agent can call.
Convention: all analysis uses true stress and true strain. Engineering input is converted at ingestion. The fatigue exponents
bandcare negative throughout.
What it does
Stage | What happens |
Ingest and normalize | raw |
Cycle reduction | peak and valley per cycle, half-life cycle, cycles-to-failure |
Per-cycle metrics | stress amplitude, plastic strain amplitude, mean stress, T/C ratio, hysteresis energy |
Strain-life fits | Basquin, Coffin-Manson, Ramberg-Osgood, transition life |
Constant estimation | five published methods estimate the constants from tensile properties or hardness when no fatigue data exists |
Mean stress | Morrow, modified Morrow, SWT, Walker corrections |
Variable amplitude | rainflow, level-crossing, and peak counting (ASTM E1049), racetrack filter, spectrum life, and a Masing-memory local-strain engine (strain or load-input Neuber) validated against published SAE datasets |
Damage | Miner, DLDR, Corten-Dolan, Woehler knee variants including Haibach |
Notch and multiaxial | Neuber and Glinka local strain, tensor critical-plane search (Fatemi-Socie, Brown-Miller, SWT) |
Statistics | design curves with runout handling, outlier screening, Dixon-Mood staircase, A/B-basis values, the random fatigue limit model |
High temperature | frequency-modified Coffin-Manson, time-fraction creep-fatigue |
Surface | FKM roughness factor, and the FKM size-factor formula |
Interchange and reports | versioned material documents, pyLife and py-fatigue adapters, one-call markdown lab reports |
Provenance | every method maps to its published source through the citations registry |
Save and recall | results persisted per test or material, recalled without recomputation, rendered as plots |
The toolkit is general purpose and material agnostic. It focuses on strain-life and per-cycle evolution, which the established stress-based high-cycle libraries such as pyLife, py-fatigue, and fatpack do not cover. It is input compatible with their pandas data shapes.
Related MCP server: STDF MCP Server
Install
python -m venv .venv
.venv\Scripts\activate # Windows
pip install -e ".[mcp,dev]"Requires Python 3.11 or newer.
Quick start, library
import lcf
# fit strain-life constants from per-test reduced data, here SAE 1137
fit = lcf.fit_strain_life(
total_strain_amp=[0.009, 0.007, 0.005, 0.003, 0.002, 0.00175],
stress_amp=[553, 522, 464, 405, 350, 319], # MPa, half-life
reversals=[4234, 7398, 14768, 77104, 437498, 3327958],
E=208000, # MPa
min_plastic_strain=5e-4, # exclude near-runout points from the plastic branch
)
print(fit.coffin_manson.eps_f, fit.coffin_manson.c) # about 1.11, -0.62
print(fit.basquin.sigma_f, fit.basquin.b) # about 1073 MPa, -0.084
print(fit.transition_reversals) # about 22,000 reversalsQuick start, MCP server
lcf-mcp # runs the stdio MCP server
# or
python -m lcfRegister with Claude Code or Claude Desktop over stdio:
{ "mcpServers": {
"lcf": { "command": "lcf-mcp" } } }Documentation
docs/PHYSICS_REVIEW.md is the science-only physics record: every equation defined and cited, no software detail. docs/PHYSICS_REVIEW.pdf is the same content typeset with a reviewer sign-off table, the file to share with a materials scientist for review.
examples/ holds runnable scripts: a strain-life fit and a machine-style CSV ingestion.
docs/AGENT_USAGE.md describes the MCP tools and the compute, save, recall pattern for AI agents using the toolkit.
CHANGELOG.md is the chronological log of changes.
Project layout
src/lcf/ core library and MCP server
tests/ unit tests including golden-value validation, SAE 1137
examples/ runnable example scripts
docs/ the physics PDF and the agent usage guideAuthors and citation
David Fieser and Hugh Shortt. Both authors contributed equally to this project. To cite the software, use the "Cite this repository" button on GitHub or CITATION.cff.
License
MIT. See LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dfieser/lcf-strain-life'
If you have feedback or need assistance with the MCP directory API, please join our Discord server