mcpbeat Sign in

Tree-Sitter Language Pack MCP Server

local only

Tree-Sitter Language Pack runs on your own machine — the client starts it, so there is no endpoint to ping. 1 177 installs a week from npm. Last commit 29 Nov 2026.

Parse source code, extract structure and symbols, and chunk files for LLMs across 300+ languages.

Installs per day peak 397 · avg 47 · +10600% w/w
a month agotoday
1 177
Installs / week
npm · @xberg-io/ts-pack-cli
489
Stars
1 open issue
29 Nov 2026
Last commit
5 releases in 90 days
MIT
License
Rust

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add tree-sitter-language-pack -- npx -y @xberg-io/ts-pack-cli mcp --transport stdio
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "tree-sitter-language-pack": {
      "command": "npx",
      "args": [
        "-y",
        "@xberg-io/ts-pack-cli",
        "mcp",
        "--transport",
        "stdio"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.tree-sitter-language-pack]
command = "npx"
args = ["-y", "@xberg-io/ts-pack-cli", "mcp", "--transport", "stdio"]
.cursor/mcp.json
{
  "mcpServers": {
    "tree-sitter-language-pack": {
      "command": "npx",
      "args": [
        "-y",
        "@xberg-io/ts-pack-cli",
        "mcp",
        "--transport",
        "stdio"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "tree-sitter-language-pack": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@xberg-io/ts-pack-cli",
        "mcp",
        "--transport",
        "stdio"
      ]
    }
  }
}

What the code does

We read the source, 9 h ago · rules 995398eba69f

A tool parameter reaches a dangerous call

A value the model can set ends up inside a file or shell call. That is not a flaw by itself — for a terminal server it is the job — but it is where things go wrong when it is not.

A tool parameter reaches a dangerous call parse.language → plugin/.ai-rulez/opencode/index.js:25, parse.language → plugin/.opencode/plugins/tree-sitter-language-pack.js:30
    const child = spawn("ts-pack", args, {
Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

  const result = spawnSync(target ?? binPath, process.argv.slice(2), { stdio: "inherit" });
In the project's build, not in the package

Found in continuous integration, deployment or infrastructure files, or in a neighbouring package of the same monorepo. None of this is installed when you add the server: it describes how the project is built and released. We list it because a leaked key in a build pipeline is still a real problem, but it is not something this server does on your machine.

        completed = subprocess.run([bundled, *sys.argv[1:]], check=False)  # noqa: S603
    final result = await Process.run('tar', [
    return filepath.Join(base, crateName, "go", moduleVersion, platform), nil
Includes a file named by a variable test_apps/php/bootstrap.php:18
    require_once $pkgAutoloader;

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

A tool parameter here reaches a dangerous call

That is not a flaw by itself — but it is where things go wrong when it is not the job. We re-read this code on every release. Watch it and you hear from us the day another one appears.

Three servers free · no card

Alternatives to Tree-Sitter Language Pack

same job, measured the same way
LLM Sandbox
by vndee

Securely run LLM-generated code in isolated containers across 7 languages and 3 container backends.

129 815 installs/wk local only
guessit-js
by opensubtitles

Parse movie and TV filenames: title, year, season, episode, codecs, languages, release group.

4 124 installs/wk 3 tools answering
Imperal MCP
by imperalcloud

Memory across sessions, a live code map, undo for every change and a fact check

3 734 installs/wk local only
codecalc
by the-40-thieves

Code & logic calculator for AI agents: 31 languages, symbolic math, SMT/logic solving, Big-O.

1 154 installs/wk local only
NestWeaver
by kehl-io

Local code knowledge graph: search symbols, trace callers, and inspect change impact across repos.

620 installs/wk local only
AGENTS.md Generator
by nushey

Analyzes codebases with tree-sitter and generates AGENTS.md files for AI coding agents.

426 installs/wk local only
codeindex
by munhq

Structural code intelligence over MCP: symbols, callers, imports and blast radius, 40+ languages.

317 installs/wk local only
Misterdev
by dcondrey

Autonomous LLM build orchestrator that plans, edits, and verifies code across languages.

226 installs/wk local only

Tree-Sitter Language Pack — questions

Answers built from our own checks of this server.

Why is there no uptime for Tree-Sitter Language Pack?
Tree-Sitter Language Pack runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @xberg-io/ts-pack-cli was installed 1 177 times last week.
How do I connect Tree-Sitter Language Pack?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @xberg-io/ts-pack-cli straight from npm; nothing to host, nothing to sign up for.
How many people use Tree-Sitter Language Pack?
The npm package @xberg-io/ts-pack-cli was installed 1 177 times in the last week. Week over week that is +10600%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Tree-Sitter Language Pack open source?
Yes — it is published under the MIT licence, written in Rust, 489 stars on GitHub and 1 open issue. The source link is on this page, so you can read exactly what it does with your data before you connect it.