Code2Flow icon

Code2Flow

Createdkursk-ye

Generates code call graphs and serves them via the Model Context Protocol (MCP) for AI application integration.

About

This project wraps the code2flow command-line tool as an MCP server, enabling AI applications to generate and access code call graphs through a standardized protocol. It supports multiple programming languages, including Python, JavaScript, Ruby, and PHP. The server offers tools for generating call graphs, checking code2flow version, and analyzing code complexity, making it a valuable asset for AI-driven code analysis and understanding.

Key Features

  • Generates code call graphs from source code.
  • Provides services through the Model Context Protocol (MCP) for easy AI integration.
  • Offers version checking and code complexity analysis.
  • Supports multiple programming languages (Python, JavaScript, Ruby, PHP).
  • Outputs call graphs in PNG format.
  • 0 GitHub stars

Use Cases

  • Analyzing code structure and dependencies for large projects.
  • Integrating code call graph generation into AI development workflows.
  • Automating code understanding and exploration for AI agents.