MCP Directory
Back

mcp-server-tree-sitter

by wrale · Python · ★ 298

MCP Server for Tree-sitter

#ai-assistant#ast#claude#claude-ai#claude-desktop#code-analysis#code-search#coding-assistant#mcp#model-context-protocol#model-context-protocol-servers#tree-sitter

Install

pip install git+https://github.com/wrale/mcp-server-tree-sitter.git

Claude Desktop config

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-server-tree-sitter": {
      "command": "uvx",
      "args": [
        "git+https://github.com/wrale/mcp-server-tree-sitter.git"
      ]
    }
  }
}

From the README

A Model Context Protocol (MCP) server that provides code analysis capabilities using tree-sitter, designed to give AI assistants intelligent access to codebases with appropriate context management. Claude Desktop is the reference implementation target. - 🔍 **Flexible Exploration**: Examine code at multiple levels of granularity - 🧠 **Context Management**: Provides just enough information without overwhelming the context window - 🌐 **Language Agnostic**: Supports many programming languages including Python, JavaScript, TypeScript, Go, Rust, C, C++, C#, Swift, Java, Kotlin, Dart, Julia, and…
Read full README on GitHub →

💡 Need a managed MCP host?

Try Claude Pro for the smoothest MCP experience, or browse our cloud-hosted servers.

Related search servers