Every part here is exposed to AI design tools over MCP and a plain HTTP API, so a model can ask "what do I have to blink an LED" or "a connector rated 20 A" and get real, verified, in-stock options — with labelled pins, SPICE, and a 3D model — before it starts building a module.
{class:"connector", min_current_a:20}GET /overview | /classes | /class/:class | /part/:id
GET /tscircuit/part/:id
GET /tscircuit/component/:id.tsx
GET /models/:filename.obj
POST /tscircuit/find { "sourceComponent": { ... }, "footprinterString": "promptpcb:part_id" }
POST /search { "query": "reverse polarity protection" }
POST /requirements { "class": "connector", "min_current_a": 20 }
POST /suggest { "need": "step 5V down to 3.3V" }
POST /resolve_value{ "query": "100nF" }
Install the PromptPCB platform adapter once, then use
footprint="promptpcb:gatedrv_ir2104". The resolver supplies pad/hole Circuit JSON,
pin aliases, available OBJ CAD, and JLCPCB/LCSC identity. Download the generated TSX component
when you also want typed pins, electrical pin attributes, and an attached SPICE subcircuit.
import { getPlatformConfig } from "@tscircuit/eval/platform-config"
import { createPromptPcbPlatformConfig } from "./tscircuit-client.js"
export default {
platformConfig: createPromptPcbPlatformConfig({
baseUrl: "http://127.0.0.1:8796",
fallbackPlatformConfig: getPlatformConfig(),
}),
}
For hosted use, point baseUrl at the API
origin after the /tscircuit/* and /models/* routes are deployed behind
this site.
Add specific parts to your library and they're cached to your account — search over just your parts, reuse them forever, and pull their files without spending credits again. Contribute a novel curated part to top up your download credits.