diabetes-m-mcp: Instructions file for Claude Code

CLAUDE.md

diabetes-m-mcp CLAUDE.md is an instructions file for Claude Code from sedoglia/diabetes-m-mcp. It costs 1,633 tokens per session, scanned A, original, MIT.

A repository instruction file for a TypeScript MCP server that exposes Diabetes:M data to Claude Desktop. MCP is a standard way for an AI client to call tools provided by another program.

In plain words
What is it for?
Use it when developing or releasing this server, including building TypeScript, running tests, creating its bundle, and publishing a GitHub release.
Why use it?
It gives agents the project's build, test, packaging, branch, and release procedures instead of leaving those steps implicit.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

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

Reuse

Borrowing it

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/sedoglia/diabetes-m-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/sedoglia/diabetes-m-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,633 This file is loaded in full into every session.
When invoked 1,633 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.01633 $0.01633
Opus 5.5 $0.00653 $0.00653
Sonnet 5.5 $0.00327 $0.00327
Haiku 4.5 $0.00163 $0.00163

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

Security

Grade A, and why

diabetes-m-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 · 46 lines

How it starts

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

diabetes-m-mcp

MCP server (TypeScript, ESM, Node >= 18) that exposes Diabetes:M data to Claude Desktop over stdio. Source in src/, compiled to dist/ by tsc. Distributed as a GitHub release with an MCPB bundle — the package is not published on npm.

Commands

  • npm run build — tsc (src/ → dist/)
  • npm run sbom — @cyclonedx/cyclonedx-npm --omit dev → sbom.cdx.json (CycloneDX 1.6 JSON, runtime deps only, reproducible output: no timestamp/serial, so it only changes with the runtime dependency tree, the version or the npm version in metadata.tools). Nested installs are nested components, so walk the tree when counting. The file is committed and describes the version in package.json; it is not refreshed on Dependabot merges, only at release time.
  • npm run bundle — build + sbom + scripts/create-bundle.js → releases/diabetes-m-mcp-v<version>.mcpb (+ .sha256) and releases/diabetes-m-mcp-v<version>.cdx.json (copy of the SBOM). The bundle is a ZIP with manifest.json at the root, dist/, package.json, sbom.cdx.json, READMEs, LICENSE, the icon and a node_modules that is not the root one: the script runs npm ci --omit=dev from the lockfile in a temp dir (with scripts stripped from the staged package.json, otherwise prepare would run the missing tsc) and ships that runtime-only tree (~5 MB instead of ~20 MB). It refuses an sbom.cdx.json whose metadata.component.version differs from package.json, or whose package paths do not match npm ls --all --parseable --omit=dev of the staged tree one-to-one.
  • npm run release — bundle + scripts/create-release.js (creates the v<version> tag and the GitHub release via gh, uploading the bundle, its hash and the SBOM)
  • npm test — scripts/test.js
  • npm run audit:fix — scripts/fix-audit.js: npm audit fix (never --force), then raises or adds overrides floors to the lowest fixed version within the installed major, including floors that are stale while the lockfile is already clean (checked against the registry's bulk advisory endpoint). Exit 3 means something needs a human (a fix that requires a new major).

Read the full file on GitHub · 46 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. 1mo ago Changed · +26 tokens per session 8ee9b258ff4c
  2. 1mo ago Changed · +8 lines · +306 tokens per session 49d413550835
  3. 1mo ago Changed · +1 lines · +324 tokens per session 1646f6101c97
  4. 1mo ago First seen · 37 lines · 977 tokens per session scan A eda29ca5bee6

Subscribe to this mod's changes

diabetes-m-mcp CLAUDE.md is an instructions file published in the GitHub repository sedoglia/diabetes-m-mcp (0 stars, last pushed 6d ago), licensed MIT. It adds 1,633 tokens to every session, about $0.0065 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-09-14.

Related

diabetes-m-mcp CLAUDE.md compared with instructions from other repositories

diabetes-m-mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
diabetes-m-mcp CLAUDE.mdsedoglia/diabetes-m-mcpInstructions file06d agoMITA1,633Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot