MCP AST Explorer
Indexes Python code with LibCST and exposes deterministic symbol, reference, call-chain, and class-hierarchy lookups over MCP.
Install MCP AST Explorer
Run the project’s own setup commands, in order.
Setup steps from the project
MCP AST Explorer installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com
uv run mcp-ast-explorer
Overview
Use cases
- Locate Python definitions during codebase onboarding
- Inspect function and method signatures
- Find same-module references to a symbol
- Trace direct callers of a function
- List direct subclasses in simple class hierarchies
Key features
- LibCST-based Python source indexing
- Definition and signature lookup
- Same-module reference search
- Direct caller detection
- Simple direct subclass detection
- Structured missing-symbol and unsupported-language errors
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How MCP AST Explorer works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about MCP AST Explorer
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcp-ast-explorer)<a href="https://allmcps.com/mcp/mcp-ast-explorer"><img src="https://allmcps.com/api/badge/mcp-ast-explorer?style=directory" alt="MCP AST Explorer on AllMCPs" /></a>