code2prompt
Developed by mufeedvh
Code2Prompt is a powerful context engineering tool built in Rust, designed to ingest entire codebases and format them into structured prompts for Large Language Models. It features a Terminal User Interface (TUI), smart filtering that respects .gitignore, customizable Handlebars templating, token usage tracking, and Git integration (diffs, logs). It offers a CLI, a Python SDK for AI agents/RAG pipelines, and a Model Context Protocol (MCP) server, streamlining codebase context preparation.
- Intelligent file filtering and codebase bundling
- Highly customizable Handlebars templating
- Built-in token tracking and Git integration
- Python SDK and MCP server for AI Agent integration
desktop