MCP Server for AI-powered RTL diagram generation
Project description
RTLViz - AI-Powered RTL Diagram Generator
⚠️ RtlViz can make mistakes, so double-check it.
An MCP (Model Context Protocol) server that enables AI assistants to generate publication-quality RTL block diagrams from Verilog/SystemVerilog code.
Installation
pip install rtlviz
rtlviz-setup
That's it! The setup command auto-configures your AI IDE (Claude Desktop or VS Code).
Manual Setup (Alternative)
If auto-setup doesn't work, you can configure manually:
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"rtlviz": {
"command": "rtlviz-server"
}
}
}
VS Code (.vscode/mcp.json):
{
"servers": {
"rtlviz": {
"command": "rtlviz-server"
}
}
}
Usage
Just ask your AI: "Generate an RTL diagram for CPU.v"
💡 Recommended: Works best with latest AI models like Claude Opus 4.5 or Claude Sonnet 4.5 for accurate RTL analysis.
How It Works
- You install the package (
pip install rtlviz) - Your IDE spawns the server locally when you open a session
- The AI reads the
rtlviz://promptresource to learn how to analyze RTL - The AI generates Graphviz DOT code based on your Verilog
- The AI calls the
render_diagramtool to create an interactive HTML viewer
No server hosting required. No API keys. Runs 100% locally.
Enterprise & Privacy
- Safe for Work: All RTL analysis happens locally or via your enterprise-approved LLM provider.
- Telemetry: We collect minimal, anonymous usage data (version, session ID) to improve the tool.
- No IP addresses or personal data.
- No file contents or code.
- Opt-Out: Set the environment variable
RTLVIZ_TELEMETRY=0to disable all network calls.- Firewall Friendly: If blocked, the tool fails silently and continues working.
Developing & Releasing
Analytics Setup
To enable your own analytics dashboard:
- Deploy
analytics/google_apps_script.jsas a Google Web App (Execute as Me, Access: Anyone). - Set
RTLVIZ_TELEMETRY_URLinsrc/rtlviz/telemetry.pyto your Web App URL.
Publishing to PyPI
- Bump Version: Update
pyproject.tomlandsrc/rtlviz/telemetry.py. - Build:
python -m build - Upload:
twine upload dist/*
Developers
- Naveen Venkat - naveenvenkat1711@gmail.com
- Hariharan - hari.ayyaps@gmail.com
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rtlviz-0.2.6.tar.gz.
File metadata
- Download URL: rtlviz-0.2.6.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1fc3dc20e8d40c3dbd991b6557d4405a46d78b5a4fd345df4feb822e52e00ee
|
|
| MD5 |
e2fcb38ec1d1894b9f6268a4b403e051
|
|
| BLAKE2b-256 |
95e075c48448f525f0089ee33270776c18d569eb97da44f39827c4ce4f769bff
|
File details
Details for the file rtlviz-0.2.6-py3-none-any.whl.
File metadata
- Download URL: rtlviz-0.2.6-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
974b546576d059df0a97642dfce1fd4fb6c79e39ba6aac1de32b995c72e82bee
|
|
| MD5 |
ed6b615bdd3ef5b18c56156cab470110
|
|
| BLAKE2b-256 |
75505fd0b5ab8eaec7cd208a58cd4aba860cd7679d796fb5bd42395dcdf68256
|