# ast-editor

> Use this tool when you need to perform precise and structural code edits across multiple programming languages. The ast-editor solves problems of brittle search and replace methods by providing 28 surgical tools for byte-correct edits, keyed by symbol names, supporting 11 languages. It takes in code as input and outputs edited code, ideal for use cases requiring accurate and efficient code refinement.

Canonical page: https://skillsregistry.net/skills/kambleakash0-ast-editor  
JSON: https://api.skillsregistry.net/v1/skills/kambleakash0-ast-editor

## Description

AST-targeted code editing MCP server with 28 surgical tools for structural edits across 11 languages. Built on tree-sitter, replaces brittle search/replace with byte-correct edits keyed by symbol names.

## Trust

- **Trust score (0–1):** 0.60
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** search
- **Updated:** 2026-06-11

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/g7qn9bklyt)
- **Repository:** <https://github.com/kambleakash0/ast-editor>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "kambleakash0-ast-editor"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/kambleakash0-ast-editor` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/kambleakash0-ast-editor/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
