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.

59
/ 100
Established

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.

Maintenance 13 / 25
Adoption 13 / 25
Maturity 18 / 25
Community 15 / 25

How are scores calculated?

Stars

24

Forks

5

Language

Python

License

MIT

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.