Tally
Numbers / Claude Code · npm downloads, weekly / Recipe

Recipe: Claude Code · npm downloads, weekly

How many weekly npm downloads does the @anthropic-ai/claude-code package have? Today: 17.62M downloads. This is version 1.

Source

https://api.npmjs.org/downloads/point/last-week/@anthropic-ai/claude-code

The official npm downloads API: https://api.npmjs.org/downloads/point/last-week/@anthropic-ai/claude-code. This is the same count shown as "Weekly Downloads" on npmjs.com/package/@anthropic-ai/claude-code. If the API is down, read the Weekly Downloads figure on the npmjs.com package page.

Read

Take the "downloads" field from the JSON. It is the total for the last 7 complete days (UTC), from "start" to "end". Store the "end" date alongside the value. Don't use the last-day or last-month endpoints, and don't use counts for other Anthropic packages (for example @anthropic-ai/sdk).

History

The history was rebuilt from the same API's fixed-period endpoint, https://api.npmjs.org/downloads/point/YYYY-MM-DD:YYYY-MM-DD/@anthropic-ai/claude-code. I used the 7-day window from the 1st to the 7th of each month, March 2025 to October 2026. The package was published in late February 2025. Each value is the API's own total for that window, not a sum I calculated. Each history date is the window's start date. To extend the history, add one 1st–7th window per month, or log the last-week value whenever it is read. The npm API may only serve about 18 months of past data, so the earliest windows may stop being retrievable later.

Update

The count changes continuously, with a new 7-day window every day. Re-read it weekly from the last-week endpoint. Downloads include CI installs and automatic updates, so expect noisy swings from week to week and dips around holidays.

Checks

Check the package name: it must be exactly @anthropic-ai/claude-code. Check that the window is 7 days, not a day or a month. These are npm registry downloads, not users or installs, and they don't include Claude Code installs from the native installer or Homebrew. If the count suddenly falls toward zero, the package may have been deprecated in favour of another way to distribute it, so check the package page. Third-party sites such as npmtrends may show different windows.

How this version was produced: 21 steps by an agent, 6 checks
  1. Read data from api.npmjs.org/downloads/point/last-week/@anthropic-ai/claude-code
  2. Read data from api.npmjs.org/downloads/point/2025-03-01:2025-03-07/@anthropic-ai/clau
  3. Read data from api.npmjs.org/downloads/point/2025-06-01:2025-06-07/@anthropic-ai/clau
  4. Read data from api.npmjs.org/downloads/point/2025-09-01:2025-09-07/@anthropic-ai/clau
  5. Read data from api.npmjs.org/downloads/point/2026-01-01:2026-01-07/@anthropic-ai/clau
  6. Read data from api.npmjs.org/downloads/point/2026-04-01:2026-04-07/@anthropic-ai/clau
  7. Read data from api.npmjs.org/downloads/point/2026-07-01:2026-07-07/@anthropic-ai/clau
  8. Read data from api.npmjs.org/downloads/point/2025-04-01:2025-04-07/@anthropic-ai/clau
  9. Read data from api.npmjs.org/downloads/point/2025-05-01:2025-05-07/@anthropic-ai/clau
  10. Read data from api.npmjs.org/downloads/point/2025-07-01:2025-07-07/@anthropic-ai/clau
  11. Read data from api.npmjs.org/downloads/point/2025-08-01:2025-08-07/@anthropic-ai/clau
  12. Read data from api.npmjs.org/downloads/point/2025-10-01:2025-10-07/@anthropic-ai/clau
  13. Read data from api.npmjs.org/downloads/point/2025-11-01:2025-11-07/@anthropic-ai/clau
  14. Read data from api.npmjs.org/downloads/point/2025-12-01:2025-12-07/@anthropic-ai/clau
  15. Read data from api.npmjs.org/downloads/point/2026-02-01:2026-02-07/@anthropic-ai/clau
  16. Read data from api.npmjs.org/downloads/point/2026-03-01:2026-03-07/@anthropic-ai/clau
  17. Read data from api.npmjs.org/downloads/point/2026-05-01:2026-05-07/@anthropic-ai/clau
  18. Read data from api.npmjs.org/downloads/point/2026-06-01:2026-06-07/@anthropic-ai/clau
  19. Read data from api.npmjs.org/downloads/point/2026-08-01:2026-08-07/@anthropic-ai/clau
  20. Read data from api.npmjs.org/downloads/point/2026-09-01:2026-09-07/@anthropic-ai/clau
  21. Read data from api.npmjs.org/downloads/point/2026-10-01:2026-10-07/@anthropic-ai/clau
  22. ✓ The recipe produced a value
  23. ✓ It still answers this number's question
  24. ✓ The evidence page was actually read in this run
  25. ✓ The value can be read in the source text
  26. ✓ No unexplained jump from the current value
  27. ✓ Past points can be read in the pages they cite · 21 of 21 kept.

Agent's note: npm's official downloads API shows 17,622,461 downloads of @anthropic-ai/claude-code in the week of 8–14 November 2026. For the history, I took one 7-day window a month (the 1st to the 7th) from March 2025 to October 2026, each straight from the same API. The count went from about 125,000 a week to over 15 million, with dips around the holidays and in May 2026. These are registry download counts, not users, and they don't include Claude Code installs that bypass npm.

Model: claude-opus-5-5

Improve this recipe

Edit the text and press the button. An agent follows your version once; if the value it gets can be read in the source and is not an unexplained jump, your version goes live straight away. Otherwise it is kept in the history as not adopted, with the reason.

Versions

Back to the number