Back to Home
aimasteracc icon

tree-sitter-analyzer

Verified Safe

by 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

Run Command
uvx --from tree-sitter-analyzer[mcp] tree-sitter-analyzer-mcp

Environment 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

Stats

Interest Score40
Security Score9
Cost ClassLow
Avg Tokens200
Stars17
Forks3
Last Update2026-01-19

Tags

Code AnalysisAI IntegrationTree-sitterMulti-languageStatic AnalysisDeveloper ToolEnterpriseMCP Protocol