Main Menu
  • Tools
  • Developers
  • Topics
  • Discussions
  • News
  • Blogs
  • Builds
  • Contests
Create
Sign In
    EveryDev.ai
    Sign inSubscribe
    Home
    Tools

    1,695+ AI tools

    • New
    • Trending
    • Featured
    • Compare
    Categories
    • Agents852
    • Coding826
    • Infrastructure375
    • Marketing347
    • Design291
    • Research273
    • Projects263
    • Analytics258
    • Integration156
    • Testing156
    • Data148
    • Security128
    • Learning124
    • MCP124
    • Extensions107
    • Communication102
    • Prompts90
    • Commerce86
    • Voice83
    • Web66
    • DevOps57
    • Finance17
    Sign In
    1. Home
    2. Tools
    3. Code2Prompt
    Code2Prompt icon

    Code2Prompt

    Prompt Engineering

    Transform your codebase into AI-optimized prompts using the Goal + Format + Context framework for better LLM interactions.

    Visit Website

    At a Glance

    Pricing

    Open Source

    Free and open-source under MIT license

    Engagement

    Available On

    Windows
    macOS
    Linux
    API
    SDK

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Prompt EngineeringContext EngineeringCommand Line Assistants

    Alternatives

    Repo PromptGet Shit DoneContext Engineering Intro

    Developer

    Mufeed VH & Olivier D'AnconaCode2Prompt is developed by Mufeed VH and Olivier D'Ancona a…

    Listed Jan 2026

    About Code2Prompt

    Code2Prompt is a context engineering tool that ingests your codebase and transforms it into structured, AI-ready prompts. Built in Rust for high performance, it enables developers to convert any repository into meaningful context following the Goal + Format + Context framework, making it easier to get accurate, context-aware responses from AI models.

    Key Features:

    • High-Performance Rust Engine - Written in Rust for speed and efficiency, capable of handling large codebases with minimal resource usage while maintaining fast processing times.

    • Handlebars-Powered Templates - Offers customizable prompt generation using Handlebars templates, giving developers full control over the output format and structure of generated prompts.

    • Smart Filtering with Glob Patterns - Supports include/exclude patterns with glob matching for precise code selection, allowing you to query LLMs without extra noise and reduce hallucination.

    • Multi-Format Export - Exports structured prompts in JSON, Markdown, or XML with different formatting options to suit various workflows and AI model requirements.

    • Git Integration - Includes Git diff and log extraction for better context, making it easier to understand code changes over time and provide relevant history to AI models.

    • Multiple Interfaces - Available as a CLI tool for terminal usage, a Python SDK for programmatic integration, and an MCP (Model Context Protocol) server for AI agent workflows.

    • LLM Compatibility - Works with all major AI models including Claude, GPT, Gemini, Mistral, DeepSeek, Qwen, Grok, and local models via Ollama.

    Getting Started:

    To use Code2Prompt, install it via the CLI and run a simple command like code2prompt . in your project directory. Use flags like --include "*.js,*.html" and --exclude "node_modules/" to filter relevant files. The tool generates a structured prompt containing your project tree and file contents, ready to paste into any AI assistant. For Python applications, install the code2prompt-rs package from PyPI. For AI agents, integrate the MCP server to provide rich codebase context automatically.

    Code2Prompt - 1

    Community Discussions

    Be the first to start a conversation about Code2Prompt

    Share your experience with Code2Prompt, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Free and open-source under MIT license

    • CLI tool
    • Python SDK
    • MCP server
    • Handlebars templates
    • Multi-format export
    View official pricing

    Capabilities

    Key Features

    • Codebase to AI prompt transformation
    • Goal + Format + Context framework
    • Handlebars template customization
    • Glob pattern filtering (include/exclude)
    • Multi-format export (JSON, Markdown, XML)
    • Git diff and log extraction
    • Source tree visualization
    • CLI interface
    • Python SDK integration
    • MCP server for AI agents
    • High-performance Rust engine

    Integrations

    Claude
    GPT/OpenAI
    Gemini
    Mistral
    DeepSeek
    Qwen
    Grok
    Ollama
    Git
    API Available
    View Docs

    Reviews & Ratings

    No ratings yet

    Be the first to rate Code2Prompt and help others make informed decisions.

    Developer

    Mufeed VH & Olivier D'Ancona

    Code2Prompt is developed by Mufeed VH and Olivier D'Ancona as an open-source project. The tool transforms codebases into AI-optimized prompts using Rust for high performance. The project is community-driven and released under the MIT license, encouraging contributions and extensions from developers worldwide.

    Read more about Mufeed VH & Olivier D'Ancona
    GitHubLinkedInX / Twitter
    1 tool in directory

    Similar Tools

    Repo Prompt icon

    Repo Prompt

    A macOS application for visual context engineering and AI-assisted coding with intelligent file selection, prompt generation, and MCP server integration for seamless AI workflow management.

    Get Shit Done icon

    Get Shit Done

    An AI-powered task management CLI tool that helps you organize, prioritize, and complete tasks using natural language processing.

    Context Engineering Intro icon

    Context Engineering Intro

    An introductory repository for learning context engineering techniques and best practices for AI development.

    Browse all tools

    Related Topics

    Prompt Engineering

    Tools for creating and refining effective AI prompts.

    28 tools

    Context Engineering

    Techniques for optimizing context windows to improve AI responses.

    25 tools

    Command Line Assistants

    AI-powered command-line assistants that help developers navigate, search, and execute terminal commands with intelligent suggestions and context awareness.

    90 tools
    Browse all topics
    Back to all tools
    Explore AI Tools
    • AI Coding Assistants
    • Agent Frameworks
    • MCP Servers
    • AI Prompt Tools
    • Vibe Coding Tools
    • AI Design Tools
    • AI Database Tools
    • AI Website Builders
    • AI Testing Tools
    • LLM Evaluations
    Follow Us
    • X / Twitter
    • LinkedIn
    • Reddit
    • Discord
    • Threads
    • Bluesky
    • Mastodon
    • YouTube
    • GitHub
    • Instagram
    Get Started
    • About
    • Editorial Standards
    • Corrections & Disclosures
    • Community Guidelines
    • Advertise
    • Contact Us
    • Newsletter
    • Submit a Tool
    • Start a Discussion
    • Write A Blog
    • Share A Build
    • Terms of Service
    • Privacy Policy
    Explore with AI
    • ChatGPT
    • Gemini
    • Claude
    • Grok
    • Perplexity
    Agent Experience
    • llms.txt
    Theme
    With AI, Everyone is a Dev. EveryDev.ai © 2026
    Sign in
    11views