by wrale
MCP Server for Tree-sitter
# Add to your Claude Code skills
git clone https://github.com/wrale/mcp-server-tree-sitterA 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.
<a href="https://glama.ai/mcp/servers/@wrale/mcp-server-tree-sitter"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@wrale/mcp-server-tree-sitter/badge" alt="mcp-server-tree-sitter MCP server" /> </a>No comments yet. Be the first to share your thoughts!
For a comprehensive list of all available commands, their current implementation status, and detailed feature matrix, please refer to the FEATURES.md document.
pip install mcp-server-tree-sitter
git clone https://github.com/wrale/mcp-server-tree-sitter.git
cd mcp-server-tree-sitter
pip install -e ".[dev,languages]"
You can make the server available in Claude Desktop either through the MCP CLI or by manually configuring Claude Desktop.
Register the server with Claude Desktop:
mcp install mcp_server_tree_sitter.server:mcp --name "tree_sitter"
Alternatively, you can manually configure Claude Desktop:
Open your Claude Desktop configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonCreate the file if it doesn't exist.
Add the server to the mcpServers section:
{
"mcpServers": {
"tree_sitter": {
"command": "python",
"args": [
"-m",
...