Borrowing it
Nothing to install: this file belongs to TJC-LP/fast-mcp-scala. 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/TJC-LP/fast-mcp-scala/main/CLAUDE.mdgit clone --depth 1 https://github.com/TJC-LP/fast-mcp-scalaWrote 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/tjc-lp/fast-mcp-scala/claude-md)<a href="https://agentmods.dev/instructions/tjc-lp/fast-mcp-scala/claude-md"><img src="https://agentmods.dev/badge/instructions/tjc-lp/fast-mcp-scala/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/tjc-lp/fast-mcp-scala/claude-md"><img src="https://agentmods.dev/badge/instructions/tjc-lp/fast-mcp-scala/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.07414 | $0.07414 |
| Opus 5.5 | $0.02966 | $0.02966 |
| Sonnet 5.5 | $0.01483 | $0.01483 |
| Haiku 4.5 | $0.00741 | $0.00741 |
Grade C, and why
fast-mcp-scala CLAUDE.md scanned grade C 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 26d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf out/fast-mcp-scala && ./mill fast-mcp-scala.compile How it starts
The opening of the file, as written. The whole thing — 411 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md - fast-mcp-scala Development Guide
Project Overview
fast-mcp-scala is a high-level Scala 3 library for building Model Context Protocol (MCP) servers. It provides two registration paths:
- Annotation-driven (
@Tool,@Resource,@Prompt+scanAnnotations) — zero-boilerplate on JVM, Scala.js/Bun, and Scala Native - Typed contracts (
McpTool,McpPrompt,McpStaticResource,McpTemplateResource) — explicit, first-class values, all three platforms
Both paths converge on the same McpServer trait and support @Param metadata on parameters/fields.
Three platforms: JVM (stdio + HTTP), Scala.js/Bun (stdio + HTTP), and Scala Native (stdio only, EXPERIMENTAL — published as fast-mcp-scala_native0.5_3; zio-http has no Native artifacts, so McpServerApp[Http] fails to compile there by design).
Build System
Build tool: Mill 1.1.8 (configured in .mill-version)
Scala: 3.9.0 (LTS)
Plugins: mill-bun-plugin 0.3.1 (Scala.js + Bun integration; explicit scalaJSVersion, managed Bun 1.4.1, frozen js/bun.lock)
Common Commands
If the native Mill launcher cannot reach Maven Central through a TLS-intercepting proxy, run with
MILL_VERSION=1.1.8-jvm (the JVM launcher honours JAVA_TOOL_OPTIONS/the system truststore).
# Aggregates (JVM + Scala.js + Scala Native)
./mill fast-mcp-scala.compile # Compile all platforms
./mill fast-mcp-scala.test # All tests, all three platforms
./mill fast-mcp-scala.reformat # Auto-format every Scala source
./mill fast-mcp-scala.checkFormat # Scalafmt check (CI uses this)
# Single-platform
./mill fast-mcp-scala.jvm.test # JVM tests only
./mill fast-mcp-scala.js.test # Scala.js conformance tests only (Bun)
./mill fast-mcp-scala.js.bunLock # Regenerate js/bun.lock after changing bunDevDeps
./mill fast-mcp-scala.scalaNative.test # Scala Native tests (links a native binary)
./mill fast-mcp-scala.scalaNative.nativeLink # Standalone LLVM binary of AnnotatedServer
./mill fast-mcp-scala.jvm.test.testOnly com.tjclp.fastmcp.macros.ToolProcessorTest # class selectors go through testOnly
# Publish
./mill fast-mcp-scala.jvm.publishLocal # Publish JVM artifact to ~/.ivy2/local
./mill fast-mcp-scala.js.publishLocal # Publish Scala.js artifact to ~/.ivy2/local
./mill -i __.publishLocal # Publish all three artifacts
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.
- 26d ago Changed · +46 lines · +918 tokens per session 85d962ca3f20
- 1mo ago Changed · +19 lines · +668 tokens per session c933e5277942
- 2mo ago Changed · +19 lines · +1,201 tokens per session d8b38140c266
- 2mo ago Changed · +1 lines · +96 tokens per session 2d86e4911f93
- 2mo ago Changed · +11 lines · +423 tokens per session 1f92df906159
- 2mo ago First seen · 315 lines · 4,108 tokens per session scan C 43379860ded7
fast-mcp-scala CLAUDE.md is an instructions file published in the GitHub repository TJC-LP/fast-mcp-scala (24 stars, last pushed 26d ago), licensed MIT. It adds 7,414 tokens to every session, about $0.0297 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
fast-mcp-scala CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| fast-mcp-scala CLAUDE.mdTJC-LP/fast-mcp-scala | Instructions file | 24 | 26d ago | MIT | C | 7,414 | 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 |