tree-sitter-analyzer
Active·★ 61·MIT·Updated 2026-10-22
Tree-sitter Analyzer is an enterprise-grade code analysis tool deeply integrated with AI, supporting 17 programming languages. It offers powerful search capabilities and intelligent analysis to help developers manage large codebases and break through AI token limitations.
#Code Analysis#AI Integration#Multi-language#Tree-sitter#Static Analysis#Developer Tools#Code Search#MCP Protocol
01
Features
01Native AI assistant integration via MCP Protocol
02Up to 95% token reduction for LLM context optimization
03Comprehensive code analysis across 17 programming languages
04High-performance file and content search with fd and ripgrep
02
Compatibility
Python
Runtime
Verified via docs
Windows
Operating System
Verified via docs
macOS
Operating System
Verified via docs
Linux
Operating System
Verified via docs
17 Programming Languages
Code Analysis
Verified via docs
03
Quick start
1
$ uv add "tree-sitter-analyzer[all,mcp]"
04
Use cases
↳Integrate with AI assistants (e.g., Claude, Cursor) for intelligent code analysis and interaction.
↳Perform deep structural analysis of code files, generate quick summaries, and extract specific code sections.
↳Efficiently search for files and content using regex within large code repositories.
↳Compare code analysis behavior profiles and manage format changes across versions.
05
Alternatives
Vera★ 120
Local code search combining BM25, vector similarity, and cross-encoder reranking. Parses 60+ languages with tree-sitter, runs entirely offline, and returns structured results with file paths, line ranges, and symbol metadata. Built in Rust.
code-index-mcp★ 152
Rust-native code index MCP server with first-class 1C:Enterprise (BSL) support. Static binary, no runtime. 31 tools — 20 universal + 11 BSL-specific. Tree-sitter AST for 10 languages. Federation across multiple repos. Built for production-scale monorepos.
xgrep★ 20
Ultra-fast indexed code search engine — faster than ripgrep on repeated searches, lighter than zoekt. Built-in MCP server for AI agents. Also does fast file finding (fd/find alternative).
mcp-adr-analysis-server★ 35
A sophisticated Model Context Protocol (MCP) server for analyzing Architectural Decision Records (ADRs) and providing deep architectural insights to AI agents.
Comments
Log in to leave a comment
No comments yet. Be the first!