[Bug] Anthropic API Error: Usage Policy violation triggered by npm error output
Bug Description
this is a ridiculous error that is blocking me from continuing my work. I pasted the terminal response from a package we're working on. > @coherenceos/mcp-server@0.2.1 build
> tsc -p tsconfig.json
npm notice
npm notice package: @coherenceos/mcp-server@0.2.1
npm notice Tarball Contents
npm notice 1.1kB LICENSE
npm notice 3.8kB README.md
npm notice 672B dist/api.d.ts
npm notice 1.9kB dist/api.js
npm notice 31B dist/index.d.ts
npm notice 2.6kB dist/index.js
npm notice 246B dist/tools.d.ts
npm notice 11.3kB dist/tools.js
npm notice 1.2kB package.json
npm notice Tarball Details
npm notice name: @coherenceos/mcp-server
npm error code E404
npm error 404 Not Found - PUT https://registry.npmjs.org/@coherenceos%2fmcp-server - Not found
npm error 404
npm error 404 '@coherenceos/mcp-server@0.2.1' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: C:\Users\Keith\AppData\Local\npm-cache\_logs\2026-05-12T18_16_56_955Z-debug-0.log
⎿ API Error: Claude Code is unable to respond to this request, which appears to violate our Usage Policy (https://www.anthropic.com/legal/aup). This request triggered restrictions on violative cyber content
and was blocked under Anthropic's Usage Policy. To request an adjustment pursuant to our Cyber Verification Program based on how you use Claude, fill out
https://claude.com/form/cyber-use-case?token=[REDACTED] Please double press
esc to edit your last message or start a new session for Claude Code to assist with a different task. If you are seeing this refusal repeatedly, try running /model claude-sonnet-4-20250514 to switch
models.
Request ID: req_011Cay8gyKTSCKih6vyd5VdT
Environment Info
- Platform: win32
- Terminal: windows-terminal
- Version: 2.1.139
- Feedback ID: 686915d8-4d26-45a5-9a5a-f01d77521f9c
Errors
[{"error":"Error: ripgrep exited with code null\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:706:914)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:778:16)\n at #handleOnExit (node:child_process:532:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-11T20:00:49.950Z"},{"error":"Error: ripgrep exited with code null\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:706:914)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:778:16)\n at #handleOnExit (node:child_process:532:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-11T22:10:59.341Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n at A (B:/~BUN/root/src/entrypoints/cli.js:709:242)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:709:456)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:706:985)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:778:16)\n at #handleOnExit (node:child_process:532:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-11T22:10:59.343Z"},{"error":"Error: ripgrep exited with code null\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:706:914)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:778:16)\n at #handleOnExit (node:child_process:532:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-11T22:10:59.974Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n at A (B:/~BUN/root/src/entrypoints/cli.js:709:242)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:709:456)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:706:985)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:778:16)\n at #handleOnExit (node:child_process:532:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-11T22:10:59.974Z"},{"error":"Error: ripgrep exited with code null\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:706:914)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:778:16)\n at #handleOnExit (node:child_process:532:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-11T22:11:00.246Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n at A (B:/~BUN/root/src/entrypoints/cli.js:709:242)\n at <anonymou…
Note: Content was truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗