API & MCP
Everything a person can do on Kinetica Collision Check, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://kineticacollisioncheck.usefulweb.site/api/v1/calculate– run Kinetica Collision CheckGET https://kineticacollisioncheck.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Kinetica Collision Check
Checks a robot configuration against box, sphere, capsule and cylinder obstacles and against itself. Robot links are modelled as capsules and boxes; the tool reports every pair closer than the safety margin, the minimum clearance and the closest pair, using exact segment–segment distances and an exact convex search for capsule–box distances.
| Field | Type | Default | Description |
|---|---|---|---|
robot | select (kx6-1400, ur5-like, puma560, scara-550, gantry-xyz, planar2, custom-dh, urdf, json) | "kx6-1400" | Robot. A library robot, or choose a custom DH table, URDF or Kinetica robot JSON. |
convention | select (dh, mdh) | "dh" | DH convention (custom table) |
dh | table | — | DH table (custom). One row per joint. Lengths in mm, angles in degrees. For revolute joints θ is the zero offset, for prismatic joints d is. |
robotText | textarea | — | URDF or robot JSON. Used when Robot is “URDF” or “Kinetica robot JSON”. URDF subset: links with box/cylinder/sphere, revolute/continuous/prismatic/fixed joints. |
tool | text | — | Tool offset (TCP). x, y, z (mm), roll, pitch, yaw (deg) in the flange frame, e.g. “0, 0, 150, 0, 0, 0”. Empty = robot default. |
joints | text | — | Joint values. Degrees / mm. Empty = home pose. |
obstacles | table | — | Obstacles. Box: centre x, y, z and size sx, sy, sz. Sphere: centre and r. Capsule or cylinder: start x, y, z, end x2, y2, z2 (in the size columns) and r. All in mm, world frame. |
self | boolean | true | Check self-collision |
margin | number | 10 | Safety margin |
Example request
6-axis arm above a table (clear)
curl -X POST https://kineticacollisioncheck.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"robot":"kx6-1400","joints":"0, 0, 0, 0, 90, 0","obstacles":[{"name":"Table","shape":"box","x":900,"y":0,"z":350,"sx":700,"sy":900,"sz":700}],"margin":10}'
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://kineticacollisioncheck.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
kinetica_collision_check - Local stdio connector:
node src/mcp-stdio.ts --tool=kinetica-collision-check
{
"mcpServers": {
"kinetica-collision-check": { "type": "http", "url": "https://kineticacollisioncheck.usefulweb.site/mcp" }
}
}