1. Conduid
  2. Developer Tools
  3. Ast Grep
MCP server · Developer Tools

Ast Grep

MCP stdio server exposing ast-grep structural search and safe rewrites to agents

Unclaimed Apache-2.0 last commit a year ago ast-grepcodemodmcpmodel-context-protocolstructural-searchtypescript
51Fair

Scored 10 days ago · breakdown

About Ast Grep

Ast Grep is an MCP server published by dgageot in the Developer Tools category: mCP stdio server exposing ast-grep structural search and safe rewrites to agents.

The repository has 2 stars and 1 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

Claude Code
claude mcp add ast-grep -- npx -y ast-grep-mcp
npx
npx -y ast-grep-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Ast Grep

Powered by Claude · Grounded in docs

I know everything about Ast Grep. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

3 checks have not been run yet.

README

MCP Server for ast-grep

ast-grep is a CLI tool for code structural search, lint and rewriting. Written in Rust.

## Usage with docker mcp

docker mcp tools call ast-grep args=run args="--pattern" args='const $NAME = $VAL' args="--json" args="."

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Ast Grep

How do I install Ast Grep?

Run claude mcp add ast-grep -- npx -y ast-grep-mcp, then add the server to your MCP client's configuration.

Is Ast Grep safe to use with an AI agent?

Its trust score is 51 out of 100 (fair). It passes 2 of the 3 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Ast Grep still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.