API & MCP

Everything a person can do on Kinetica Inverse Kinematics, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Kinetica Inverse Kinematics

Solves the inverse kinematics of a serial robot (DH table, URDF subset or library robot) for a target TCP pose with damped least squares from several deterministic seeds, plus closed-form solutions for planar 2-link arms and SCARAs. Lists every distinct solution with its residual, joint-limit and singularity status, and explains why a target is unreachable.

Inputs of Kinetica Inverse Kinematics
FieldTypeDefaultDescription
robotselect (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.
conventionselect (dh, mdh)"dh"DH convention (custom table)
dhtable—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.
robotTexttextarea—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.
tooltext—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.
x (required)number700Target x
y (required)number200Target y
z (required)number600Target z
rollnumber180Roll
pitchnumber0Pitch
yawnumber0Yaw
modeselect (auto, full, position)"auto"Task
seedtext—Preferred configuration. Joint values the solutions are sorted by (closest first). Empty = home pose.
restartsinteger12Random restarts
rngSeedinteger7Random seed. Seeds the deterministic restart generator, so the same input always gives the same solutions.

Example request

6-axis arm, tool pointing down at (700, 200, 600) mm

curl -X POST https://kineticainversekinematics.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"robot":"kx6-1400","x":700,"y":200,"z":600,"roll":180,"pitch":0,"yaw":0}'

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": {
    "kinetica-inverse-kinematics": { "type": "http", "url": "https://kineticainversekinematics.usefulweb.site/mcp" }
  }
}