attestd-mcp: Instructions file for Claude Code

CLAUDE.md

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

Repository instructions for attestd-mcp, including its build process, local MCP test command, implementation details, and available security-checking tools.

In plain words
What is it for?
Use them when building, testing, or modifying the server’s package-vulnerability checks, CVE lookup, product listing, or API-key handling.
Why use it?
They help contributors make changes that fit the project’s build setup and keep its product list and MCP interface consistent.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/attestd-io/attestd-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/attestd-io/attestd-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 340 This file is loaded in full into every session.
When invoked 340 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.00340 $0.00340
Opus 5 $0.00170 $0.00170
Sonnet 5 $0.00068 $0.00068
Haiku 4.5 $0.00034 $0.00034

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

Security

Grade A, and why

attestd-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 8d 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 · 28 lines

What it actually says

For Claude Code and contributors

Build

npm install
npm run build

prebuild regenerates src/products.ts from ../Attestd-website/lib/products.ts via scripts/gen-products.mjs. Run from a checkout that has both attestd-mcp and Attestd-website under the same parent directory, or edit src/products.ts manually.

Local MCP smoke test (stdio)

Unix:

echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | ATTESTD_API_KEY=atst_... node dist/index.js

Windows (PowerShell), pipe a here-string or use cmd /c.

Implementation notes

  • Shebang: Injected into dist/index.js by tsup (banner in tsup.config.ts), not duplicated in src/index.ts.
  • SDK: Uses @modelcontextprotocol/sdk v1 Server + ListToolsRequestSchema / CallToolRequestSchema, not the newer McpServer helper from pre-release docs.
  • Four tools: check_package_vulnerability, check_batch_vulnerabilities (both need ATTESTD_API_KEY), get_cve_details (needs key), and list_covered_products (static list without key; live data from GET /v1/products when keyed).
  • Product list: Must stay aligned with marketing/docs catalog in Attestd-website/lib/products.ts.
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. 8d ago First seen · 28 lines · 340 tokens per session scan A 3fd9bfe77928

Subscribe to this mod's changes

attestd-mcp CLAUDE.md is an instructions file published in the GitHub repository attestd-io/attestd-mcp (0 stars, last pushed 2mo ago), licensed MIT. It adds 340 tokens to every session, about $0.0017 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.