Skip to content
LangChain

Sigasi Magic HDL for LangChain

com.sigasi/magic-hdl

Analyze and verify Verilog, SystemVerilog, and VHDL projects from AI agents over MCP.

client:LangChain transport:stdio runtime:npm

Install Sigasi Magic HDL in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "magic-hdl": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@sigasi/magic-hdl"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

Sigasi Magic HDL in other clients