tree-sitter-analyzer
Verified Safeby aimasteracc
Overview
An enterprise-grade code analysis tool for AI assistants, providing deep AI integration, powerful search, and intelligent analysis across 17 programming languages. It's designed for developers working with large codebases, enabling token optimization and structured code understanding for AI interactions.
Installation
uvx --from tree-sitter-analyzer[mcp] tree-sitter-analyzer-mcpEnvironment Variables
- TREE_SITTER_PROJECT_ROOT
- TREE_SITTER_OUTPUT_PATH
Security Notes
The project demonstrates a high level of security awareness with explicit security policies (`SECURITY.md`), dedicated security components (`SecurityValidator`, `ProjectBoundaryManager`, `RegexSafetyChecker`), and robust input validation. It implements project boundary protection, path traversal prevention, null byte injection prevention, and obfuscation of sensitive information in error responses. All subprocess commands are run safely without shell execution. This significantly reduces common attack vectors.
Similar Servers
chunkhound
Provides local-first codebase intelligence, extracting architecture, patterns, and institutional knowledge for AI assistants.
code-index-mcp
Intelligent code indexing and analysis for Large Language Models, enabling tasks such as code review, refactoring, documentation generation, debugging assistance, and architectural analysis.
CodeGraphContext
This MCP Server acts as an expert AI pair programmer's backend, providing real-time, accurate code analysis, indexing, and relationship information from a local codebase to assist with understanding, writing, and refactoring code.
CodeGraphContext
An AI pair programmer that provides real-time, accurate, context-aware assistance by indexing and analyzing codebases (local projects and dependencies) using a graph database, facilitating code understanding, writing, and refactoring across multiple programming languages.