
circuit designer mcp
一个基于Python的工具,为LLM补充电路设计所需功能模块。
Repository Info
About This Server
一个基于Python的工具,为LLM补充电路设计所需功能模块。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Documentations and Report : MVP of Circuit Designer MCP server.
Below are some features any intelligence needs to design any circuit:
- Understanding requirements
- Knowledge of components
- Circuit theory or design rules
- Simulation & analysis skills and tools
- Domain-specific knowledge
For average LLMs, they have these capabilities:
- Ability to understand requirements
- Basic circuit theory and design rules
- Simulation skills (how to simulate any circuit on any tool)
In this MCP server, I’ve provided the tools missing in LLMs to mimic human intelligence and design circuits based on user requirements:
- Knowledge of Components:
get_component_datasheet()— fetches and converts component datasheet PDFs from manufacturers' websites into Markdown format (easy to understand for LLMs). - Simulation Tools: If the user has installed ngspice, it provides an interface to run simulation commands on netlist files and get the result.
- Domain-Specific Knowledge:
get_research_paper()— fetches research paper PDFs from the internet and converts them into Markdown. - Basic instructions for LLMs to understand the entire cycle of circuit generation.
Technologies Used:
- Language: Python
- Libraries:
duckduckgo_search: for search queriesrequests: for making HTTP requestsfitz: PDF processing librarypymupdf4llm: to convert PDF content into Markdownsubprocess: to run ngspice commands on the OS
Report: Results from Using the MCP Server
Note: Due to my IT background, I am not proficient in judging it technically. I generated netlist code using Claude 3.7 Sonnet, with and without this MCP server, and compared the outputs using Claude itself. I selected a high-level topic for better comparability.
Topic:
A 28 GHz mmWave RF front-end module for 6G communication, featuring low-noise amplification (NF ≤ 3.5 dB), high-efficiency power amplification (P_out ≥ 30 dBm), integrated T/R switching, and post-quantum encryption using a lattice-based cryptography core.
Comparison Table
| Criteria | Without MCP Server | With MCP Server |
|---|---|---|
| Component Specification | 5/10 - Uses generic models without specific part numbers | 9/10 - Clearly specifies commercial parts with datasheets |
| Power Management | 6/10 - Basic power distribution, limited isolation | 9/10 - Multiple voltage domains, proper isolation |
| Signal Integrity | 5/10 - Basic signal paths, limited impedance matching | 8/10 - Clearer signal chain, proper impedance considerations |
| Design Hierarchy | 6/10 - Functional blocks defined, but overlapping | 8/10 - Well-defined interfaces, functional separation |
| Testability | 7/10 - Multiple analysis types, less focused on critical parameters | 7/10 - Targeted analysis of key metrics, visual outputs |
| Documentation | 6/10 - Basic documentation of components and purpose | 8/10 - Comprehensive documentation with expectations |
| Reproducibility | 5/10 - Dependent on variable model parameters | 9/10 - Uses standard components, consistent replication |
| Maintainability | 5/10 - Less structured, hard to modify | 8/10 - Segmented design, easy to modify |
| Simulation Efficiency | 5/10 - Complex models, convergence issues | 8/10 - Simplified models for simulation speed |
| Design Reusability | 5/10 - Custom elements, limited portability | 8/10 - Industry-standard components, reusable |
| TOTAL | 55/100 (55%) | 82/100 (82%) |
Summary Analysis
The "With MCP Server" netlist demonstrates superior circuit design practices across universal criteria, outperforming the "Without MCP Server" netlist by 27 points, representing a 49.1% improvement.
Key advantages:
- Component Selection Strategy: Uses real components with known specs for reliable implementation.
- Hierarchical Design: Clean modular structure eases debugging and upgrades.
- Realistic Power Handling: Correct voltage and current considerations ensure viability.
- Simulation Practicality: Speeds up analysis while retaining useful accuracy.
- Enhanced Documentation: Enables better collaboration and reuse.
Known Issues
- Fetching PDFs and converting to Markdown can be time-consuming — mitigated by limiting page count (first 2 pages usually contain essential info).
- ngspice can’t simulate every component type.
- The free tier of Claude-3.7 Sonnet can’t handle large examples like the one above due to token limits, but intermediate circuits work fine with curated prompts.
- No schematic generation support yet.
duckduckgo_searchis unofficial, but works well under usage limits.- Not optimal for basic circuits, which Claude can already generate well — MCP improves specification and realism.
- If the prompt requirements are unclear, the MCP server may underperform compared to LLMs, as it relies heavily on real-world implementation, whereas LLMs tend to follow more theoretical approaches.
Positive Highlights
- Enhanced response quality for real-world implementations.
- Excellent performance with detailed prompts.
- Executes all relevant test cases and produces correct netlists.
Future Enhancements
- Bridging the gap between schematic design and netlist generation would create an outstanding combination.
- Add interfaces for other simulation tools (based on user’s system setup).
- Integrate component pricing and availability search.
- Add web scraping tools to gather design insights and troubleshoot common issues.
My Point Of View: The comparison results from Claude highlight the strong potential of this system. With dedicated research and development, it could become a valuable tool for users—capable of answering follow-up questions, suggesting optimizations, and predicting simulation outcomes. For example, it might recommend replacing component X with component Y to improve thermal resistance. While I haven't the expertise to evaluate its capabilities, I’ve made every effort to provide an unbiased perspective in this report.
Quick Start
Clone the repository
git clone https://github.com/shivamsahu-tech/circuit-designer-mcpInstall dependencies
cd circuit-designer-mcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.