SuperAPIAI Directory

LiuHe

github.com · AI agents

Code tools for LLMs to read, understand and modify code, using a tree-sitter parser, SQLite index and transactional writes.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsWindows · Linux

About this tool

Purpose: Malong LiuHe (码龙·六合工具) is a code manipulation toolkit designed specifically for LLMs rather than humans, solving the problem that LLMs have no hands, eyes, or memory, allowing models to read, understand, and modify code.

Main capabilities: It consists of two components. malong/ is an MCP toolset providing 44 tools, covering symbol reading and writing, indexing, impact analysis, reference tracking, call graphs, dead code detection, code review, security scanning, atomic batch editing, test orchestration, and pipeline validation, exposed to LLMs via MCP (JSON-RPC over stdio). malong-parse/ is a Rust parsing service that performs multi-language symbol extraction based on tree-sitter, supporting JavaScript/TypeScript/TSX/Python/Go/Rust/C/C++/Java/Bash, communicating with the toolset via Unix socket, with an LRU tree cache and parallel batch extraction. The index uses SQLite (WAL mode, multi-process safe), isolated per workspace.

Usage: Requires Node >= 20. Standard installation uses npm ci to install better-sqlite3; if installation fails, it can automatically fall back to the built-in sql.js WASM sandbox backend. Zero-build deployment is suitable for environments without npm access, with precompiled binaries for Linux/Windows located in releases/. On Windows, the daemon listens on TCP 127.0.0.1:31001 (overridable with MALONG_PORT), and the MCP server probes and automatically starts malong-parse.exe on startup. Register the MCP server with any MCP-supporting LLM client to use it; tools are exposed as mcp__liuhe__<tool> or liuhe.<tool>, and a one-time reindex must be run on the workspace on first use. Verified to work end-to-end with Claude Code 2.x and codex 0.50.0.

Applicable scenarios: Development workflows that require LLMs to perform symbol-level reading and writing, impact analysis, reference tracking, dead code cleanup, security review, and atomic batch editing in real codebases.

Limitations: The scanner only performs deterministic regex matching and reference graph analysis, and does not cover control flow, data flow, or cross-module semantics; 0 findings does not mean clean, and a high score does not mean healthy. security_review does not scan for SSRF, XXE, deserialization, authentication/logic flaws, or control flow flaws; sweep_dead_code does not scan dynamic/reflective connections. When the daemon is not running, tools that depend on parsing will degrade, but SQLite tools remain available.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools