{"repo":"micl2e2/code-to-tree","free":true,"listed":false,"github":"https://github.com/micl2e2/code-to-tree","clone":"git clone https://github.com/micl2e2/code-to-tree.git","description":"A runtime-free MCP server that converts source code into AST🌲, regardless of language.","language":"C","stars":86,"topics":["abstract-syntax-tree","ast","dependency-free","mcp","mcp-server","mcp-tools","tree-sitter","no-runtime-dependencies","agentic","claude"],"license":"MIT","category":"mcp-servers","readme_excerpt":"Table of Contents - MCP Server: code-to-tree - Using code-to-tree - Configure MCP Clients - Building (Windows) - Building (macOS) MCP Server: code-to-tree The code-to-tree server's goals are: 1. Give LLMs the capability of accurately converting source code into AST(Abstract Syntax Tree), regardless of language. 2. One standalone binary should be everything the MCP client needs. These goals imply: 1. The underlying syntax parser should be versatile enough. Here we choose tree-sitter, and languages are: C, C++, Rust, Ruby, Go, Java, Python. 2. The server should be able to carry all capabilities within itself, imposing minimum software dependencies on the end user's machine. Here we choose mcpc. Screenshots: The above screenshots are obtained by asking the question specified in q.md . ( IMPORTANT NOTE : LLMs have no responsibility of generating the identical result for the same question, you will likely get a completely different style or content. The screenshots or questions provided here are just for the reference) Using code-to-tree Before everthing, you need to have the code-to-tree executable on your machine ( code-to-tree.exe for Windows, code-to-tree for macOS), you can download at GitHub release page or build it yourself. Once downloaded, you configure your MCP clients to install it, check the section \"Configure MCP Clients\" for more details. Configure MCP Clients Here we use Claude as the example. Windows In your Claude configuration ( C:\\Users\\YOUR NAME\\AppData\\Roaming","default_branch":null,"files":null,"tree":[],"storefront":"/r/micl2e2","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/micl2e2/code-to-tree/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}