# Tree-sitter MCP Server (npm · tree-sitter-mcp-server)

Parse code into Tree-sitter ASTs to see node kinds, field names, and positions

- Trust score: 81/100 (high trust)
- Change this week: +3
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-10-24

## Components

- npm · `tree-sitter-mcp-server`: 81/100 (this document), [markdown](https://verifymcp.io/servers/joowani-tree-sitter-mcp-server/tree-sitter-mcp-server.md), [page](https://verifymcp.io/servers/joowani-tree-sitter-mcp-server/tree-sitter-mcp-server)

## Channel facts

- Registry: `npm`
- Package: `tree-sitter-mcp-server`
- Version: `0.1.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-10-24.

- **Supply Chain Security**: 100/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - 0 of 6 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 21 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 77/100
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 250 tokens (~250/item across 1 items; 1 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 73/100
  - Stability observed for 22 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 1 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 2 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a current MCP spec version (2026-07-28).

## Install

### How do I install the Tree-sitter MCP Server server?

Tree-sitter MCP Server runs locally as an npm package, launched with npx -y tree-sitter-mcp-server. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add joowani-tree-sitter-mcp-server -- npx -y tree-sitter-mcp-server
```

### Cursor

```json
{
  "mcpServers": {
    "joowani-tree-sitter-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "tree-sitter-mcp-server"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "joowani-tree-sitter-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "tree-sitter-mcp-server"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add joowani-tree-sitter-mcp-server -- npx -y tree-sitter-mcp-server
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "joowani-tree-sitter-mcp-server": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "tree-sitter-mcp-server"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add joowani-tree-sitter-mcp-server --command npx --arg -y --arg tree-sitter-mcp-server
```

### Hermes

```yaml
mcp_servers:
  joowani-tree-sitter-mcp-server:
    command: "npx"
    args: ["-y", "tree-sitter-mcp-server"]
```

### Netclaw

```json
{
  "McpServers": {
    "joowani-tree-sitter-mcp-server": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "tree-sitter-mcp-server"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add joowani-tree-sitter-mcp-server -t stdio -c npx -a -y tree-sitter-mcp-server
```

### Other

```json
{
  "mcpServers": {
    "joowani-tree-sitter-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "tree-sitter-mcp-server"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-10-23 (score 81, +1)

No change was recorded against any check on this day. Stability & Change Management went from 67 to 70. That category is still filling its 30-day observation window: 20 days of observed history at the previous scan, 21 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-10-21 (score 80, +1)

No change was recorded against any check on this day. Stability & Change Management went from 60 to 63. That category is still filling its 30-day observation window: 18 days of observed history at the previous scan, 19 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-10-19 (score 79, +1)

No change was recorded against any check on this day. Stability & Change Management went from 53 to 57. That category is still filling its 30-day observation window: 16 days of observed history at the previous scan, 17 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-10-17 (score 78, +1)

No change was recorded against any check on this day. Stability & Change Management went from 47 to 50. That category is still filling its 30-day observation window: 14 days of observed history at the previous scan, 15 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-10-15 (score 77, +1)

No change was recorded against any check on this day. Stability & Change Management went from 40 to 43. That category is still filling its 30-day observation window: 12 days of observed history at the previous scan, 13 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-10-14 (score 76, +5)

- [functional improvement] Stability: unverified → 0.40

### 2026-10-03 (score 71, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-10-02 (score 56)

First indexed and scored.

## MCP tools (1)

### `get_tree_sitter_ast` (~209 tokens)

Get Tree-sitter AST

Parse code with Tree-sitter and return its syntax tree, one named node per line, indented two spaces per level: `field: kind (startRow-startColumn) - (endRow-endColumn)`. Rows and columns are zero-based, and columns count bytes. `ERROR` marks code that could not be parsed, and `MISSING kind` marks a token the parser inserted to recover. Supported languages: c, cpp, csharp, go, graphql, hcl, java, javascript, json, jsx, kotlin, php, prisma, protobuf, python, ruby, rust, sql, swift, terraform, thrift, toml, tsx, typescript, yaml.

Input parameters:

- `code` (string, required): Code to parse. It can be a fragment rather than a whole file.
- `language` (string, required): Language of the code, such as `python`, `tsx`, or an alias like `py`, `ts`, or `c#`; case-insensitive.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/joowani-tree-sitter-mcp-server/tree-sitter-mcp-server#diagnostics

## Score history

- 2026-10-24: 81
- 2026-10-23: 81
- 2026-10-22: 80
- 2026-10-21: 80
- 2026-10-20: 79
- 2026-10-19: 79
- 2026-10-18: 78
- 2026-10-17: 78
- 2026-10-16: 77
- 2026-10-15: 77
- 2026-10-14: 76
- 2026-10-13: 71
- 2026-10-12: 71
- 2026-10-06: 71
- 2026-10-04: 71
- 2026-10-03: 71
- 2026-10-02: 56

## Common questions

### What is the Tree-sitter MCP Server server?

Tree-sitter MCP Server is listed in the public MCP registry as io.github.joowani/tree-sitter-mcp-server. Parse code into Tree-sitter ASTs to see node kinds, field names, and positions. This page covers its npm package (tree-sitter-mcp-server).

### Is the Tree-sitter MCP Server server safe to use?

Tree-sitter MCP Server scores 81 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 24 October 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the Tree-sitter MCP Server server expose?

Tree-sitter MCP Server exposes 1 tool: get_tree_sitter_ast. Their descriptions and schemas cost roughly 209 tokens of context every time the server is loaded.

### Is the Tree-sitter MCP Server server still maintained?

Tree-sitter MCP Server is still listed as active in the MCP registry. We last reached this channel on 24 October 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the Tree-sitter MCP Server server under?

Tree-sitter MCP Server declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

## Links

- npm package: https://www.npmjs.com/package/tree-sitter-mcp-server
- Socket report: https://socket.dev/npm/package/tree-sitter-mcp-server
- Repository: https://github.com/joowani/tree-sitter-mcp-server
- Changelog RSS feed: https://verifymcp.io/servers/joowani-tree-sitter-mcp-server/tree-sitter-mcp-server.xml
- Changelog JSON feed: https://verifymcp.io/servers/joowani-tree-sitter-mcp-server/tree-sitter-mcp-server.json
- HTML version of this page: https://verifymcp.io/servers/joowani-tree-sitter-mcp-server/tree-sitter-mcp-server
