Borrowing it
Nothing to install: this file belongs to marcomoauro/substack-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.
curl -O https://raw.githubusercontent.com/marcomoauro/substack-mcp/main/CLAUDE.mdgit clone --depth 1 https://github.com/marcomoauro/substack-mcpWrote 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.
[](https://agentmods.dev/instructions/marcomoauro/substack-mcp/claude-md)<a href="https://agentmods.dev/instructions/marcomoauro/substack-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/marcomoauro/substack-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.
<a href="https://agentmods.dev/instructions/marcomoauro/substack-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/marcomoauro/substack-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.13192 | $0.13192 |
| Opus 5.5 | $0.05277 | $0.05277 |
| Sonnet 5.5 | $0.02638 | $0.02638 |
| Haiku 4.5 | $0.01319 | $0.01319 |
Grade A, and why
substack-mcp CLAUDE.md scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
the code cannot avoid it, so curl-by-curl "verified end to end" is not a verification of the same How it starts
The opening of the file, as written. The whole thing — 707 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
MCP server exposing Substack automation to LLM clients. ESM, npm. Development, CI and the image
run Node 24 — .nvmrc and Dockerfile pin 24.19.0 exactly — while engines declares
>=22, so src/ may use nothing newer than Node 22 offers.
That floor is deliberate, not inherited: 22 is the oldest Node line still receiving security
patches (18 went EOL 2025-04-30, 20 on 2026-04-30), and it is the lowest version every
production dependency accepts — @hono/node-server asks for >=20, everything else >=18.
Raising it breaks anyone running npx substack-mcp@latest on an older runtime, so it is a major
bump; the honest ceiling is the oldest supported LTS, not the version that happens to be
installed locally.
Two CI jobs run the suite: one on .nvmrc, one on the floor. The floor job derives its
version from engines (node -p "require('./package.json').engines.node.match(/\d+/)[0]")
rather than repeating it, so the promise and the test cannot drift. Developing two majors above
the floor is precisely how an unexercised engines rots into a lie — the runtime differences
are real and silent, as the fetch stack below shows.
Language
Everything in the repository is written in English — source, comments, test names, commit messages, PR titles and descriptions, docs. This holds regardless of the language used in the chat: do not mirror the conversation language into the codebase.
Commands
| Command | Purpose |
|---|---|
npm ci |
Install from package-lock.json (never npm install in CI or Docker) |
npm test |
Run the suite (node --test 'src/**/*.spec.js') |
npm run test:watch |
Same, in watch mode |
npm run test:coverage |
Coverage report, spec files excluded |
npm pack --dry-run |
Verify what ships to npm |
npm test runs in under a second, but its output shape depends on the Node version: on 24 it
is the spec reporter (tally ℹ pass, failures marked ✖), on the 22 floor it is TAP — five times
noisier, tally # pass, failures not ok. Grep for both, or a perfectly green run on the wrong
version comes back empty and reads as a broken command: grep -E '^(#|ℹ) (tests|pass|fail)' for
the tally, grep -E '^(not ok|✖)' for what broke.
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.
- 2mo ago Changed · +43 lines · +889 tokens per session 5c97eda9ae0b
- 2mo ago First seen · 664 lines · 12,303 tokens per session scan A c1fbdef7bf79
substack-mcp CLAUDE.md is an instructions file published in the GitHub repository marcomoauro/substack-mcp (91 stars, last pushed 2mo ago), licensed MIT. It adds 13,192 tokens to every session, about $0.0528 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
substack-mcp CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| substack-mcp CLAUDE.mdmarcomoauro/substack-mcp | Instructions file | 91 | 2mo ago | MIT | A | 13,192 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |