Tree-sitter

by wrale · AI & ML · mcp-server, pypi

Provides code analysis capabilities through tree-sitter parsing, enabling structured understanding and manipulation of source code across multiple programming languages for tasks like code review, refactoring, and documentation generation.

MCP Server Tree-sitter provides code analysis capabilities through the tree-sitter parsing library, enabling AI assistants to understand and manipulate source code across multiple programming languages. Built by Wrale, this implementation leverages the tree-sitter-language-pack to support a wide range of languages with a unified interface for traversing abstract syntax trees, performing code searches, and extracting semantic information. The server is designed for workflows requiring deep code comprehension, such as code review, refactoring suggestions, and documentation generation, allowing AI assistants to work with code in a structured way rather than treating it as plain text.

Source: https://github.com/wrale/mcp-server-tree-sitter

Install

uvx mcp-server-tree-sitter

Tags: mcp-server, pypi

275 GitHub stars · Source: pulsemcp

About AI & ML MCP servers and Claude skills

AI & ML MCP servers extend what AI agents can do inside Claude Code, Cursor, Copilot, Codex, and Windsurf. The Skiln directory indexes 16,000+ such integrations across 22 categories.

Tree-sitter is one of hundreds of AI & ML entries indexed on Skiln. Browse the full AI & ML category or the complete directory of Claude skills, MCP servers, agents, commands, and hooks.

Related AI & ML MCPs and skills

  • ImageSorcery by sunriseapps

    Provides powerful image manipulation capabilities including resizing, cropping, object detection, OCR text extraction, and finding objects based on text descriptions using Python with OpenCV and Ultralytics

  • Sequential Thinking Multi-Agent System by fradser

    Orchestrates a team of specialized agents working in parallel to break down complex problems through structured thinking steps, enabling multi-disciplinary analysis with greater depth than single-agent approaches.

  • Investor Agent (Financial Analysis) by ferdousbhai

    Provides real-time financial analysis tools leveraging market data from yfinance and CNN's Fear & Greed Index for investment research, portfolio analysis, and market sentiment evaluation.

  • Trello by delorenj

    Enables Trello board interactions for task and project management using the Trello REST API.

  • MCP Reasoner by jacck

    Implements beam search and thought evaluation for structured problem-solving, enabling exploration of multiple solution paths in complex reasoning tasks.

  • BaZi Astrology by cantian-ai

    Provides a bridge to Chinese BaZi astrology calculations, enabling fortune-telling and personality analysis based on birth date and time without specialized knowledge of the complex calculation systems.

  • Flyto Core by flytohub

    Secure execution engine for AI agents with 300+ modules.

  • Perplexity Research Assistant by dainfernalcoder

    Integrates with Perplexity Sonar Pro API to provide real-time research assistance for developers, enabling efficient documentation retrieval, API discovery, and code analysis

Frequently asked questions

How do I install Tree-sitter?

Add the install command above to your Claude Code, Cursor, or Windsurf MCP configuration. Most servers register via npx, a local command, or a Docker image. Refer to the source repository for environment variables and credential requirements.

Which clients support Tree-sitter?

Any MCP-compatible client works: Claude Desktop, Claude Code CLI, Cursor, Windsurf, Zed, and VS Code with the official MCP extension. OpenAI Codex and GitHub Copilot increasingly support MCP via adapter bridges.

Is Tree-sitter free?

The server itself is typically open source. Any upstream service (API keys, paid tiers, hosted infrastructure) may have its own pricing. Check the source repository for details.