Koskamo

Tree-sitter MCP Server

This MCP server enables coding agents to parse code snippets into Tree-sitter Abstract Syntax Trees (ASTs). It supports a wide variety of programming languages including Python, JavaScript, Rust, and Go. The server provides tools to retrieve syntax tree structures, identifying node kinds, field names, and zero-based row-column ranges, which helps agents understand code structure before generating queries or walking the tree.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

Tree-sitter MCP Server logo, by joowaniCommunity listingLocal stdioSource reviewed; not executedPublished by joowani
Vendor documentation

What you can do with it

  • Parse code snippets into Tree-sitter ASTs to visualize structure
  • Check node kinds and field names for specific programming languages
  • Identify syntax errors using ERROR and MISSING nodes
  • Retrieve zero-based row-column ranges for code positions

Source and maintenance

Community listingRegistry 0.1.1
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

tree-sitter-mcp-server 0.1.1

npmnpx
tree-sitter-mcp-server package definition
{
  "version": "0.1.1",
  "transport": "stdio",
  "identifier": "tree-sitter-mcp-server",
  "runtimeHint": "npx",
  "registryType": "npm",
  "registryBaseUrl": "https://registry.npmjs.org"
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "tree-sitter-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "tree-sitter-mcp-server@0.1.1"
      ]
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "tree-sitter-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "tree-sitter-mcp-server@0.1.1"
      ]
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "tree-sitter-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tree-sitter-mcp-server@0.1.1"
      ]
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "tree-sitter-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "tree-sitter-mcp-server@0.1.1"
      ]
    }
  }
}

Let your agent find its tools

Find servers like Tree-sitter MCP Server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.