api
FreeUse tree-sitter-language-pack api reference documentation.
The English summary is being prepared. Showing the original description.
Use tree-sitter-language-pack mcp reference documentation.
The English summary is being prepared. Showing the original description.
Run score Not tested
See how to installReview the instructions the agent will receive before you install.
Use this skill when integrating tree-sitter-language-pack through Model Context Protocol tools, prompts, or resources.
cache_dir: Return the effective parser cache directory path.clean_cache: Delete all cached parser libraries from the cache directory.detect_language: Detect the language for a file path or source content. Returns the detected language name.download: Download parser libraries from the remote registry. Pass languages list, groups, or all=true. Set fresh=true to clean the cache first.info: Show whether a language is known, downloaded, and its cache path.list_languages: List languages. source: 'available' (default), 'downloaded', or 'manifest'. Optional substring filter.parse: Parse source code with a tree-sitter grammar. Returns the syntax tree as sexp or JSON.process: Run the code-intelligence pipeline on source code. Extracts structure, imports, exports, symbols, and more.No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Use tree-sitter-language-pack api reference documentation.
The English summary is being prepared. Showing the original description.
Use tree-sitter-language-pack cli reference documentation.
The English summary is being prepared. Showing the original description.
Parse and extract code intelligence from 372 programming languages using tree-sitter grammars. Use when writing code that parses source, extracts structure/imports/exports/symbols/docstrings/comments, detects a language, runs syntax diagnostics, or produces syntax-aware chunks for LLMs — in Rust, Python, Node.js/TypeScript, or the ts-pack CLI. Covers installation, the CLI surface, the SDK surface, and parser-cache management.
The English summary is being prepared. Showing the original description.
Use when the user wants to split source code into chunks for an LLM context window without breaking syntax mid-construct. Covers `ts-pack process --chunk-size`, why syntax-aware splits beat fixed-byte splits, picking a size, and the chunk JSON shape.
The English summary is being prepared. Showing the original description.
Use when the user wants to know which programming language a file or snippet is. Covers implicit detection in `ts-pack parse`/`process`, confirming support with `ts-pack list`/`info`, and the SDK detection functions for path, extension, and raw content.
The English summary is being prepared. Showing the original description.
Use when the user wants structured code metadata from a source file — functions, classes, imports, exports, symbols, docstrings, comments, or syntax diagnostics. Covers `ts-pack process` feature flags, the JSON result shape, and the default feature set.
The English summary is being prepared. Showing the original description.