cdc-health-mcp-server: Instructions file for Claude Code

CLAUDE.md

cdc-health-mcp-server CLAUDE.md is an instructions file for Claude Code from cyanheads/cdc-health-mcp-server. It costs 8,242 tokens per session, scanned A, original, Apache-2.0.

Project instructions for a server that reads public CDC health datasets through the Socrata data service. The CDC is the U.S. Centers for Disease Control and Prevention, and the instructions cover discovering datasets, checking their structure, and querying them.

In plain words
What is it for?
Use them to discover CDC datasets, inspect their fields, run allowed queries, and access supported CDC data resources.
Why use it?
They give an agent the rules and available interfaces needed to work with many different public health datasets safely and consistently.

Instructions file for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is cyanheads/cdc-health-mcp-server's own configuration. It tells Claude Code how to work on cdc-health-mcp-server 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 cdc-health-mcp-server configures →

Reuse

Borrowing it

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

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 cdc-health-mcp-server CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/cyanheads/cdc-health-mcp-server/claude-md"><img src="https://agentmods.dev/badge/instructions/cyanheads/cdc-health-mcp-server/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8,242 This file is loaded in full into every session.
When invoked 8,242 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.08242 $0.08242
Opus 5 $0.04121 $0.04121
Sonnet 5 $0.01648 $0.01648
Haiku 4.5 $0.00824 $0.00824

Measured 12d ago against content hash ad3227885307, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

cdc-health-mcp-server 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 12d 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 · 449 lines

How it starts

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

Agent Protocol

Server: cdc-health-mcp-server Version: 0.8.6 Framework: @cyanheads/mcp-ts-core ^0.12.3 Engines: Bun ≥1.3.0, Node ≥24.0.0 MCP SDK: @modelcontextprotocol/server ^2.0.0 Zod: ^4.4.3

Read the framework docs first: node_modules/@cyanheads/mcp-ts-core/CLAUDE.md contains the full API reference — builders, Context, error codes, exports, patterns. This file covers server-specific conventions only.


Domain

Wraps the CDC Open Data portal (~1,080 datasets) via the Socrata SODA API v2.1. No auth required — optional app token for higher rate limits.

Core workflow: discover → inspect schema → query. The catalog is heterogeneous (disease surveillance, mortality, behavioral risk, vaccinations, environmental, injury, etc.), so the server provides a discovery-first approach rather than hard-coding dataset knowledge.

API Surface

Design doc: docs/design.md — full parameter tables, error modes, API endpoints, and implementation notes.

The three Socrata tools take an allowlisted domain input (data.cdc.gov default, chronicdata.cdc.gov) — Zod z.enum rejects any other host before the handler runs (the SSRF guard). The two cdc://datasets… resources stay on the default host. cdc_query_wonder hits a different CDC system and takes no domain; its database enum picks the dataset code in the upstream path, and is the same kind of guard.

Definition Type Purpose
cdc_discover_datasets tool Search catalog by keyword/category/tag. Entry point. Trimmed payload — assetType, columnCount + an 8-name columnSample and a 300-char description; full column detail comes from cdc_get_dataset_schema.
cdc_get_dataset_schema tool Fetch column schema, row count, metadata for a dataset ID. Full-detail surface, windowed — column_limit (default 100, max 500) / column_offset, with totalCount/truncated/nextOffset enrichment. Fails not_queryable on a non-tabular asset instead of returning empty columns.
cdc_query_dataset tool Execute SoQL queries — filter, aggregate, sort, full-text search. Continuation is measured by an over-fetch probe, not the row count, and the page is bounded by a character budget; discloses truncated/shown/cap/nextOffset, never a totalCount.
cdc_query_wonder tool Query CDC WONDER for national deaths, population, crude/age-adjusted rates. Grouped by year/age/sex/race, filtered by ICD-10 cause. A database enum selects one of five mortality databases — D76 (default), D176 provisional, D158, D77, D157. Whole table by default; limit/offset page the parsed rows with totalCount/truncated/nextOffset, re-basing cellNotes onto the page while caveats/messages stay whole.
cdc://datasets resource 50 most-viewed catalog entries for orientation — carries assetType + columnCount, since the page mixes charts/stories/filters in with datasets.
cdc://datasets/{datasetId} resource Dataset metadata + the first 100 columns, carrying columnCount/truncated/notice. Takes no selector — the SDK's UriTemplate.match compiles RFC 6570 query variables as required, so {?column_limit,column_offset} would stop the bare URI matching at all.
analyze_health_trend prompt Guided workflow: pick the source (WONDER for national mortality, Socrata otherwise), then discover → inspect → query → compare → synthesize. Routing is prose the reader acts on — the handler never classifies the topic.

Read the full file on GitHub · 449 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. 12d ago First seen · 449 lines · 8,242 tokens per session scan A ad3227885307

Subscribe to this mod's changes

cdc-health-mcp-server CLAUDE.md is an instructions file published in the GitHub repository cyanheads/cdc-health-mcp-server (5 stars, last pushed 20d ago), licensed Apache-2.0. It adds 8,242 tokens to every session, about $0.0412 per session on Opus 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

Other instructions, from other repositories

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,126 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens