Enables AST-powered semantic code editing for language models by weaving code transformations at precise syntactic splice points, featuring automatic binary bundling of ast-grep.
Splice Weaver is an MCP (Model Context Protocol) server designed to integrate powerful ast-grep functionality directly into language model workflows. It simplifies semantic code editing by automatically managing and bundling the ast-grep binary for various platforms, eliminating the need for manual installation. The server provides a dual approach, offering full CLI access for experienced users and structured, guided workflows for smaller LLMs through specific MCP resources and prompt templates. This allows language models to accurately navigate code scopes, execute rule-based operations (search, replace, scan), and generate precise YAML rules for code transformation.