API & MCP
Everything a person can do on Point Cloud Tools (PLY, XYZ), a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://renderloompointcloudtools.usefulweb.site/api/v1/calculate– run Point Cloud Tools (PLY, XYZ)GET https://renderloompointcloudtools.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Point Cloud Tools (PLY, XYZ)
Upload a PLY, XYZ, CSV or PTS point cloud to measure it — point count, bounding box, centroid, nearest-neighbour spacing and density — and clean it: remove statistical outliers, thin it on a voxel grid and estimate normals from the nearest neighbours. Fit up to five planes (floors, walls, tables) with seeded RANSAC and get each plane’s equation, tilt and inlier report, then download the processed cloud as PLY or XYZ. Runs on the same engine as Renderloom Mesh Lab.
| Field | Type | Default | Description |
|---|---|---|---|
file | file | — | Point cloud (PLY, XYZ, CSV, TXT or PTS). ASCII or binary PLY (vertex-only or with faces, which are ignored), or a text table with x y z per line and optional r g b and nx ny nz columns. Up to 60 MB and 1000000 points. |
cloudText | textarea | — | Or paste points (x y z per line) |
removeOutliers | boolean | false | Remove statistical outliers |
outlierNeighbors | integer | 8 | Neighbours for outlier removal (k) |
outlierStd | number | 2 | Standard deviation multiplier (α) |
voxelSize | number | 0 | Voxel size for downsampling (0 = off). In the units of the file, for example 0.05 for 5 cm voxels in a cloud in metres. |
estimateNormals | boolean | false | Estimate normals |
normalNeighbors | integer | 12 | Neighbours for normals (k) |
orientation | select (viewpoint, centroid, none) | "viewpoint" | Normal orientation |
viewpoint | text | "0, 0, 0" | Viewpoint x, y, z. Where the scanner or camera stood. Normals point towards it. |
fitPlane | boolean | true | Fit planes (RANSAC) |
planes | integer | 1 | Number of planes |
planeThreshold | number | 0 | Inlier distance threshold (0 = automatic). Points closer to the plane than this count as inliers. Automatic: 2.5 × the median point spacing. |
planeIterations | integer | 1000 | RANSAC iterations (maximum) |
seed | integer | 1 | Random seed. The same seed gives the same planes. |
output | select (ply-binary, ply-ascii, xyz, none) | "ply-binary" | Download the processed cloud as |
view | select (iso, top, front, side) | "iso" | Preview view |
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://renderloompointcloudtools.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
renderloom_point_cloud_tools - Local stdio connector:
node src/mcp-stdio.ts --tool=renderloom-point-cloud-tools
{
"mcpServers": {
"renderloom-point-cloud-tools": { "type": "http", "url": "https://renderloompointcloudtools.usefulweb.site/mcp" }
}
}