modular-mcp: Instructions file for Claude Code

CLAUDE.md

modular-mcp CLAUDE.md is an instructions file for Claude Code from d-kimuson/modular-mcp. It costs 437 tokens per session, scanned A, original, MIT.

Project instructions for d-kimuson/modular-mcp, covering its TypeScript setup, development commands, code checks, and formatting rules.

In plain words
What is it for?
Use them when developing, linting, formatting, or type-checking this TypeScript project.
Why use it?
They give contributors one place to find the project's expected tools, versions, commands, and coding conventions.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is d-kimuson/modular-mcp's own configuration. It tells Claude Code how to work on modular-mcp 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 modular-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to d-kimuson/modular-mcp. 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/d-kimuson/modular-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/d-kimuson/modular-mcp

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 modular-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/d-kimuson/modular-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/d-kimuson/modular-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/d-kimuson/modular-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/d-kimuson/modular-mcp/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 modular-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/d-kimuson/modular-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/d-kimuson/modular-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 437 This file is loaded in full into every session.
When invoked 437 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.00437 $0.00437
Opus 5.5 $0.00175 $0.00175
Sonnet 5.5 $0.00087 $0.00087
Haiku 4.5 $0.00044 $0.00044

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

Security

Grade A, and why

modular-mcp 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 1mo 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 · 55 lines

What it actually says

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

This is a TypeScript-based project configured with strict type checking and modern tooling. The project uses:

  • Package Manager: pnpm (v10.19.0+)
  • Node Version: >=22.0.0
  • TypeScript: Configured with strictest settings via @tsconfig/strictest and @tsconfig/node22
  • Code Quality: Biome for linting and formatting
  • Module System: ES modules ("type": "module")

Development Commands

Linting and Formatting

# Run all linters
pnpm lint

# Auto-fix all issues
pnpm fix

# Individual linting
pnpm lint:biome-format    # Check formatting
pnpm lint:biome-lint      # Check linting

# Individual fixing
pnpm fix:biome-format     # Auto-fix formatting
pnpm fix:biome-lint       # Auto-fix linting (including unsafe fixes)

Type Checking

pnpm typecheck    # Run TypeScript compiler without emitting files

Code Style

Biome Configuration

  • Formatter: Enabled with space indentation
  • Quote Style: Double quotes for JavaScript/TypeScript
  • Import Organization: Automatic import organizing enabled
  • JSON: Allows comments in JSON files

TypeScript Configuration

  • Extends @tsconfig/node22 and @tsconfig/strictest
  • noEmit: true - Type checking only, no compilation output
  • exactOptionalPropertyTypes: false - Relaxed from strictest preset
  • Source files located in src/ directory

Architecture Notes

This appears to be an early-stage project with minimal implementation (only a dummy export in src/index.ts). The project is set up with a robust foundation for TypeScript development with strict quality controls.

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. 1mo ago First seen · 55 lines · 437 tokens per session scan A c9fa54d5702a

Subscribe to this mod's changes

modular-mcp CLAUDE.md is an instructions file published in the GitHub repository d-kimuson/modular-mcp (51 stars, last pushed 11mo ago), licensed MIT. It adds 437 tokens to every session, about $0.0017 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-30.

Related

Other instructions, from other repositories