LikeC4
@likec4
LikeC4 MCP Server provides knowledge of your LikeC4 model to LLMs.
Overview
What is LikeC4?
LikeC4 is a modeling language for describing software architecture and a set of tools to generate diagrams from the model. It is inspired by the C4 Model and Structurizr DSL but offers flexibility to customize notation, element types, and nested levels to fit specific needs.
How to use LikeC4?
Write architecture models in LikeC4 source files (e.g., .c4). Use the CLI to preview diagrams by running npx likec4 start. A VS Code extension is available for syntax highlighting, validation, and live preview within the editor.
Key features of LikeC4
- Modeling language for software architecture as code
- Generates live diagrams from the model
- Customizable notation, element types, and nested levels
- CLI server for instant preview (
npx likec4 start) - VS Code extension for in-editor support
- Open source under MIT license
Use cases of LikeC4
- Documenting and visualizing software architecture for teams
- Collaborating on architecture with always up-to-date diagrams
- Evolving architecture models alongside code changes
- Generating diagrams for presentations or documentation
FAQ from LikeC4
How is LikeC4 different from the C4 Model?
LikeC4 is inspired by the C4 Model but provides flexibility to customize notation, element types, and any number of nested levels, perfectly tailored to your needs.
How do I preview diagrams with LikeC4?
Run npx likec4 start in your project directory to start a local preview server that shows live diagrams from your model.
Is there a VS Code extension for LikeC4?
Yes, a VS Code extension is available on the marketplace (and Open VSX) that provides syntax highlighting, validation, and live preview.
What license does LikeC4 use?
LikeC4 is released under the MIT License.