API & MCP

Everything a person can do on PCB Via Estimator, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

PCB Via Estimator

Estimate a plated copper via barrel’s resistance, voltage drop, and power loss at 20 °C.

Inputs of PCB Via Estimator
FieldTypeDefaultDescription
finishedHoleMmnumber0.4Finished hole diameter. Diameter of the empty hole after plating, not the drill diameter.
platingMmnumber0.035Finished copper plating thickness. Copper thickness in the barrel; 0.025 mm = 25 µm.
lengthMmnumber1.6Conducting via length. Length of the plated barrel carrying the current.
currentAnumber1Current

Example request

0.4 mm hole, 35 µm plating, 1 A

curl -X POST https://ohmforgepcbviaestimator.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"finishedHoleMm":0.4,"platingMm":0.035,"lengthMm":1.6,"currentA":1}'

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)

{
  "mcpServers": {
    "ohmforge-pcb-via-estimator": { "type": "http", "url": "https://ohmforgepcbviaestimator.usefulweb.site/mcp" }
  }
}