Python tree-sitter

Open-source Python projects categorized as tree-sitter

Top 21 Python tree-sitter Projects

tree-sitter
  1. graphify

    Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

    Project mention: Graphify – Less token use for Claude Code | news.ycombinator.com | 2026-08-07
  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. code-review-graph

    Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.

    Project mention: Put code-review-graph Behind a Read-Only MCP Boundary Before Connecting Your Repository | dev.to | 2026-07-21

    code-review-graph is trending because it promises a useful trade: build a persistent local map of a codebase so an AI reviewer reads relevant context instead of ingesting the whole repository. The repository is MIT-licensed and exposes MCP and CLI interfaces.

  4. cocoindex-code

    A super light-weight embedded code search engine CLI (AST based) that just works - improves speed and efficiency for coding agent 🌟 Star if you like it!

    Project mention: I Built a Code AST MCP That Saves 70% Tokens and Went Viral (54K+ Views) | dev.to | 2026-03-10

    I built cocoindex-code - a super lightweight embedded MCP that:

  5. chunkhound

    Local first codebase intelligence

    Project mention: Ex-GitHub CEO Launches a New Developer Platform for AI Agents | news.ycombinator.com | 2026-02-10

    > won't it make just doing a "git checkout" start to be really heavy?

    not really? doesn't git checkout only retrieve the current branch? the checkpoint data is in another branch.

    we can presume that the tooling for this doesn't expect you to manage the checkpoint branch directly. each checkpoint object is associated with a commit sha (in your working branch, master or whatever). the tooling presumably would just make sure you have the checkpoints for the nearby (in history) commit sha's, and system prompt for the agent will help it do its thing.

    i mean all that is trivial. not worth a $60MM investment.

    i suspect what is really going on is that the context makes it back to the origin server. this allows _cloud_ agents, independent of your local claude session, to pick up the context. or for developer-to-developer handoff with full context. or to pick up context from a feature branch (as you switch across branches rapidly) later, easily. yes? you'll have to excuse me, i'm not well informed on how LLM coding agents actually work in that way (where the context is kept, how easy it is to pick it back up again). this is just a bit of opining based on why this is worth 20% of $300MM.

    if i look at https://chunkhound.github.io it makes me think entire is a version of that.

  6. moatless-tools

    We Have No Moat, And Neither Does Devin

  7. Corbell

    AI-powered spec generation and review using multi-repo code graph intelligence for backend teams that ship to production.

    Project mention: Tool to reduce AI tokens and generate more detailed and accurate PRDs | news.ycombinator.com | 2026-03-26
  8. memtrace-public

    Structural memory for AI coding agents. Bi-temporal graph, MCP-native, zero LLM calls. Cursor · Claude Code · Codex · Hermes · VS Code · Windsurf.

    Project mention: Fable 5 Is Back | news.ycombinator.com | 2026-07-01

    That is super cool. Checkout this repo which might give you super power to code quality and cut down 80% of token cost while keeping fable running longer jobs. https://github.com/syncable-dev/memtrace-public?tab=readme-o...

  9. AutoDocs

    We handle what engineers and IDEs won't: generating and maintaining technical documentation for your codebase, while also providing search with dependency-aware context to help your AI tools understand your codebase and its conventions. (by TrySita)

    Project mention: Show HN: AutoDocs – Reduce AI costs and never manage context again | news.ycombinator.com | 2025-09-15

    Btw the link above is broken because of mismatched quotes

    But u can check out the repo at:

    https://github.com/TrySita/AutoDocs

  10. tree-sitter-solidity

    Solidity grammar for tree sitter

  11. tree-hugger

    A light-weight, extendable, high level, universal code parser built on top of tree-sitter

  12. clangd-graph-rag

    Source code graph RAG (GraphRAG) for C/C++ development based on clang/clangd

    Project mention: Show HN: Source code graphRAG for Java/Kotlin development based on jQAssistant | news.ycombinator.com | 2026-02-07

    The project is still a work in progress, but I'd love to get your feedback. Thanks for taking a look

    Btw, I also built a source code graphRAG for C/C++ development at https://github.com/2015xli/clangd-graph-rag.

  13. codegraph-cli

    AI-powered code intelligence CLI with multi-agent analysis, impact graphs, and conversational coding.

    Project mention: Show HN: CodeGraph CLI – Chat with your codebase using graph-augmented RAG | news.ycombinator.com | 2026-02-16
  14. metatron

    Git-native context layer for AI coding agents. Your team's real engineering decisions — patterns, pitfalls, conventions — live as reviewed markdown files in your repo; agents consult them before writing code and record what they learn. Files-first, no server required; MCP as an optional serving layer. (by kerbelp)

    Project mention: Show HN: Metatron – give coding agents your team's conventions over MCP | news.ycombinator.com | 2026-06-08
  15. SwiftDocAutomator

    SwiftDocAutomator is an AI-powered tool that streamlines the generation of clear and concise documentation comments for Swift code, following Apple and Swift best practices.

  16. codebase-intel

    Your AI agent writes code — but does it know WHY your code exists? Decision provenance, quality contracts, and AI anti-pattern detection for coding agents. 19 languages. MCP compatible.

    Project mention: The 3 Things AI Coding Agents Still Can't Do (And How I Fixed Them) | dev.to | 2026-04-08

    GitHub: MutharasuArchunan13/codebase-intel PyPI: pip install codebase-intel License: MIT

  17. droste-memory

    Local MCP code-memory engine for AI agents: structural graph + semantic search, sharded storage, project isolation, and fractal code visualization.

    Project mention: Why vector-only RAG is weak for coding agents | dev.to | 2026-07-01

    GitHub: https://github.com/lorismascio17/droste-memory

  18. knowledge-master

    Local-first knowledge graph for developers. Graph-native RAG with MCP server, blast radius analysis, convention enforcement. Your AI agent's permanent memory.

    Project mention: Stop Re-explaining Your Codebase to AI — Give It Permanent Memory Instead | dev.to | 2026-06-18

    GitHub: github.com/subzone/knowledge-master

  19. org-parser

    A Python parser for the Emacs OrgMode file format. (by Idorobots)

    Project mention: Ask HN: What are tools you have made for yourself since the advent of AI | news.ycombinator.com | 2026-06-08

    I made a Tree-Sitter based parser for Emacs Org-Mode files (that's mostly complete, mostly): https://github.com/Idorobots/tree-sitter-org

    On top of that, I made a Python parser that's meant to improve upon the awesome `orgparse`: https://github.com/Idorobots/org-parser

    And now I'm building a CLI for Emacs Org-Mode, mostly focused on ad-hoc querying, agenda planning, etc: https://github.com/Idorobots/org-cli

  20. ruth

    Google Maps for your codebase — interactive dependency graph, landmark detection, code preview, real-time topology updates

    Project mention: Show HN: Ruth – Google Maps for your codebase (pip install ruth-code) | news.ycombinator.com | 2026-03-23
  21. trelix

    🌲 Fast, reliable code intelligence — Tree-sitter AST parsing, contextual hybrid search, adaptive query planning, call-graph expansion & LLM synthesis. 20+ languages. Zero infra.

    Project mention: I Built trelix Because I Was Tired of Grepping My Way Through Codebases | dev.to | 2026-07-05

    Everything is MIT licensed, on PyPI, and at github.com/sairam0424/trelix. The full documentation is in the repo README including the beast-mode activation block if you want all seven retrieval legs at once.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python tree-sitter discussion

Log in or Post with

Python tree-sitter related posts

Index

What are some of the best open-source tree-sitter projects in Python? This list will help you:

# Project Stars
1 graphify 104,587
2 code-review-graph 28,990
3 cocoindex-code 2,609
4 chunkhound 1,389
5 moatless-tools 642
6 Corbell 478
7 memtrace-public 445
8 AutoDocs 198
9 tree-sitter-solidity 186
10 tree-hugger 132
11 clangd-graph-rag 59
12 coco-search 37
13 codegraph-cli 26
14 metatron 23
15 SwiftDocAutomator 14
16 codebase-intel 5
17 droste-memory 3
18 knowledge-master 2
19 org-parser 2
20 ruth 1
21 trelix 1

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com