Skip to content
Agents tracked: 442 Downloads (7d): 202M down 19.3% GitHub stars: 10.4M Releases (7d): 693 Agent status: 1 with issuesSince last limit reset: Claude 28d · Codex 1d Updated Oct 21, 2026

tree-sitter-swift

Swift language grammar for the Tree-sitter parser generator for code analysis.

Languages, types and runtimes PyPI MIT

Used in agent projects
2
0.1% of 1,622 Python repos built with AI coding agents; 32 counting our dependency samples
Gid Score
38 /100
#2825 of 3,794 tools, #46 in languages, types and runtimes · ranking
Rank in languages, types and runtimes
#42 of 60
by use in those projects
Downloads
606K
PyPI, last 7 days, tree-sitter-swift
GitHub stars
225
115 forks · last push Oct 18, 2026

How tree-sitter-swift is used

tree-sitter-swift is a dependency in 2 of the 6,211 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,980); counting those, it appears in 32 projects, and what it is used with below comes from all of them. Projects that use it most often also use tree-sitter (100.0%), NetworkX (96.9%), tree-sitter-cpp (96.9%).

tree-sitter-swift popularity over time

Top tools by Gid Score

tree-sitter-swift: downloads per weekPyPI, tree-sitter-swift 586,936
tree-sitter-swift: GitHub starsalex-pinkus/tree-sitter-swift 225

Gid Score 38: downloads 59, use in agent projects 34, GitHub stars 0, downloads trend 56 (each 0-100). How it is calculated.

Often used with tree-sitter-swift

tree-sitter100.0% of tree-sitter-swift projects · 238.9× more than average
NetworkX96.9% of tree-sitter-swift projects · 97.0× more than average
tree-sitter-cpp96.9% of tree-sitter-swift projects · 752.1× more than average
tree-sitter-java96.9% of tree-sitter-swift projects · 601.7× more than average
Tree-sitter JavaScript96.9% of tree-sitter-swift projects · 501.4× more than average

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

Install

Packagepip install tree-sitter-swift
Main stacksPython (32)
Example projectsgupta29470/codewalk

Alternatives to tree-sitter-swift

All languages, types and runtimes

In our scan, none of the most used tools in Languages, types and runtimes does the same job as tree-sitter-swift: they are add-ons, companions or tools for a different task.

More in Languages, types and runtimes: TypeScript tsx ts-node jiti vue-tsc Cloudflare Workers Types mypy tsconfig-paths

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