ast-outline-mcp
About
MCP server for ast-outline — a tree-sitter-based CLI that lets AI coding agents pull exactly what they need from a codebase: structural outlines, module digests, symbol bodies, and AST-aware grep.
Details
- Author
- xayan
- Categories
- Developer Tools
Jump to
Setup
Install ast-outline-mcp in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/xayan/ast-outline-mcp
Follow the installation instructions in the repository README, then restart your MCP client.
MCP server for ast-outline — a tree-sitter-based CLI that lets AI coding agents pull exactly what they need from a codebase: structural outlines, module digests, symbol bodies, and AST-aware grep.
An MCP (Model Context Protocol) server forast-outline— a tree-sitter-based CLI that lets AI coding agents pull exactly what they need from a codebase: structural outlines, module digests, symbol bodies, and AST-aware grep.
LLM coding agents explore codebases by reading files directly. A 1200-line file costs 1200 lines of context just to answer "what methods are in here?" —ast-outlineprovides the file's shape in 60–100 lines, and this MCP server exposes that functionality to any MCP-compatible client.
- Node.js >= 18
- ast-outlineCLI installed and available on PATH (installation guide)
npm install -g ast-outline-mcp ast-outline-mcp
Add to your MCP client config (e.g., Claude Desktop):
{ "mcpServers": { "ast-outline": { "command": "npx", "args": ["ast-outline-mcp"] } } }
Get a compact one-page module map of a directory. Each file gets a size label and token estimate. Recommended for initial overview of a codebase.
- path(string, required) — Directory path to digest
Get a structural outline of one or more files or directories. Returns signatures with line ranges (no bodies).
- path(string, required) — File or directory path to outline
- imports(boolean) — Include import/use/using statements
- noPrivate(boolean) — Exclude private members
- noFields(boolean) — Exclude fields/properties
- noDocs(boolean) — Exclude documentation comments
- noAttrs(boolean) — Exclude attributes/decorators
Extract the full source body of one or more symbols from a file.
- file(string, required) — File path to extract symbols from
- symbols(string[], required) — Symbol names to extract
- signature(boolean) — Return header/signature only, no body
AST-aware structural search across files. Matches grouped by enclosing class/function.
- pattern(string, required) — Search pattern (literal or regex, auto-detected)
- path(string, required) — File or directory path to search
- kind(enum: def|call|ref|import) — Narrow results by classification kind
- wordMatch(boolean) — Match whole words only
- caseInsensitive(boolean) — Case-insensitive matching
- filesOnly(boolean) — List matching files only
- count(boolean) — Show match counts per file
- maxCount(number) — Maximum number of matches per file
A prompt that guides an LLM to efficiently explore a codebase using ast-outline tools.
ast-outline supports 20+ languages including TypeScript, Python, Go, Rust, C#, Java, Kotlin, Ruby, PHP, and more. See thefull list.
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
Create crafted UI components inspired by the best 21st.dev design engineers.
Bring agent evaluations, observability, and synthetic test set generation directly into your IDE for free with Galileo's new MCP server
An MCP server to help AI assistants to answer questions and generate AccelByte Extend SDK code more effectively .
MCP server for AI Diagram Maker — generate beautiful software engineering diagrams directly inside Cursor, Claude Desktop, Claude Code, or any MCP-compatible AI agent
ALAPI MCP Tools,Call hundreds of API interfaces via MCP
AI-powered SVG animation generator that transforms static files into animated SVG components using the Allyson platform
MCP server that gives AI assistants on-demand access to 1,500+ amCharts docs, ~300 code examples, and 1000+ class API references.
APIMatic MCP Server is used to validate OpenAPI specifications using APIMatic. The server processes OpenAPI files and returns validation summaries by leveraging APIMatic’s API.
One shared context layer for AI agents and humans — live API specs, DB schemas, and versioned contracts across repos so every agent and teammate works from the same source of truth.
Build and deploy full-stack Next.js apps with 98 tools for React, AWS, and MongoDB
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





