Borrowing it
Nothing to install: this file belongs to Averyy/pcbparts-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/Averyy/pcbparts-mcp/main/CLAUDE.mdgit clone --depth 1 https://github.com/Averyy/pcbparts-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/averyy/pcbparts-mcp/claude-md)<a href="https://agentmods.dev/instructions/averyy/pcbparts-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/averyy/pcbparts-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/averyy/pcbparts-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/averyy/pcbparts-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.02023 | $0.02023 |
| Opus 5.5 | $0.00809 | $0.00809 |
| Sonnet 5.5 | $0.00405 | $0.00405 |
| Haiku 4.5 | $0.00202 | $0.00202 |
Grade A, and why
pcbparts-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 — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Claude Guidelines
Before Starting Work
Always run git pull first - Your local repo may be out of date.
Check GitHub issues and PRs in every session, at least once a day. Run gh issue list --repo Averyy/pcbparts-mcp --state open and gh pr list --repo Averyy/pcbparts-mcp --state open before starting work and again on any day the session continues. Mention anything new to the user, even when the task is unrelated: users and contributors report real bugs there, and an issue may touch what you're changing.
- Reproduce a reported bug locally before fixing it, and test the fix with the reporter's own inputs.
- Reference the issue in the commit and
CHANGELOG.md(Fixes #17), so merging closes it. - Don't comment on, label or close issues or PRs without the user's go-ahead; draft the reply instead.
Git Commit Rules
- GET LATEST FIRST github actions runs automatically to commit new parts
- NEVER commit without explicit permission only commit when user explicitly asks ("commit this", "push these changes")
- NEVER add Claude attribution - No "Co-Authored-By: Claude" or similar
- Always bump version in
pyproject.tomlanduv.lock(PATCH/MINOR/MAJOR per semver, ask permission before bumping major/minor, patch is the default), and add an entry toCHANGELOG.mdwith client-visible changes under Breaking. Head it## X.Y.Z (YYYY-MM-DD): after the deploy, thereleasejob indocker-build.ymlpublishes GitHub releasevX.Y.Zwith that section as its notes (no section, failed job). Don't create releases or tags by hand.
Critical Rules
- NEVER test changes using the live MCP undeployed code changes NEEDS to be tested locally via the database
- ALWAYS use wafer when testing JLCPCB API - use
wafer.AsyncSessionwith proper config (seeclient.pyorscrape_components.py). Don't write quick test scripts with raw httpx/aiohttp - you'll get 403 blocked. - EasyEDA
/api/productsis rate-limited per IP: measured at 24 requests, then a bare CloudFront 403 with noRetry-Afterthat clears in about 2 minutes (2026-10-09). Stay under 20 requests per 2 minutes. Since 0.5.6 the client enforces that per process (budget and cooldown in_check_easyeda_footprint()), but the budget is per client instance (the server has one; each integration test class has its own), so test runs and anything else running at the same time add up. On the first EasyEDA 403, STOP sending. Don't re-run tests or retry by hand: heavy traffic during a block appears to stretch it from ~2 minutes to over 30. Check prod with onejlc_get_partinstead. Details and numbers:docs/ref-easyeda-api.md. - EasyEDA footprint seed (
data/easyeda/footprints.csv): built byscripts/build_easyeda_seed.pyon your own machine only, never on prod or in CI, and never while integration tests run (both use your IP's EasyEDA limit). It paces search at one request per 10s and/api/productsat one per 15s, waits 10 minutes after search traffic before any/api/productsstep (search counts toward that endpoint's block), stops on the first 403 and resumes on the next run. Since 0.6.0 the server also keeps live footprint answers in a SQLite store on thepcbparts-cachevolume. Details:docs/ref-easyeda-api.md. - Mouser and DigiKey limits are shared by everyone using pcbparts.dev: Mouser allows 30 requests a minute and 1,000 a day per API key; DigiKey 120 a minute and 1,000 a day per DigiKey app (resetting at 00:00 UTC), and its API User Agreement suspends an app for 10 minutes (403s) for going over its per-second threshold, and can end the agreement after three suspensions. Prod used up DigiKey's day on 2026-10-16 while its in-memory counter kept resetting on restarts. Since 0.6.1: counts and pauses are kept in
DISTRIBUTOR_QUOTA_PATHon thepcbparts-cachevolume, we cap Mouser at 25 and DigiKey at 100 a minute, a limit refusal pauses that distributor until its reset (DigiKey: 429, or 403 for 10 minutes; Mouser: 403 or 429 withTooManyRequestsin the body, until 00:00 UTC then hourly, since Mouser doesn't say when it resets), the limit errors tell users to self-host with their own key, and an hourly log line lists the top caller IPs. Since 0.6.3 DigiKey requests go out at most 5 a second (a burst waits) and DigiKey "not found" answers are cached for 10 minutes (found parts for the hour). Check/health(distributor_quota) before testing with the prod credentials. - ALWAYS pair wafer
timeout=withattempt_timeout=-timeoutis a TOTAL budget across all retries/rotations, not a per-attempt cap. Unpaired, one hanging request eats the whole budget and retries never fire (this failed a sensor scrape and blocked a deploy on 2026-08-01). Sensor scrapers: usemake_session()/attempt_cap()fromscripts/scrapers/common.py.
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 · +77 tokens per session db0205bc8ea0
- 11d ago Changed · +5 lines · +214 tokens per session f4ce507608c6
- 21d ago Changed · +4 lines · +209 tokens per session 334d812f6e4d
- 22d ago Changed · +2 lines · +431 tokens per session 1b418b1d3134
- 28d ago Changed · +1 lines · +187 tokens per session 1d90b3f0bab1
- 2mo ago First seen · 65 lines · 905 tokens per session scan A af1253a16d74
pcbparts-mcp CLAUDE.md is an instructions file published in the GitHub repository Averyy/pcbparts-mcp (142 stars, last pushed yesterday), licensed MIT. It adds 2,023 tokens to every session, about $0.0081 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.
pcbparts-mcp CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pcbparts-mcp CLAUDE.mdAveryy/pcbparts-mcp | Instructions file | 142 | yesterday | MIT | A | 2,023 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | 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 | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |