keeping-mcp: Instructions file for Claude Code

CLAUDE.md

keeping-mcp CLAUDE.md is an instructions file for Claude Code from Red-Square-Software/keeping-mcp. It costs 3,213 tokens per session, scanned A, original, MIT.

A set of project instructions for building an MCP server that connects an AI coding assistant to Keeping, a time-tracking service. The instructions describe how to log reviewed billable hours while preserving Keeping's existing Jortt invoicing connection.

In plain words
What is it for?
Use it when developing or maintaining the Keeping MCP server in TypeScript, including its tools, input validation, package naming, and explicit confirmation before writing time entries.
Why use it?
It gives the project consistent technical choices, naming, constraints, and safety requirements for a first MCP server.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions Claude Code; reads ~/.codex paths.

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

Reuse

Borrowing it

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/red-square-software/keeping-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/red-square-software/keeping-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,213 This file is loaded in full into every session.
When invoked 3,213 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.03213 $0.03213
Opus 5.5 $0.01285 $0.01285
Sonnet 5.5 $0.00643 $0.00643
Haiku 4.5 $0.00321 $0.00321

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

Security

Grade A, and why

keeping-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 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.

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 · 144 lines

How it starts

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

Project

keeping-mcp

Open-source Model Context Protocol (MCP) server that exposes the Keeping (api.keeping.nl) time-tracking API as tools an AI coding assistant can call. Built for solo developers who use Claude Code (or any MCP-capable client) and want their billable hours logged into Keeping at the end of a session instead of typed in by hand, while keeping Keeping's existing native Jortt invoicing integration intact.

Core Value: A Claude Code (or any MCP client) user can log a reviewed time entry into their Keeping account through a single tool call, with explicit confirmation before anything is written.

Constraints

  • Tech stack: TypeScript on Node.js, official @modelcontextprotocol/sdk, Zod for tool input schemas. — User's first MCP server; matches the dominant ecosystem and registry tooling.
  • License: MIT. — Standard for MCP servers; permissive enough for downstream packaging.
  • Hosting / namespace: GitHub repo under the Red-Square-Software org; npm package name keeping-mcp (unscoped) and MCP Registry namespace io.github.Red-Square-Software/keeping-mcp. Canonical GitHub org casing is required by the OIDC subject claim. — Required by the MCP registry's GitHub-verified namespace model.
  • Security: Personal access token must never appear in logs, tool output, or commits. Read only from env var. — Billable-hours data and a write-capable API token; leak is high-impact.
  • API: Must respect Keeping's 120 req/min rate limit, and must scope writes to the authenticated user (only admins can write other users' entries; v1 deliberately does not target that path).
  • Platform: User runs Claude Code on Windows 11. Server must work on Windows + macOS + Linux (Node.js + npx covers this, but path/env handling needs to stay portable).

Technology Stack

Core Technologies

Technology Version Purpose Why Recommended
@modelcontextprotocol/sdk ^1.29.0 MCP protocol implementation (server primitives, stdio transport, tool registration) Latest stable v1.x; v2.0 is pre-alpha (API unstable, stable v2 estimated Q3 2026). v1.29.0 is the most recent production-ready release.
TypeScript ^5.8.0 Type-safe source language SDK docs require "module": "Node16" + "moduleResolution": "Node16" or "Bundler" — TS 5.x enforces these correctly.
Node.js >=22.0.0 Runtime Node 20 reached EOL 2026-04-30; Node 22 is current Active LTS (supported until 2027-04-30). Stable native fetch. 30 % faster startup than Node 20. Target >=22 in engines field.
Zod ^3.25.0 Tool input schema validation SDK 1.x internally imports from zod/v4 but maintains backwards compatibility for Zod >=3.25. Zod v3.25+ is the safe floor — resolves the w._parse is not a function breakage seen in earlier SDK versions. Use import * as z from "zod" (v3 entry point). If you want v4 features, use import * as z from "zod/v4" — both work with SDK 1.29+.

Read the full file on GitHub · 144 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. 2mo ago First seen · 144 lines · 3,213 tokens per session scan A d4302fbee433

Subscribe to this mod's changes

keeping-mcp CLAUDE.md is an instructions file published in the GitHub repository Red-Square-Software/keeping-mcp (0 stars, last pushed 4mo ago), licensed MIT. It adds 3,213 tokens to every session, about $0.0129 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-08-31.

Related

keeping-mcp CLAUDE.md compared with instructions from other repositories

keeping-mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
keeping-mcp CLAUDE.mdRed-Square-Software/keeping-mcpInstructions file04mo agoMITA3,213Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode