# code-ast-mcp

> code-ast-mcp — m-sameerkhan-code-ast-mcp. Use this tool when you need to analyze and understand local Python codebases without loading entire source files into context. The code-ast-mcp server provides AI models with abstract syntax tree-based tools for tasks such as file structure analysis, symbol search, and refactoring prompts. It solves problems related to code comprehension, navigation, and optimization, making it ideal for use cases involving large or complex Python projects.

Canonical page: https://skillsregistry.net/skills/m-sameerkhan-code-ast-mcp  
JSON: https://api.skillsregistry.net/v1/skills/m-sameerkhan-code-ast-mcp

## Description

This MCP server enables AI models to analyze local Python codebases using abstract syntax trees, providing tools for file structure analysis, symbol search, import graphing, docstring auditing, and refactoring prompts without loading entire source files into context.

## Trust

- **Trust score (0–1):** 0.70
- **Verification tier:** verified
- **Last scanned:** 2026-08-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-08-28

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/w4tfkw8vz3)
- **Repository:** <https://github.com/m-sameerkhan/code-ast-mcp>

## 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": "m-sameerkhan-code-ast-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/m-sameerkhan-code-ast-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/m-sameerkhan-code-ast-mcp/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
