ast-grep

MCP Server

by ast-grep · Added 5mo ago

Claude
362

Install

git clone https://github.com/ast-grep/ast-grep-mcp

Add to Claude

claude mcp add ast-grep-ast-grep-mcp

Quick Setup Config

Copy & paste ready

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "ast-grep": {
      "command": "npx",
      "args": [
        "@modelcontextprotocol/ast-grep"
      ]
    }
  }
}

Paste into your Claude Desktop config file, then restart Claude.

About

Bridges to the ast-grep code search tool for finding code patterns in projects using abstract syntax tree matching, enabling efficient code analysis and refactoring tasks.

Tags

AI & MLmcp-server

From Our Store

View all →
Claude Code

Claude Code Power User Kit

$39+

Advanced Claude Code skills and configurations

OpenClaw

OpenClaw Business Starter Kit

$59+

Set Up Your AI Assistant in 60 Minutes