API & MCP
Everything a person can do on Ohmforge Oscilloscope Capture Analyzer, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://ohmforgecaptureanalyzer.usefulweb.site/api/v1/calculate– run Ohmforge Oscilloscope Capture AnalyzerGET https://ohmforgecaptureanalyzer.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Ohmforge Oscilloscope Capture Analyzer
Analyses a captured waveform from an oscilloscope CSV export (Rigol, Siglent, Keysight, Tektronix layouts or any time/channel table), a logic analyzer CSV or a WAV recording from a sound-card scope. For every channel it measures Vpp, maximum, minimum, mean, true RMS (AC and DC), frequency and period with hysteresis, duty cycle, pulse widths, 10–90 % rise and fall time and overshoot; for one channel it computes an FFT spectrum with a selectable window, the harmonics, THD, THD+N, SNR, SINAD and ENOB. Charts of the channels and the spectrum are included.
| Field | Type | Default | Description |
|---|---|---|---|
file | file | — | Capture file. CSV from a scope (Rigol, Siglent, Keysight, Tektronix or any "time, channel…" table), a sigrok/PulseView or logic-analyzer CSV, or a WAV recording; up to 25 MB and 2 million rows. |
csv | textarea | — | Or paste the CSV text. Used when no file is uploaded. |
sampleRate | number | — | Sample rate (only if the file has no time column) |
voltsPerFullScale | number | — | WAV calibration: volts at full scale (optional). Scales WAV samples to volts; empty = full-scale units (FS). |
window | select (blackman-harris, flattop, hann, hamming, rectangular) | "blackman-harris" | FFT window |
fftSize | select (auto, 1024, 4096, 16384, 65536) | "auto" | FFT size |
harmonics | integer | 10 | Harmonics counted for THD |
spectrumChannel | integer | 1 | Channel for the spectrum (1 = first) |
hysteresis | number | 10 | Crossing hysteresis. Noise smaller than this band does not count as a crossing. |
from | number | — | Analyse from (optional). Start of the time gate, in the capture's time (can be negative for pre-trigger samples). |
to | number | — | Analyse to (optional) |
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://ohmforgecaptureanalyzer.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
ohmforge_capture_analyzer - Local stdio connector:
node src/mcp-stdio.ts --tool=ohmforge-capture-analyzer
{
"mcpServers": {
"ohmforge-capture-analyzer": { "type": "http", "url": "https://ohmforgecaptureanalyzer.usefulweb.site/mcp" }
}
}