# CodeToPrompt MCP Server

> Use this tool when you need to analyze codebases and generate comprehensive prompts for Large Language Models (LLMs). It solves problems related to code understanding and content retrieval by providing detailed statistics and file contents. The CodeToPrompt MCP Server takes directory inputs and outputs prompts, statistics, and file contents, making it ideal for use cases involving codebase exploration and LLM training.

Canonical page: https://skillsregistry.net/skills/yash9439-codetoprompt-mcp  
JSON: https://api.skillsregistry.net/v1/skills/yash9439-codetoprompt-mcp

## Description

Exposes the codetoprompt library to LLM agents for generating comprehensive prompts from directories and retrieving specific file contents. It enables codebase analysis through detailed statistics like token counts and file type breakdowns.

## Trust

- **Trust score (0–1):** 1.00
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-09-28

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/b7ew0t6yjd)
- **Repository:** <https://github.com/yash9439/codetoprompt-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "yash9439-codetoprompt-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/yash9439-codetoprompt-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/yash9439-codetoprompt-mcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
