home / mcp / tscircuit mcp server
An MCP for tscircuit.
Configuration
View docs{
"mcpServers": {
"charlielockyer-rice-tscircuit-mcp": {
"command": "bun",
"args": [
"/path/to/tscircuit-mcp/build/index.js"
],
"env": {
"DEBUG": "DEBUG=tscircuit-mcp"
}
}
}
}You run an MCP server that connects Claude to the tscircuit electronics component registry, enabling search, browse, and analysis of components and circuit packages. It provides fast access to package details, source code, and electrical specifications, helping you build and verify circuits more efficiently.
You interact with the tscircuit MCP Server through your MCP client. Start the local server, then point Claude to the server so it can perform searches, fetch package details, retrieve source code, and analyze components. The server is designed for fast responses, clear error messages, and easy integration with Claude desktop workflows.
Prerequisites: Bun 1.0.0 or higher, or Node.js 18.0.0 or higher with npm.
1. Clone or download the tscircuit MCP repository.
2. Install dependencies.
bun install3. Build the project.
bun run build4. Start the server.
bun startFor development with hot reload, run the development script. For type checking, run the typecheck script.
bun run dev
```
```bash
bun run typecheckSearch for electronic components in the tscircuit registry.
Get detailed information about a specific package.
Retrieve the source code for a component.
Analyze a component's electrical specifications and footprint.