Model Context Protocol · JSON-RPC 2.0

AI CAD Hub MCP Server

Connect Claude Desktop, Cursor, or AI coding agents to AI CAD Hub via stateless HTTP Model Context Protocol (MCP) for gear math, bolt clearances, Gridfinity sizing, prompt parsing, and SVG-to-DXF conversion.

HTTP ENDPOINT URL

https://aicadhub.com/api/mcp

Quick client setup

Cursor (~/.cursor/mcp.json)
{
  "mcpServers": {
    "aicadhub": {
      "url": "https://aicadhub.com/api/mcp"
    }
  }
}
Claude Desktop (via mcp-remote)
{
  "mcpServers": {
    "aicadhub": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://aicadhub.com/api/mcp"
      ]
    }
  }
}
Claude Code CLI
claude mcp add --transport http aicadhub https://aicadhub.com/api/mcp

Available MCP tools (5)

ToolArgumentsDescription
parse_cad_promptprompt, family?Parse plain-English bracket, spacer, adapter, or box descriptions into validated mm dimensions and print findings.
calculate_gearteeth, module?, diametralPitch?, pressureAngle?, width?, backlash?, bore?, teeth2?Calculate involute spur gear pitch/base/outside/root diameters, undercut checks, and center-to-center mesh spacing.
gridfinity_dimensionsx, y, mode?, height?, wall?, lip?, magnets?Return exact 42 mm Gridfinity bounds, 4.75 mm foot taper, stacking lip height, interior span, and magnet pocket dimensions.
get_fastener_clearancesize (M2–M10)Lookup FDM 3D print bolt clearance hole diameter, hex nut flat width, and brass heat-set insert pilot hole + min boss OD.
convert_svg_to_dxfsvg, unit?, scale?, flipY?Convert SVG vectors cleanly into AutoCAD R12 (AC1009) ASCII DXF polylines in millimeters.

Interactive endpoint tester

Frequently asked questions

Do I need an API key or account to call AI CAD Hub MCP?

No. All five CAD math, parsing, Gridfinity, fastener clearance, and SVG-to-DXF tools run statelessly with zero authentication required.

Which MCP transport does /api/mcp use?

AI CAD Hub serves stateless HTTP POST JSON-RPC 2.0 requests (Protocol 2024-11-05) with full CORS headers, ideal for Cloudflare Workers and modern MCP clients.

Are AI 3D model credits charged via MCP?

No. All five deterministic CAD reference and conversion tools on /api/mcp are free and do not touch your account balance.