API & MCP
Everything a person can do on Ohmforge Vibration Spectrum (accelerometer CSV), a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://ohmforgevibrationspectrum.usefulweb.app/api/v1/calculate– run Ohmforge Vibration Spectrum (accelerometer CSV)GET https://ohmforgevibrationspectrum.usefulweb.app/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Ohmforge Vibration Spectrum (accelerometer CSV)
Finds the frequencies a machine shakes at from accelerometer samples — a washing machine during spin, an unbalanced fan, a pump. Paste or upload a CSV with a time column and one to three acceleration columns (for example a recording from Ohmforge's Pocket instruments or a phone sensor app). You get the spectrum, the strongest peaks with amplitude and the matching rotation speed in rpm, and RMS acceleration per axis.
| Field | Type | Default | Description |
|---|---|---|---|
file | file | — | CSV file. One row per sample: time, then 1–3 acceleration columns; header optional. Up to 200 000 rows. |
csv | textarea | — | Or paste the samples. Used when no file is uploaded. Comma, semicolon, tab or space separated. |
timeUnit | select (auto, s, ms, us) | "auto" | Time unit |
accelUnit | select (ms2, g) | "ms2" | Acceleration unit |
fftSize | select (auto, 128, 256, 512, 1024, 2048, 4096, 8192) | "auto" | FFT size. Larger = finer frequency resolution but fewer averages (noisier). |
peaks | number | 5 | Peaks to list |
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://ohmforgevibrationspectrum.usefulweb.app/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
ohmforge_vibration_spectrum - Local stdio connector:
node src/mcp-stdio.ts --tool=ohmforge-vibration-spectrum
{
"mcpServers": {
"ohmforge-vibration-spectrum": { "type": "http", "url": "https://ohmforgevibrationspectrum.usefulweb.app/mcp" }
}
}