
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

glyph is an MCP server that discovers code files by glob and parses them with Tree-sitter queries to produce symbol outlines, giving LLM coding agents structured context about a codebase.
MCP server for extracting code symbol outlines with Tree-sitter is cataloged as an MCP server attributed to benmyles. glyph is an MCP server that discovers code files by glob and parses them with Tree-sitter queries to produce symbol outlines, giving LLM coding agents structured context about a codebase. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for extracting code symbol outlines with Tree-sitter are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes, it can be run in CLI mode to extract symbols directly from the command line using a glob pattern.
The detail level is configurable among minimal, standard, and full, with standard as the default.
README.md · 315552d702f1 · 采集于 2026-11-13 12:57:20 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A Model Context Protocol (MCP) server that extracts symbol outlines from your codebase using Tree-sitter's declarative query language. Gives LLM coding agents the context they need with clean, efficient symbol extraction. Can also be used as a standalone CLI tool.
Install Go:
$ brew install go
Install the latest version of glyph:
$ GOBIN=/usr/local/bin go install "github.com/benmyles/glyph@latest"
glyph takes a file path glob, recursively discovers matching code files, and parses them using Tree-sitter's powerful query language to generate accurate symbol outlines. You control the level of detail—from high-level structure to complete function signatures with visibility modifiers.
LLM coding agents work best when they understand your code's structure. glyph bridges that gap by providing clean, multi-file symbol maps that serve as efficient context without overwhelming token limits.
glyph uses a modern, declarative approach:
glyph uses concise symbol type names to minimize token usage:
func - Functions and function-like declarationsmethod - Class/struct methodsclass - Classesinterface - Interfacesstruct - Structs (Go)type - Type declarations (Go)const - Constantsvar - Variablesfield - Class/struct fieldsconstructor - Constructorsenum - Enumerationsrecord - Records (Java)annotation - Annotations (Java)property - Properties (TypeScript)Add glyph to Claude Code using the MCP command:
# Add glyph as a local MCP server (for your current project)
claude mcp add glyph /usr/local/bin/glyph mcp
To verify the installation:
# List all configured servers
claude mcp list
# Check glyph server details
claude mcp get glyph
You can also check the server status anytime within Claude Code using the /mcp command.
Add glyph to your Cursor MCP configuration:
{
"mcpServers": {
"glyph": {
"command": "/usr/local/bin/glyph",
"args": ["mcp"]
}
}
}
After configuration, you can use glyph through the MCP interface to extract symbol outlines from your codebase, helping the AI understand your code structure better.
Run glyph as an MCP server for integration with LLM coding agents:
$ glyph mcp
Use glyph directly from the command line to extract symbols:
$ glyph cli '/path/to/project/*.go'
$ glyph cli -detail=minimal '/path/to/project/**/*.js'
Options:
-detail: Level of detail (minimal, standard, or full). Default is standard.Note: All file patterns must be absolute paths.
Shows just symbol names and types with line numbers:
- func: main (line 15)
- struct: Server (line 5)
- method: Start (line 10)
Shows signatures and declarations:
- func: func main()
- struct: type Server struct
- method: func (s *Server) Start() error
Shows complete symbol definitions with code blocks:
- func (lines 15-20):
func main() { server := &Server{} server.Start() }
$ git clone https://github.com/benmyles/glyph
$ cd glyph
$ make clean
$ make test
$ make build
$ make install DESTDIR=/usr/local/bin
Thanks to the query-based architecture, adding support for a new language is straightforward:
file_utils.go (~2 lines)queries.go (~10-20 lines)queries.go (~5 lines)Example for adding Rust support:
// In file_utils.go
case ".rs":
return rust.GetLanguage(), nil
// In queries.go
var rustQueries = map[string]string{
"functions": `
(function_item
name: (identifier) @name
) @function
`,
"structs": `
(struct_item
name: (type_identifier) @name
) @struct
`,
// ... more patterns
}
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for extracting code symbol outlines with Tree-sitter from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/glyph)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.