Borrowing it
Nothing to install: this file belongs to numikel/law-scrapper-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/numikel/law-scrapper-mcp/main/CLAUDE.mdgit clone --depth 1 https://github.com/numikel/law-scrapper-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/numikel/law-scrapper-mcp/claude-md)<a href="https://agentmods.dev/instructions/numikel/law-scrapper-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/numikel/law-scrapper-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/numikel/law-scrapper-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/numikel/law-scrapper-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.02113 | $0.02113 |
| Opus 5.5 | $0.00845 | $0.00845 |
| Sonnet 5.5 | $0.00423 | $0.00423 |
| Haiku 4.5 | $0.00211 | $0.00211 |
Grade A, and why
law-scrapper-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 yesterday.
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 — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Project overview
Law Scrapper MCP v4.4.2 is a modular Python MCP server that exposes 13 tools for searching and analyzing Polish legal acts from the Sejm API (api.sejm.gov.pl/eli/). Built with the official Python MCP SDK (mcp[cli]==2.2.0, MCPServer[AppContext]), it supports STDIO (default) and stateless Streamable HTTP at /mcp on port 7683.
Development commands
# Dev tools (pytest, ruff, mypy, pip-audit) are an extra — plain `uv sync` omits them
uv sync --extra dev
# Module work (modules/*) and the lint job need the workspace members installed too
uv sync --extra dev --all-packages
# The CI lint job, in full. `ruff format --check` is the gate most often missed locally
uv run ruff check src tests modules && uv run ruff format --check src tests modules && uv run mypy src/law_scrapper_mcp/ modules/*/src/law_scrapper_mcp_*/
# Integration tests need the marker, or they are silently skipped
uv run pytest tests/integration/ -v -m integration
# HTTP transport is opt-in via env var, not a flag
LAW_MCP_TRANSPORT=streamable-http uv run python -m law_scrapper_mcp
# Local mirror of the CI lint + test jobs; MCP conformance, Docker smoke and pip-audit run only in CI
uv run python scripts/check_release.py --version X.Y.Z
mypy runs with disallow_untyped_defs = true: every new function, tests included, needs annotations.
HTTP auth and binding
LAW_MCP_AUTH_MODE defaults to none, which is accepted only on loopback. A non-loopback
LAW_MCP_HOST, LAW_MCP_ALLOWED_HOSTS or LAW_MCP_ALLOWED_ORIGINS makes startup fail unless the
mode is bearer or oauth (config_validation.py). This is deliberate — fix the configuration,
never the validator. docker-compose.yml needs LAW_MCP_AUTH_TOKEN exported, and
tests/unit/test_deployment_files.py rejects an unauthenticated exposure in the Dockerfile,
compose file or README.
Testing
Layers, commands and file layout: tests/TEST_SUITE_SUMMARY.md. Every new test file must be listed
there. Policy tests that fail on edits outside src/:
test_readme_tool_table.py— the README tool table must match the livetools/list, so adding or renaming a tool means editing the READMEtest_dependency_policy.py—mcp[cli]stays pinned with==,pyjwtanduvicornstay direct dependencies, nofastmcpanywhere
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.
- yesterday Changed · +6 lines · +124 tokens per session 6e8cb1d87d91
- 4d ago Changed · +5 lines · +80 tokens per session 07d2271d79b7
- 5d ago Changed · +1 lines · +65 tokens per session 9ffe59252ae7
- 6d ago Changed · +23 lines · +357 tokens per session c456e4026c32
- 7d ago Changed · +1 lines · +24 tokens per session bd0ce6706628
- 12d ago Changed · +7 tokens per session e32d1c7e96e0
- 19d ago Changed · +2 lines · +44 tokens per session ba615e7b9f0b
- 1mo ago Changed · +34 tokens per session cffddebcceab
- 1mo ago Changed · +4 lines · +80 tokens per session 9aec30193b97
- 2mo ago First seen · 81 lines · 1,298 tokens per session scan A 765b9cc2e2f7
law-scrapper-mcp CLAUDE.md is an instructions file published in the GitHub repository numikel/law-scrapper-mcp (23 stars, last pushed yesterday), licensed MIT. It adds 2,113 tokens to every session, about $0.0085 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-30.
law-scrapper-mcp CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| law-scrapper-mcp CLAUDE.mdnumikel/law-scrapper-mcp | Instructions file | 23 | yesterday | MIT | A | 2,113 | 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 |