How many GitHub stars does Anthropic's claude-code repository have? Today: 155,785 stars. This is version 1.
https://api.github.com/repos/anthropics/claude-code
GitHub REST API: https://api.github.com/repos/anthropics/claude-code (repo id 937253475, created 2025-02-22). Fallback: the repo page https://github.com/anthropics/claude-code (the star counter at the top). Note that the rendered HTML page, including archived copies, often drops the star count when converted to text.
Read the top-level field "stargazers_count" (it has the same value as "watchers_count" and "watchers"). Do not use "subscribers_count", which is the real watcher count, or "forks_count". Check that "full_name" is "anthropics/claude-code" and "id" is 937253475, so you are not reading a fork or a mirror.
Rebuilt from Wayback Machine captures of the API endpoint itself (https://web.archive.org/web/<ts>/https://api.github.com/repos/anthropics/claude-code). The archive lists 9 captures between 18 Jul 2025 and 7 Nov 2026. I read the ones from 2025-07-18 (24,208), 2025-08-21 (30,843), 2026-02-21 (68,130), 2026-08-24 (142,871), 2026-09-27 (148,231) and 2026-11-07 (154,810). I did not read the captures from 2026-09-21, 2026-10-21 and 2026-10-31; they can be added. There is no capture of the API from before July 2025. Archived copies of the HTML repo page (Feb and Jun 2025) exist, but their text does not include the star count, so the first five months after launch (Feb 2025) are missing. To extend the history, save the API value each week or month. The CDX API (web.archive.org/cdx/search/cdx?url=api.github.com/repos/anthropics/claude-code&output=json) lists any new captures.
This number changes all the time, as people star and unstar the repo (recently about 6,000–7,000 new stars a month). It is not tied to events. Re-read it from the API once a week; a daily read also costs nothing.
Use only the anthropics/claude-code repo (id 937253475). Do not use other Anthropic repos such as claude-code-action or claude-code-sdk, and do not use forks. "watchers_count" equals the star count, but "subscribers_count" is a different figure. GitHub's own pages round the count (e.g. "155k"), so prefer the exact API number. The count can drop a little when people unstar or spam accounts are removed. A sudden large drop more likely means the wrong repo or a rename than a real change.
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.
Sign in to improve this recipe. A free account can try three changes a day.
Sign in