# Code2Flow

> Use this tool when you need to generate visual code flow diagrams from source code, analyze code structure, or understand program execution paths. It solves problems related to code comprehension, documentation generation, and architectural analysis by providing a FastAPI-based interface for AI assistants. The tool takes source code as input and outputs visual flow diagrams, making it ideal for tasks that require automated code visualization and analysis.

Canonical page: https://skillsregistry.net/skills/kursk-ye-code2flow  
JSON: https://api.skillsregistry.net/v1/skills/kursk-ye-code2flow

## Description

Code2Flow MCP Server provides a FastAPI-based interface that enables AI assistants to generate visual code flow diagrams from source code. By leveraging the code2flow Python library, this server allows agents to analyze code structure, visualize execution paths, and understand program flow without manual diagramming. The implementation includes a client example script demonstrating how to interact with the server, making it particularly useful for code comprehension, documentation generation, and architectural analysis tasks.

## Trust

- **Trust score (0–1):** 0.50
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** productivity
- **Updated:** 2026-04-25

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/kursk-ye-code2flow)
- **Repository:** <https://github.com/kursk-ye/code2flow-mcp-server>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "kursk-ye-code2flow"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/kursk-ye-code2flow` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/kursk-ye-code2flow/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
