API & MCP
Everything a person can do on Kinetica Workspace Reachability Map, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://kineticaworkspacemap.usefulweb.site/api/v1/calculate– run Kinetica Workspace Reachability MapGET https://kineticaworkspacemap.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Kinetica Workspace Reachability Map
Maps where a serial robot’s tool centre point can reach in a horizontal or vertical plane: seeded joint samples are mapped through forward kinematics onto a grid and every cell is coloured by the best manipulability (σmin/σmax) found there, so near-singular zones stand out. With obstacles, cells the robot reaches only in collision are shown separately. Returns an SVG map, the reachable area and the cell list.
| 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. |
plane | select (xz, yz, xy) | "xz" | Plane |
offset | number | 0 | Plane offset. Position of the plane along its normal in world coordinates. |
cell | number | 50 | Cell size. Grid cell size; also the thickness of the slice. |
samples | integer | 12000 | Samples |
seed | integer | 1 | Random seed |
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. |
margin | number | 0 | Safety margin |
self | boolean | true | Exclude self-collisions |
Example request
6-axis arm: vertical slice through the base
curl -X POST https://kineticaworkspacemap.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"robot":"kx6-1400","plane":"xz","offset":0,"cell":50,"samples":12000}'
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://kineticaworkspacemap.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
kinetica_workspace_map - Local stdio connector:
node src/mcp-stdio.ts --tool=kinetica-workspace-map
{
"mcpServers": {
"kinetica-workspace-map": { "type": "http", "url": "https://kineticaworkspacemap.usefulweb.site/mcp" }
}
}