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-java

Java grammar for tree-sitter code parsing and analysis.

Scraping, browsers and parsing PyPI MIT

Used in agent projects
10
0.6% of 1,622 Python repos built with AI coding agents; 54 counting our dependency samples
Gid Score
42 /100
#2412 of 3,794 tools, #83 in scraping, browsers and parsing · ranking
Rank in scraping, browsers and parsing
#32 of 134
by use in those projects
Downloads
1.6M
PyPI, last 7 days, tree-sitter-java
GitHub stars
277
144 forks · last push Sep 13, 2026

How tree-sitter-java is used

tree-sitter-java is a dependency in 10 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 54 projects, and what it is used with below comes from all of them. The most used alternative in our scan is tree-sitter-typescript (Python) (13 projects). Projects that use it most often also use tree-sitter (100.0%), Tree-sitter JavaScript (98.1%), tree-sitter-typescript (Python) (81.5%).

tree-sitter-java popularity over time

Top tools by Gid Score

tree-sitter-java: downloads per weekPyPI, tree-sitter-java 1,512,198
tree-sitter-java: GitHub starstree-sitter/tree-sitter-java 277

Gid Score 42: downloads 68, use in agent projects 42, GitHub stars 0, downloads trend 49 (each 0-100). How it is calculated.

Often used with tree-sitter-java

tree-sitter100.0% of tree-sitter-java projects · 238.8× more than average
Tree-sitter JavaScript98.1% of tree-sitter-java projects · 507.8× more than average
tree-sitter-typescript (Python)81.5% of tree-sitter-java projects · 389.1× more than average
NumPy77.8% of tree-sitter-java projects · 13.3× more than average
tree-sitter-cpp77.8% of tree-sitter-java projects · 603.6× more than average
tree-sitter-rust77.8% of tree-sitter-java projects · 603.6× more than average
NetworkX75.9% of tree-sitter-java projects · 76.0× more than average
Pydantic75.9% of tree-sitter-java projects · 8.8× more than average

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

By coding agent

Claude Code0.2% of projects set up for it

Share of public repos configured for each agent that list tree-sitter-java as a dependency.

How tree-sitter-java 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-rust, tree-sitter-cpp, tree-sitter-typescript (JavaScript) 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-java

GitHub Sponsors Open Collective Ko-fi

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

Install

Packagepip install tree-sitter-java
Main stacksPython (54)
Example projectswandb/llm-leaderboard, SalesforceAIResearch/SFR-RAG, PurCL/ASTRA, aanno/cocoindex-code-mcp-server, LennardZuendorf/indexed

Alternatives to tree-sitter-java

All scraping, browsers and parsing

Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside tree-sitter-java are not listed here; they are in "Often used with".

Tool Gid Score Used in agent projectsDownloads / wk GitHub starsLicense
tree-sitter-typescript (Python) pypi
TypeScript and TSX grammar for tree-sitter code parsing and analysis.
47 13 (0.8%) 2.8M 536 MIT
Tree-sitter JavaScript pypi
JavaScript grammar for tree-sitter enabling fast code parsing and analysis.
45 12 (0.7%) 3.1M 495 MIT

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

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