Tree-Sitter Language Pack
v1.28.0Parse source code, extract structure and symbols, and chunk files for LLMs across 300+ languages.
npm (npx) verified
Requires Node.js 18+
Run in a terminal
claude mcp add tree-sitter-language-pack -- npx -y --package=@xberg-io/ts-pack-cli@1.28.0 ts-pack mcp --transport stdioAdd to
claude_desktop_config.json{
"mcpServers": {
"tree-sitter-language-pack": {
"args": [
"-y",
"--package=@xberg-io/ts-pack-cli@1.28.0",
"ts-pack",
"mcp",
"--transport",
"stdio"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"tree-sitter-language-pack": {
"args": [
"-y",
"--package=@xberg-io/ts-pack-cli@1.28.0",
"ts-pack",
"mcp",
"--transport",
"stdio"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"tree-sitter-language-pack": {
"args": [
"-y",
"--package=@xberg-io/ts-pack-cli@1.28.0",
"ts-pack",
"mcp",
"--transport",
"stdio"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.tree-sitter-language-pack]
command = "npx"
args = ["-y", "--package=@xberg-io/ts-pack-cli@1.28.0", "ts-pack", "mcp", "--transport", "stdio"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: cache_dir, clean_cache, detect_language, download, info, list_languages, parse, process.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json