MCP AST Explorer MCP server
Python symbol exploration for codebase onboarding agents.
0 stars15 downloads/wk
Reviews
Write oneNobody has reviewed MCP AST Explorer yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
MCP AST Explorer tools (6)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
call_chainclass_hierarchyfind_definitionfind_referencesfunction_signaturehealth
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan10 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 87 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How MCP AST Explorer compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 75% of 48,255 servers
- Tools
- 6
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 15
- more than 4% of 12,191 servers with a package
What its tools let an agent do: 6 read
Install MCP AST Explorer in Claude Code, Cursor or VS Code
claude mcp add mcp-ast-explorer -- uvx mcp-ast-explorer
What the publisher says
From the MCP AST Explorer repository's README, as published. We do not edit it. Read it on GitHub
mcp-ast-explorer
<!-- mcp-name: io.github.LovRanRan/mcp-ast-explorer -->
MCP server for deterministic Python codebase symbol exploration.
mcp-ast-explorer indexes Python source files with LibCST and exposes focused MCP tools for codebase onboarding: definition lookup, function signatures, local references, direct call chains, and simple class hierarchy queries.
Codebase Onboarding Stack
mcp-ast-explorer is the semantic symbol layer in a three-server MCP tool stack for Project 6 wayfinder, a codebase onboarding agent.
- mcp-repo-mapper maps repository structure, languages, entry points, framework evidence, and Python dependency edges.
- mcp-ast-explorer provides symbol-grounded Python definition, signature, reference, call-chain, and class-hierarchy lookups.
- mcp-test-runner runs local pytest/Jest checks and coverage summaries so agent claims can be verified against execution.
In wayfinder, this server feeds entry-point and symbol explanation while refusing to invent missing symbols.
Status
This is a Python-only v1. TypeScript is registered as an unsupported backend placeholder so the server has an explicit extension point, but TypeScript analysis is not implemented yet.
The server does not use an LLM for symbol lookup. If a requested symbol or class is not present in the parsed index, tools return a structured not-found result instead of inventing an answer.
Tools
Supported Scope
- Python files parsed by LibCST.
- Symbol kinds: modules, classes, functions, and methods.
- Same-module reference lookup for simple names.
- Direct caller detection from function or method containers.
- Direct subclass detection for simple class Child(Base): inheritance.
- Structured error responses for unsupported languages and missing symbols.
Current Limitations
- Cross-file imports and package-wide resolution are out of scope for v1.
- Aliases, star imports, dynamic attribute access, and qualified references are not resolved.
- call_chain currently returns direct callers only; recursive multi-hop expansion is not implemented.
- class_hierarchy currently returns direct subclasses only and handles simple base names.
- TypeScript is intentionally unsupported in v1.
Local Development
Install dependencies:
uv sync --extra devRun the MCP server:
uv run mcp-ast-explorerRun verification:
uv run ruff check .
uv run mypy
uv run pytestLicense
MIT
Nothing above is checked by us. What we check is on the safety report.
MCP AST Explorer: common questions
- Is MCP AST Explorer MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the MCP AST Explorer safety report
- How do I install MCP AST Explorer?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does MCP AST Explorer need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is MCP AST Explorer maintained?
- The last commit was 124 days ago (2026-07-02). The latest release is v0.1.0.
- How does MCP AST Explorer compare with other MCP servers?
- safety score 88/100 (higher than 75% of 48,255 servers); tools 6 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.