Verilog MCP Server

Verilog MCP Server

verilog-mcp-server•bykaiwenyu147369

An MCP server providing AI-powered Verilog and SystemVerilog development tools for Claude Code, including testbench generation, RTL linting, and UVM environment scaffolding.

License: MIT•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Generates a complete Verilog testbench from a module definition, including clock generation, reset sequence, DUT instantiation, and dumpfile/dumpvars.
  • •Runs static lint checks covering missing reset, case without default, latch inference risk, and width mismatch.
  • •Generates a 10-component UVM verification environment including interface, transaction, sequence, driver, monitor, agent, scoreboard, environment, test, and top.
  • •Uses proper output-only and input-only clocking blocks plus uvm_analysis_port for monitor-to-scoreboard communication.

BEST FOR

  • •Hardware engineers wanting to scaffold Verilog testbenches quickly from an existing module declaration.
  • •RTL developers who want to catch common bugs like missing reset and latch inference before simulation.
  • •Verification engineers setting up a UVM environment with clocking blocks, sequencers, and scoreboards.

ABOUT VERILOG-MCP-SERVER

Verilog MCP Server is cataloged as an MCP server attributed to kaiwenyu147369. An MCP server providing AI-powered Verilog and SystemVerilog development tools for Claude Code, including testbench generation, RTL linting, and UVM environment scaffolding. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Verilog MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the MCP server require a SystemVerilog compiler to run?

No, parsing is regex-based and does not depend on a SystemVerilog compiler, though this leads to limitations such as lack of support for interface, struct, or modport port parsing.

Is the UVM scoreboard comparison logic fully implemented?

No, the scoreboard comparison logic is a TODO placeholder.

Upstream README

View this exact version on GitHub

README.md · ec2210132c57 · Fetched 2026-11-13 12:32:06 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Verilog MCP Server

Demo

AI-powered Verilog / SystemVerilog development tools for Claude Code. Generate testbenches, lint RTL code, and scaffold UVM verification environments — all from within your editor.

Status: v0.3.0 — 3 tools, end-to-end verified in Claude Code.

Why

Chip design EDA tools are decades old. AI-assisted hardware development is a blue ocean. This MCP server brings Verilog / SystemVerilog code generation and linting directly into Claude Code, so you can:

  • Generate testbench boilerplate from a module declaration in seconds
  • Catch common RTL bugs (missing reset, latch inference, case without default) before simulation
  • Scaffold a full UVM verification environment with proper clocking blocks, sequencers, and scoreboards

Tools

ToolDescription
generate_testbenchGenerate a Verilog testbench skeleton from a module definition
check_lintStatic lint checks: missing reset, case-default, latch risk, width mismatch
generate_uvm_envGenerate a 10-component UVM verification environment

generate_testbench

Input: a Verilog module. Output: a complete testbench with clock generation, reset sequence, DUT instantiation, $dumpfile / $dumpvars, and a TODO placeholder for custom test stimuli.

  • Auto-detects clock and reset ports
  • Handles active-low reset (rst_n suffix)
  • Supports both new-style (input clk, input rst_n) and old-style (input clk, rst_n) port declarations
  • 100MHz default clock (10ns period)

check_lint

Four categories of checks:

  1. Sequential always block without reset — WARNING
  2. case/casez/casex without default — ISSUE (latches / X-states)
  3. Incomplete if-assignments in combinational always blocks — WARNING (latch inference risk)
  4. Width mismatch heuristics — INFO

generate_uvm_env

Generates 10 UVM component files separated by // ===== FILE: filename.sv ===== markers:

interface → transaction → sequence → driver → monitor → agent → scoreboard → environment → test → top

  • Proper drv_cb (outputs-only clocking block) and mon_cb (inputs-only) design
  • uvm_analysis_port for monitor → scoreboard communication
  • Active/passive agent mode
  • TODO placeholders in scoreboard and constraints

Installation

# 1. Clone
git clone https://github.com/kaiwenyu147369/verilog-mcp-server.git
cd verilog-mcp-server

# 2. Create virtual environment
python -m venv venv

# 3. Activate & install
# Windows:
venv\Scripts\activate
# macOS / Linux:
source venv/bin/activate

pip install mcp

Usage with Claude Code

Add to your workspace .mcp.json:

{
  "mcpServers": {
    "verilog-mcp-server": {
      "command": "C:\\path\\to\\venv\\Scripts\\python.exe",
      "args": ["C:\\path\\to\\verilog-mcp-server\\server.py"]
    }
  }
}

Then in Claude Code settings (~/.claude/settings.json):

{
  "enableAllProjectMcpServers": true,
  "enabledMcpjsonServers": ["verilog-mcp-server"]
}

Restart VSCode, and the tools will appear in Claude Code.

Quick Test

# Activate venv first, then:
python test_uvm.py
python test_v2.py

Tech Stack

  • Python MCP SDK 1.27.1 — @server.list_tools() + @server.call_tool() (two-decorator API)
  • stdio JSON-RPC — Claude Code communicates via stdin/stdout
  • Regex-based parsing — No SystemVerilog compiler dependency

Known Limitations

  • Port parser uses regex, not a full SystemVerilog tokenizer — deeply nested parentheses in complex parameterized ports may not parse correctly
  • UVM Scoreboard comparison logic is a TODO placeholder
  • Lint checks are heuristic; no full elaboration or type system
  • No interface / struct / modport support in port parsing

Roadmap

  • v0.4.0 — 4th tool (generate_assertions or analyze_waveform)
  • Port parser upgrade to simple tokenizer
  • Additional lint rules (blocking/non-blocking assignment check, signed/unsigned warnings)
  • UVM Scoreboard auto-comparison logic
  • Multi-file project support

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Verilog MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/verilog-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools