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

web-tree-sitter

Tree-sitter language parser bindings for parsing and analyzing code in browsers.

Scraping, browsers and parsing npm MIT

Used in agent projects
20
0.4% of 4,818 JS/TS repos built with AI coding agents
Gid Score
61 /100
#712 of 3,794 tools, #22 in scraping, browsers and parsing · ranking
Rank in scraping, browsers and parsing
#16 of 134
by use in those projects
Downloads
4.8M
npm, last 7 days, web-tree-sitter
GitHub stars
27.2K
2,983 forks · last push Oct 20, 2026

How web-tree-sitter is used

web-tree-sitter is a dependency in 20 of the 6,208 public GitHub projects set up for AI coding agents that we scanned (0.4% of the 4,818 JavaScript/TypeScript ones), #16 of 134 in scraping, browsers and parsing. Counting the projects our scan samples by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983), it appears in 54; those are left out of every share on this page. The most used alternative in our scan is Acorn (17 projects). Projects that use it most often also use Anthropic SDK (90.0%), Model Context Protocol SDK (JavaScript) (85.0%), Zod (90.0%). It is more common in projects set up for OpenClaw (3.3%) than for GitHub Copilot (0.2%).

web-tree-sitter popularity over time

Top tools by Gid Score

web-tree-sitter: downloads per weeknpm, web-tree-sitter 4,811,636
web-tree-sitter: GitHub starstree-sitter/tree-sitter 27,230

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

Often used with web-tree-sitter

Anthropic SDK90.0% of web-tree-sitter projects · 24.1× more than average
Model Context Protocol SDK (JavaScript)85.0% of web-tree-sitter projects · 9.0× more than average
Zod90.0% of web-tree-sitter projects · 3.6× more than average
OpenAI80.0% of web-tree-sitter projects · 17.5× more than average
chokidar75.0% of web-tree-sitter projects · 44.3× more than average
Express75.0% of web-tree-sitter projects · 11.1× more than average
Marked70.0% of web-tree-sitter projects · 27.5× more than average
esbuild50.0% of web-tree-sitter projects · 10.7× more than average

By coding agent

Claude Code0.5% of projects set up for it
OpenClaw3.3% of projects set up for it
GitHub Copilot0.2% of projects set up for it

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

How web-tree-sitter 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: tree-sitter-typescript (Python), Tree-sitter JavaScript, tree-sitter-java, 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 web-tree-sitter

GitHub Sponsors Open Collective Ko-fi

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

Install

Packagenpm install web-tree-sitter
Main stacksTypeScript / JavaScript (20)
Example projectsgarrytan/gbrain, mertcanaltin/composto, CharlesHoskinson/dancesWithClaws, Hive-Academy/ptah-extension, bharat3645/The-Ideal-Harness

Alternatives to web-tree-sitter

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 web-tree-sitter are not listed here; they are in "Often used with".

Tool Gid Score Used in agent projectsDownloads / wk GitHub starsLicense
Acorn npm
Fast, minimal JavaScript/ECMAScript parser written in JavaScript.
66 17 (0.4%) 152M 11.5K MIT

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

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