LocalFree

Code to Tree MCP server

micl2e2/code-to-tree

Convert source code into an AST, regardless of language.

89 GitHub stars12 forks

Install Code to Tree in Claude Code

This server doesn't publish a package to a registry, so follow the install steps in its README. Once it runs, register it with Claude Code:

Claude Code
claude mcp add code-to-tree -- <command to start the server>

Frequently asked questions

What does the Code to Tree MCP server do?

Convert source code into an AST, regardless of language.

Is the Code to Tree MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Code to Tree run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Code to Tree to Claude Code?

Follow the install steps in the project's README at https://github.com/micl2e2/code-to-tree, then register it with "claude mcp add".

More ai agents & coding agents MCP servers

View all