code2prompt

v1.0.0Developer Toolsstable

A code ingestion tool that transforms your code into AI-optimized prompts instantly. Gather the relevant context with code2prompt under the hood. Learn more at code2prompt.dev

code2promptmcpai-integration
Share:
0
Stars
0
Downloads
0
Weekly
0/5

What is code2prompt?

code2prompt is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to code ingestion tool that transforms your code into ai-optimized prompts instantly. gather the relevant context with code2prompt under the hood. learn more at code2prompt.dev

A code ingestion tool that transforms your code into AI-optimized prompts instantly. Gather the relevant context with code2prompt under the hood. Learn more at code2prompt.dev

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • A code ingestion tool that transforms your code into AI-opti

Use Cases

Convert code to AI prompts
Context optimization
ODAncona

Maintainer

LicenseMIT License
Languagetypescript
Versionv1.0.0
UpdatedN/A
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y code2prompt

Manual Installation

npx -y code2prompt

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

Frequently Asked Questions about code2prompt

What is code2prompt?

code2prompt is a Model Context Protocol (MCP) server that code ingestion tool that transforms your code into ai-optimized prompts instantly. gather the relevant context with code2prompt under the hood. learn more at code2prompt.dev It connects AI assistants to external tools and data sources through a standardized interface.

How do I install code2prompt?

Install via npm with the command: npx -y code2prompt. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with code2prompt?

code2prompt works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is code2prompt free to use?

Yes, code2prompt is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "code2prompt": { "command": "npx", "args": ["-y", "code2prompt"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use code2prompt?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides