Related MCP Server Resources

Explore more AI models, providers, and integration options:

  • Explore AI Models
  • Explore AI Providers
  • Explore MCP Servers
  • LangDB Pricing
  • Documentation
  • AI Industry Blog
  • Python Codebase Analysis RAG System
  • Image Generator MCP Server
  • Aider MCP Server
  • Image Generation MCP Server
  • DeepSource MCP Server
Back to MCP Servers
code2prompt-mcp

code2prompt-mcp

Public
ODAncona/code2prompt-mcp

An MCP server that analyzes codebases and generates contextual prompts, making it easier for AI assistants to understand and work with code repositories.

Verified
python
0 tools
May 30, 2025
Updated May 30, 2025

code2prompt-mcp

An MCP server that generates contextual prompts from codebases, making it easier for AI assistants to understand and work with your code repositories.

About

code2prompt-mcp leverages the high-performance code2prompt-rs Rust library to analyze codebases and produce structured summaries. It helps bridge the gap between your code and language models by extracting relevant context in a format that's optimized for AI consumption.

Installation

This project uses Rye for dependency management, make sure you have it installed.

To install the necessary dependencies, and build the module in the local environment, run:

# Clone the repository git clone https://github.com/odancona/code2prompt-mcp.git cd code2prompt-mcp # Install dependencies with Rye rye build

It will install all the required dependencies specified in the pyproject.toml file in the .venv directory.

Usage

Run the MCP server:

rye run python code2prompt_mcp.main

License

MIT License - See LICENSE file for details.

Development

For testing, you can use the MCP Inspector:

npx @modelcontextprotocol/inspector python -m code2prompt_mcp.main
Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • Python Codebase Analysis RAG System
    Python Codebase Analysis RAG System

    An MCP server that analyzes Python codebases using AST, stores code elements in a vector database, a...

    Added May 30, 2025
  • Image Generator MCP Server
    Image Generator MCP Server

    A TypeScript-based MCP server that generates images using OpenAI's dall-e-3 model based on text prom...

    1 tools
    Added May 30, 2025
  • Aider MCP Server
    Aider MCP Server

    A Model Context Protocol server that connects Claude and other MCP clients to Aider, enabling AI ass...

    Added May 30, 2025
  • Image Generation MCP Server
    Image Generation MCP Server

    A Model Context Protocol server that enables generation of high-quality images using the Flux.1 Schn...

    1 tools
    Added May 30, 2025
  • DeepSource MCP Server
    DeepSource MCP Server

    A Model Context Protocol server that integrates with DeepSource to provide AI assistants with access...

    9 tools
    Added May 30, 2025