mcp-dev: Instructions file for Claude Code

CLAUDE.md

mcp-dev CLAUDE.md is an instructions file for Claude Code from dawiegriesel/mcp-dev. It costs 835 tokens per session, scanned A, original, MIT.

Project-specific instructions for mcp-dev, an MCP server that creates full-stack starter projects with FastAPI, React or HTMX, Docker, CI/CD, and database configuration.

In plain words
What is it for?
Use it when running, developing, formatting, linting, or testing the project-scaffolding server.
Why use it?
It gives developers the project's setup, code layout, formatting, linting, and test commands in one place.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is dawiegriesel/mcp-dev's own configuration. It tells Claude Code how to work on mcp-dev itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-dev configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dawiegriesel/mcp-dev. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dawiegriesel/mcp-dev/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/dawiegriesel/mcp-dev

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-dev CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/dawiegriesel/mcp-dev/claude-md/github.svg)](https://agentmods.dev/instructions/dawiegriesel/mcp-dev/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/dawiegriesel/mcp-dev/claude-md"><img src="https://agentmods.dev/badge/instructions/dawiegriesel/mcp-dev/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-dev CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/dawiegriesel/mcp-dev/claude-md"><img src="https://agentmods.dev/badge/instructions/dawiegriesel/mcp-dev/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 835 This file is loaded in full into every session.
When invoked 835 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00835 $0.00835
Opus 5.5 $0.00334 $0.00334
Sonnet 5.5 $0.00167 $0.00167
Haiku 4.5 $0.00084 $0.00084

Measured 2mo ago against content hash 085cce35053e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-dev CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 68 lines

How it starts

The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

Project overview

MCP server that scaffolds full-stack projects (FastAPI + React/HTMX) with Docker, CI/CD, and database config. Built with FastMCP + Jinja2. Installable as a Python package from GitHub. Public repo, alpha status, MIT licensed.

Commands

# Run the MCP server
uv run project-scaffold

# Install dependencies
uv sync              # production
uv sync --extra dev  # with pytest + ruff

# Lint and format
uv run ruff check src/
uv run ruff format src/

# Run tests
uv run pytest

Architecture

  • src/project_scaffold/server.py — FastMCP server, defines 5 MCP tools + main() entry point
  • src/project_scaffold/models.py — Pydantic models: ProjectConfig, ComponentConfig
  • src/project_scaffold/config.py — Constants (template dir, type maps, defaults)
  • src/project_scaffold/generator.py — Core engine: ProjectGenerator class renders Jinja2 templates to disk
  • src/project_scaffold/renderers/api.py — Component generators for add_router and add_model
  • src/project_scaffold/templates/ — Jinja2 templates organized by category (api, frontend, docker, cicd, alembic, common)

Key patterns

  • All templates receive a context dict built by ProjectGenerator._context() with keys: project_name, project_type, frontend_type, description, db_name, db_user, db_password, include_auth, include_alembic, api_port, frontend_port, is_multi_repo, python_package_name
  • React projects are multi-repo (separate {name}-api/ and {name}-frontend/ dirs). HTMX projects are single-repo.
  • .scaffold.json metadata file is written to project root and used by from_existing() to reload config
  • Type maps in config.py translate user-friendly types (str, int, float, bool, etc.) to SQLAlchemy and Pydantic types
  • Component generators in renderers/api.py produce Python code as strings (not templates)
  • Templates live inside the package (src/project_scaffold/templates/) so they're included in pip installs

Code style

Read the full file on GitHub · 68 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 68 lines · 835 tokens per session scan A 085cce35053e

Subscribe to this mod's changes

mcp-dev CLAUDE.md is an instructions file published in the GitHub repository dawiegriesel/mcp-dev (0 stars, last pushed 8mo ago), licensed MIT. It adds 835 tokens to every session, about $0.0033 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

mcp-dev CLAUDE.md compared with instructions from other repositories

mcp-dev CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-dev CLAUDE.mddawiegriesel/mcp-devInstructions file08mo agoMITA835Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode