PromptPCB / parts 5 credits

Ground your design agent in real parts

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.

MCP tools

  • library_overview — the whole catalog at a glance
  • search_parts — semantic reverse lookup ("something to drive a brushless motor")
  • suggest_for_need — a functional need → ranked options with the reason to pick each
  • find_parts_by_requirements — filters where a rating must cover the ask, e.g. {class:"connector", min_current_a:20}
  • resolve_value — "50 ohm resistor" → the series + closest standard value
  • list_parts_in_class · get_part — browse a class / full record (specs, pins, SPICE, datasheet, 3D)
  • HTTP API

    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" }

    tscircuit parts backend

    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.

    Your saved library

    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.

    Browse the catalog →