What is glyph?
Glyph is a Model Context Protocol (MCP) server designed to extract symbol outlines from your codebase using Tree-sitter's declarative query language, providing LLM coding agents with the necessary context for efficient coding.
How to use glyph?
To use glyph, install it via Go, and run it either as an MCP server for integration with AI coding assistants or as a standalone CLI tool to extract symbols from your codebase.
Key features of glyph?
- Declarative query-based extraction using Tree-sitter
- Glob-based file discovery for easy code file matching
- Language-agnostic architecture for adding new languages
- Configurable detail levels for symbol extraction
- Multi-file support for unified project views
- High performance with optimized queries
Use cases of glyph?
- Assisting AI coding agents in understanding code structure.
- Extracting symbol outlines for various programming languages.
- Enhancing code navigation and comprehension in large codebases.
FAQ from glyph?
-
What languages does glyph support?
Glyph supports Go, Java, JavaScript/TypeScript, and Python, with easy extensibility for new languages. -
Is glyph free to use?
Yes, glyph is open-source and available for free. -
How does glyph improve LLM coding agents?
By providing clean, efficient symbol maps, glyph helps LLM coding agents understand the structure of the code better, leading to improved coding assistance.