Verilator Mcp

Verilator MCP Server is an MCP server that integrates the Verilator hardware simulation tool with AI assistants. It connects local Verilator 5.0+ installations directly to MCP clients like Claude Desktop, enabling hardware engineers, RTL developers, and verification teams to compile, simulate, and debug Verilog and SystemVerilog designs using conversational prompts. The server automatically analyzes RTL code to identify clocks, resets, parameters, and standard bus protocols such as AXI, APB, and Wishbone. When no testbench exists, it can automatically generate intelligent testbenches with directed, random, or constrained-random stimulus and built-in assertions. It executes simulations with automatic dependency resolution, captures waveform traces, collects code coverage metrics, and exposes simulation artifacts like logs and VCD files via dedicated MCP resources. Users can ask natural language questions to pinpoint assertion failures, diagnose signal states, track down unknown X or high-impedance Z values, and assess functional coverage improvements directly within their development environment.

Category: Developer Tools & Code Intelligence

Tags: fpga, hardware-design, simulation, systemverilog, verilog

Visit Verilator Mcp

How to install and configure Verilator Mcp

  1. Ensure Verilator 5.0 or higher, Node.js 16+, and Git are installed on your system. 2. Clone the repository: bash git clone https://github.com/ssql2014/verilator-mcp.git cd verilator-mcp 3. Install project dependencies and compile the TypeScript source: bash npm install npm run build 4. Add the server to your Claude Desktop configuration file (such as ~/Library/Application Support/Claude/claude_desktop_config.json on macOS): json { "mcpServers": { "verilator": { "command": "node", "args": ["/path/to/verilator-mcp/dist/index.js"], "env": { "LOG_LEVEL": "info" } } } } 5. Replace /path/to/verilator-mcp with your actual repository path, then restart Claude Desktop.

What you can do with Verilator Mcp

  • Compile SystemVerilog or Verilog modules and automatically generate functional testbenches using directed or constrained-random stimulus patterns. - Execute RTL simulations directly through natural language prompts while capturing VCD waveform traces and execution logs. - Diagnose assertion failures and investigate signal behavior at specific timestamps using conversational waveform analysis queries. - Inspect code coverage statistics across design blocks and request AI-generated test cases to exercise uncovered logic branches. - Create protocol-aware test structures with standard bus interfaces including AXI, APB, and Wishbone for interface verification.

Key facts

  • https://github.com/ssql2014/verilator-mcp
  • Developer Tools & Code Intelligence
  • fpga, hardware-design, simulation, systemverilog, verilog

Part of MCP Servers

Related MCP servers

  • MCP LaTeX Server — MCP LaTeX Server is an MCP server that provides tools for creating, editing, validating, and compiling LaTeX documents directly through…
  • MCP JSON — MCP JSON is an MCP server collection that bundles tools for file system operations, Google search, browser-based web automation, and…
  • MCP Jupyter Complete — MCP Jupyter Complete is an MCP server that provides tools for manipulating Jupyter notebook files through position-based cell operations and…
  • MCP LSP Go — MCP LSP Go is an MCP server that connects AI assistants to the official Go Language Server Protocol implementation, gopls,…
  • MCP Manager — MCP Manager is an MCP server management tool that connects directly to your Claude Desktop environment, enabling users to discover,…
  • MCP Lab — MCP Lab is an MCP server development environment designed for building, testing, and debugging custom Model Context Protocol servers integrated…

How do I install Verilator MCP Server?

First install Verilator 5.0 or higher and Node.js 16 or newer. Clone the repository using git clone https://github.com/ssql2014/verilator-mcp.git, enter the folder, and run npm install followed by npm run build. Then register the built node executable in your MCP client configuration file.

What can Verilator MCP Server do?

The server compiles Verilog and SystemVerilog code, executes simulations via Verilator, generates testbenches with custom or protocol stimulus, and parses simulation output. It also processes natural language queries to explain design hierarchies, analyze waveforms, investigate assertion failures, and report code coverage.

Which MCP clients work with Verilator MCP Server?

Verilator MCP Server works with any client supporting the Model Context Protocol, including Claude Desktop and development environments configured for local stdio MCP server execution. Node.js is used to run the compiled index.js file.

Is Verilator MCP Server open source?

Yes, Verilator MCP Server is open source software released under the MIT License, as documented in its repository on GitHub.

  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories