Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"aicadhub": {
"url": "https://aicadhub.com/api/mcp"
}
}
}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.
{
"mcpServers": {
"aicadhub": {
"url": "https://aicadhub.com/api/mcp"
}
}
}{
"mcpServers": {
"aicadhub": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://aicadhub.com/api/mcp"
]
}
}
}claude mcp add --transport http aicadhub https://aicadhub.com/api/mcp| Tool | Arguments | Description |
|---|---|---|
parse_cad_prompt | prompt, family? | Parse plain-English bracket, spacer, adapter, or box descriptions into validated mm dimensions and print findings. |
calculate_gear | teeth, 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_dimensions | x, 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_clearance | size (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_dxf | svg, unit?, scale?, flipY? | Convert SVG vectors cleanly into AutoCAD R12 (AC1009) ASCII DXF polylines in millimeters. |
No. All five CAD math, parsing, Gridfinity, fastener clearance, and SVG-to-DXF tools run statelessly with zero authentication required.
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.
No. All five deterministic CAD reference and conversion tools on /api/mcp are free and do not touch your account balance.