aimasteracc/tree-sitter-analyzer
A scalable, multi-language code analysis framework based on Tree-sitter, usable both as a CLI tool and an MCP server.
Combines tree-sitter's syntax parsing with `fd` and `ripgrep` for evidence-based symbol discovery, enabling minimal-context retrieval that reduces AI prompt tokens by up to 95%. Implements the SMART workflow (Set-Map-Analyze-Retrieve-Trace) to surface relevant code regions without full repository indexing, making it practical for messy or legacy codebases. Exposes MCP protocol tools for Claude, Cursor, and other AI assistants while maintaining project boundary security.
24 stars and 1,392 monthly downloads. Available on PyPI.
Stars
24
Forks
5
Language
Python
License
MIT
Category
Last pushed
Mar 11, 2026
Monthly downloads
1,392
Commits (30d)
0
Dependencies
25
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/mcp/aimasteracc/tree-sitter-analyzer"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related servers
bgauryy/octocode-mcp
MCP server for semantic code research and context generation on real-time using LLM patterns |...
DeusData/codebase-memory-mcp
MCP server that indexes your codebase into a persistent knowledge graph. 64 languages, sub-ms...
wrale/mcp-server-tree-sitter
MCP Server for Tree-sitter
MikeRecognex/mcp-codebase-index
17 MCP query tools for codebase navigation — functions, classes, imports, dependency graphs,...
duysolo/codebaxing
Local codebase indexing and semantic code search via MCP