# code2prompt

> MCP Server

A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token counting.

## Overview

- **Category:** AI
- **Language:** MDX
- **Stars:** 7602
- **Forks:** 331
- **Owner:** mufeedvh
- **GitHub:** https://github.com/mufeedvh/code2prompt
- **Homepage:** https://code2prompt.dev
- **Created:** 2024-03-09T12:42:06+00:00
- **Updated:** 2025-07-07T16:09:42+00:00
- **Source:** https://model-context-protocol.com/servers/code2prompt

## Tools

Features
