micl2e2/code-to-tree
A runtime-free MCP server that converts source code into AST🌲, regardless of language.
This tool helps developers or AI agents accurately convert source code into its Abstract Syntax Tree (AST) representation, regardless of the programming language. You input source code in languages like C, C++, Python, or Java, and it outputs the corresponding AST structure. This is useful for anyone working with code analysis, refactoring, or language model applications.
No commits in the last 6 months.
Use this if you need to reliably transform source code from various programming languages into a standardized AST format for analysis or processing by other tools, especially Large Language Models.
Not ideal if you are looking for a high-level code analysis tool with pre-built functionalities beyond AST generation.
Stars
82
Forks
13
Language
C
License
MIT
Category
Last pushed
May 17, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/mcp/micl2e2/code-to-tree"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
bgauryy/octocode-mcp
MCP server for semantic code research and context generation on real-time using LLM patterns |...
DeusData/codebase-memory-mcp
MCP server that indexes your codebase into a persistent knowledge graph. 64 languages, sub-ms...
Azure-Samples/snippy
🧩 Build AI-powered MCP Tools with Azure Functions, Durable Agents & Cosmos vector search....
aimasteracc/tree-sitter-analyzer
A scalable, multi-language code analysis framework based on Tree-sitter, usable both as a CLI...
wrale/mcp-server-tree-sitter
MCP Server for Tree-sitter