New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

gen-understand

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gen-understand

gen-system's Understand engine as an MCP server: parser facts about a codebase for AI agents

latest
Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

gen-understand

gen-system's Understand engine as an MCP server. It gives an AI agent parser facts about a codebase: the architecture, symbols, call graphs, control flow graphs, effects, source and the beliefs gen-system holds about each routine. No model writes these answers; deterministic parsers for Go, COBOL with copybooks, CA Gen, Java, TypeScript and Python do.

The server is read only. It runs locally and sends nothing anywhere.

Use it

Claude Code

claude mcp add gen-understand -- npx -y gen-understand --root /path/to/your-repo

Codex (~/.codex/config.toml)

[mcp_servers.gen-understand]
command = "npx"
args = ["-y", "gen-understand", "--root", "/path/to/your-repo"]

Cursor (.cursor/mcp.json)

{
  "mcpServers": {
    "gen-understand": {
      "command": "npx",
      "args": ["-y", "gen-understand", "--root", "."]
    }
  }
}

Tools

architecture, search_symbols, call_graph, control_flow, source, file_symbols, effects and beliefs. With --allow-corrections, also correct_belief. The full list, the flags and the protocol details are in docs/mcp.md.

How this package works

The server is a Go binary. On first run this package downloads the binary for your platform from the gen-system release of the same version, checks its SHA-256 against the release's checksums.txt, and caches it. Later runs start at once and work offline. Builds exist for Linux, macOS and Windows, on x64 and arm64.

VariableUse
UNDERSTAND_MCP_BINARYPath of a local understand-mcp binary. Skips the download, for offline machines
UNDERSTAND_MCP_CACHEFolder for the downloaded binary. Default: the user cache folder

Without npm, install the binary with Go: go install github.com/hpdkhoa/gen-system/generator/cmd/understand-mcp@latest.

License

Apache-2.0.

Keywords

mcp

FAQs

Package last updated on 12 Oct 2026

Related posts