Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

tree-sitter-python

Python grammar for Tree-sitter.

Scraping, browsers and parsing npm MIT

Used in agent projects
4
0.1% of 4,818 JS/TS repos built with AI coding agents; 23 counting our dependency samples
Gid Score
38 /100
#2772 of 3,794 tools, #100 in scraping, browsers and parsing · ranking
Rank in scraping, browsers and parsing
#58 of 134
by use in those projects
Downloads
838K
npm, last 7 days, tree-sitter-python
GitHub stars
571
253 forks · last push Sep 13, 2026

How tree-sitter-python is used

tree-sitter-python is a dependency in 4 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 23 projects, and what it is used with below comes from all of them. Projects that use it most often also use tree-sitter-typescript (JavaScript) (100.0%), tree-sitter-javascript (95.7%), tree-sitter-go (87.0%).

tree-sitter-python popularity over time

Top tools by Gid Score

tree-sitter-python: downloads per weeknpm, tree-sitter-python 837,817
tree-sitter-python: GitHub starstree-sitter/tree-sitter-python 571

Gid Score 38: downloads 62, use in agent projects 30, GitHub stars 2, downloads trend 57 (each 0-100). How it is calculated.

Often used with tree-sitter-python

tree-sitter-typescript (JavaScript)100.0% of tree-sitter-python projects · 1552.0× more than average
tree-sitter-javascript95.7% of tree-sitter-python projects · 1979.4× more than average
tree-sitter-go87.0% of tree-sitter-python projects · 2699.1× more than average
Model Context Protocol SDK (JavaScript)78.3% of tree-sitter-python projects · 8.2× more than average
Anthropic SDK69.6% of tree-sitter-python projects · 18.6× more than average
Express69.6% of tree-sitter-python projects · 10.3× more than average
esbuild65.2% of tree-sitter-python projects · 14.0× more than average
ansi-to-html60.9% of tree-sitter-python projects · 472.3× more than average

From all 23 projects in our scan that use tree-sitter-python, including the dependency samples.

How tree-sitter-python is funded

Most funded tools

Open Collective: Tree-sitter

Received, last 12 months$0 Oct 2025 – Sep 2026
Estimated annual budget$0 Open Collective's estimate
Balance$16
Raised since the start$16
Typical month median, last 12 months$0
Contributors, last 12 months0

Apr 2025Sep 2026

Money by month. First money received in Apr 2025. The typical month is the median: one big one-off donation does not move it.

The same collective is named by 13 more tools in our catalog: web-tree-sitter, tree-sitter-typescript (Python), Tree-sitter JavaScript, tree-sitter-java, tree-sitter-rust, tree-sitter-cpp and others.

USD after payment processor fees, as Open Collective reports it; fiscal host Open Source Collective. Source

GitHub Sponsors

@tree-sitter14 current sponsors

GitHub shows how many people and companies sponsor an account, not how much they pay.

Ways to fund tree-sitter-python

GitHub Sponsors Open Collective Ko-fi

As the maintainers list them in FUNDING.yml on GitHub. Checked Oct 20, 2026.

Install

Packagenpm install tree-sitter-python
Main stacksTypeScript / JavaScript (22), Rust (1)
Example projectsthedotmack/claude-mem, ViaTumLab/Yan-Agent, RaheesAhmed/SajiCode, jghiringhelli/codeseeker, ijw-fyi/agent-pr

Alternatives to tree-sitter-python

All scraping, browsers and parsing

In our scan, none of the most used tools in Scraping, browsers and parsing does the same job as tree-sitter-python: they are add-ons, companions or tools for a different task.

More in Scraping, browsers and parsing: Beautiful Soup Puppeteer lxml Playwright Core Playwright (Python) Cheerio fast-xml-parser jsonc-parser

Is tree-sitter-python right for your project? Ask AgentGid →