• Home
  • Categories
  • Tags
  • Pricing
  • Submit
    Decorative pattern
    1. Home
    2. Repository & Code Analysis Mcp Servers
    3. code-to-tree

    code-to-tree

    code-to-tree is a single-binary Model Context Protocol (MCP) server that converts source code into an abstract syntax tree (AST) representation, regardless of the programming language. It enables MCP-compatible clients to analyze and navigate code structure programmatically via a unified server interface.

    🌐Visit Website

    About this tool

    code-to-tree

    Category: Repository – Code Analysis MCP Servers
    Tags: code-analysis, AST, multi-language
    Source: https://github.com/micl2e2/code-to-tree

    Overview

    code-to-tree is a single-binary, runtime-free Model Context Protocol (MCP) server that converts source code into an abstract syntax tree (AST) representation, regardless of the programming language. It exposes this functionality through a unified MCP-compatible interface so clients can analyze and navigate code structure programmatically.

    Features

    • MCP server implementation

      • Implements the Model Context Protocol for tool/server interoperability.
      • Usable by any MCP-compatible client.
    • Single-binary, runtime-free design

      • Distributed as a single compiled binary.
      • Does not require an external runtime environment at execution time.
    • Language-agnostic AST generation

      • Converts source code into an abstract syntax tree independently of programming language.
      • Provides a unified structural representation suitable for multi-language codebases.
    • Programmatic code structure access

      • Lets clients inspect and navigate code structure via AST.
      • Supports automated code analysis and tooling workflows over MCP.
    • Example configurations and tool calls

      • Includes sample JSON tool call files (toolcall-1.json, toolcall-2.json, toolcall-3.json) and toolslist.json illustrating how to interact with the server through MCP.
      • Example patch file (ts1.patch) demonstrating AST-related usage or integration scenarios.
    • Documentation and assets

      • README.md / README.org describing setup and usage (in-repo).
      • Screenshot assets (chathistory.png, wholeast.png) showing example interactions and AST visualizations.

    Licensing

    • License file: LICENSE (specific terms are in the repository license file).

    Technical Artifacts

    • Core implementation mainly in code-to-tree.c.
    • Build configuration via Makefile.
    • GitHub Actions workflows under .github/workflows for CI-related tasks.

    Pricing

    • Not applicable; this is an open-source GitHub repository. No pricing plans are specified in the provided content.
    Surveys

    Loading more......

    Information

    Websitegithub.com
    PublishedDec 31, 2025

    Categories

    1 Item
    Repository & Code Analysis Mcp Servers

    Tags

    3 Items
    #code-analysis#ast#multi-language
    Decorative pattern
    Built with
    Ever Works
    Ever Works

    Connect with us

    Stay Updated

    Get the latest updates and exclusive content delivered to your inbox.

    Product

    • Categories
    • Tags
    • Pricing
    • Help

    Clients

    • Sign In
    • Register
    • Forgot password?

    Company

    • About Us
    • Admin
    • Sitemap

    Resources

    • Blog
    • Submit
    • API Documentation
    All product names, logos, and brands are the property of their respective owners. All company, product, and service names used in this repository, related repositories, and associated websites are for identification purposes only. The use of these names, logos, and brands does not imply endorsement, affiliation, or sponsorship. This directory may include content generated by artificial intelligence.
    Copyright © 2025 Acme. All rights reserved.·Terms of Service·Privacy Policy·Cookies