Borrowing it
Nothing to install: this file belongs to aicayzer/companies-house-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/aicayzer/companies-house-mcp/main/CLAUDE.mdgit clone --depth 1 https://github.com/aicayzer/companies-house-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/aicayzer/companies-house-mcp/claude-md)<a href="https://agentmods.dev/instructions/aicayzer/companies-house-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/aicayzer/companies-house-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/aicayzer/companies-house-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/aicayzer/companies-house-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.01155 | $0.01155 |
| Opus 5 | $0.00577 | $0.00577 |
| Sonnet 5 | $0.00231 | $0.00231 |
| Haiku 4.5 | $0.00115 | $0.00115 |
Grade A, and why
companies-house-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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Companies House CLI and MCP
What this is
An unofficial CLI and MCP server for the UK Companies House public register. 18 tools covering company search, company records, officers, ownership, filings, filed documents and combined summaries. Every user brings their own free API key; there is no shared key, hosted backend or proxy.
Layout
packages/cli/ companies-house-cli — the API client, the tools, the CLI, and the MCP server
packages/mcp/ companies-house-mcp — a thin wrapper that starts the shared server over stdio
packages/worker/ optional single-user Cloudflare Worker (private, not published)
docs/ VitePress documentation site
All shared implementation lives in packages/cli/src:
api/— HTTP client, rate limiter, cache, pagination helper, endpoint functionsapi/endpoints/— one file per API domaintools/— MCP tool definitions, registered into a central registry by side-effect importserver/— the transport-neutral MCP factory, the Node stdio and HTTP runners, secret comparisoncli/— thechentry point, its command table, and schema introspectionformatters/— shared markdown formatterstypes/— types matching the Companies House API, in its own snake_case
Commands
pnpm build # all packages
pnpm test:unit # no API key needed
pnpm test:integration # needs COMPANIES_HOUSE_API_KEY
pnpm test:package # packaged stdio entry points, via the MCP client SDK
pnpm lint
pnpm typecheck
pnpm docs:dev
The Worker builds with wrangler deploy --dry-run, which is what catches bundling problems.
Conventions
- ESM throughout, Node 22 or newer.
- Types mirror the Companies House API and stay snake_case.
- Tools self-register by calling
registerTool()at module level.tools/all.tsimports them for the side effect; the server and CLI import that. - Every tool returns
{ content, structuredContent }— readable text plus a structured payload. - Every tool declares a
group, used by the CLI help and the generated docs. - The rate limiter queues rather than throwing. A 429 is only waited out when Companies House says the window is about to reset.
- Native
fetch. No Axios. - Code shared with the Worker must stay runtime-neutral: web-standard APIs, no
Buffer, no staticnode:imports. Node-only work belongs inserver/index.ts,config.ts, or behind a dynamic import.
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.
- 11d ago First seen · 83 lines · 1,155 tokens per session scan A 77f9344a3d09
companies-house-mcp CLAUDE.md is an instructions file published in the GitHub repository aicayzer/companies-house-mcp (13 stars, last pushed 1mo ago), licensed MIT. It adds 1,155 tokens to every session, about $0.0058 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-30.
Other instructions, from other repositories
data-scientist copilot-instructions.md
Repository instructions for a data-science workflow in GitHub Copilot, covering datasets, statistics, and analysis files.
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.
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.
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).
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.
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.