Enterprise DNA
M MCP Servers Developer low

micl2e2/code-to-tree

by Various

A runtime-free MCP server that converts source code into AST🌲, regardless of language.

M

MCP

micl2e2/code-to-tree

Added 1 June 2026

#abstract-syntax-tree #agentic #ast #claude #dependency-free #llm #mcp #mcp-server

Overview

A runtime-free MCP server that converts source code into abstract syntax trees (ASTs) for any language. It parses code without executing it, making it a lightweight static analysis tool.

Best for

Best for
Developers needing a simple, language-agnostic AST extraction tool for static code analysis

Use cases

  • Generate ASTs from source code for analysis or transformation
  • Integrate with MCP-compatible editors for code structure visualization
  • Build language-agnostic static analysis pipelines

Notes

A runtime-free MCP server that converts source code into abstract syntax trees (ASTs) for any language. It parses code without executing it, making it a lightweight static analysis tool.

83 stars on GitHub. Last updated 2026-03-14. Licensed MIT.

Use cases

  • Generate ASTs from source code for analysis or transformation
  • Integrate with MCP-compatible editors for code structure visualization
  • Build language-agnostic static analysis pipelines

Pros

  • Works with any programming language without runtime dependencies
  • Lightweight C implementation with minimal overhead
  • Useful for developers needing quick AST extraction

Cons

  • Limited to AST generation, no deeper semantic analysis
  • Small community with only 83 stars, less support
  • Requires MCP-compatible client to be useful

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Works with any programming language without runtime dependencies
  • Lightweight C implementation with minimal overhead
  • Useful for developers needing quick AST extraction

Cons

  • Limited to AST generation, no deeper semantic analysis
  • Small community with only 83 stars, less support
  • Requires MCP-compatible client to be useful