Skip to main content
← Coding

Claude Code CLI

Anthropic
Coding Terminal Local 8 axes checked Active Checked 2026-10-23

Read the two badges separately: the first is whether this page is backed by evidence, the second is whether the product is still maintained. An archived product can have complete evidence; complete evidence does not mean the product is active.

30-second check: should it make your shortlist?

In one line

A terminal coding and tool-execution product, with a CHANGELOG and Atom feed. See the…

How you use it

Local / self-hosted · CLI

Licence / commercial use

Not checked

Read the original licence before commercial use
Mainland China

Direct in mainland · Not in filing list

These four cards help you rule things out, not decide for you. The real differences are in the eight questions and sources below.

Information not confirmed

  • The full tool list
  • The concrete sandbox implementation
  • Whether local models are supported
  • The relationship between API calls and subscription quotas
  • The specific restriction content of the commercial terms
English summaries and interface labels are available. Detailed source notes below are currently in Chinese.

The highest data quality and most frequent releases in this track — it ships its own CHANGELOG and Atom feed, with the finest granularity in permission design.

When to use it, when not to

Users who value permission control, want the MCP ecosystem, and want Anthropic's own models. Users who want update notifications (this entry ships its own Atom feed).

Not a fit for scenarios needing an open-source licence, self-hosting or closed distribution — the licence is explicitly proprietary, and public source is not the same as free use.

China availability domestic / direct access / CAC filing · snapshot 2026-10-23

Origin
foreign-made foreign entity (no matching filing entity in the CAC registry).
Direct access
direct OK Hosted on GitHub — direct reachability from mainland fluctuates (200/000 mixed on the same day); npm / PyPI install routes measured stable.
CAC filing
not in filing list:not in the CAC public registry (13 batch attachments searched 2026-10-20, https://www.cac.gov.cn/2024-04/02/c_1713729983803145.htm); the product does not serve the mainland public, so filing does not apply.

Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.

8 questions, one table

8 questions, each comparable item by item with its peers.

Model & openness

Anthropic's own Claude family.

v2.1.284 (2026-09-28) added Claude Sonnet 5.5 (claude-sonnet-5-5). The official notes it is the default Sonnet model on the Anthropic API. Spec is 1M context (API pricing on the official pricing page; not stored by this site).

Where it runs

A local process in the terminal; lifecycle bound to the terminal session. The repo includes .devcontainer for containerized development; sessions land in ~/.claude and can be resumed with continue/resume, but nothing keeps running after the terminal exits.

Local files

The permission model is strongly tied to the working directory —

the CHANGELOG records that auto mode asks "before reading files outside the working directories". It also added a "Yes, but ask again next time" option. That means: allow this one read, and keep asking afterwards.

1M context tier (see model_access).

Tasks after shutdown

The terminal form needs a resident client, but the official has a cloud form that keeps running after shutdown.

Official claude-code-on-the-web wording: "A cloud session is a Claude Code session that runs on cloud infrastructure instead of on your machine... The session keeps running after you close your laptop."

The CLI creates a cloud session with claude --cloud (the old --remote is an alias), and claude --teleport pulls a cloud session back into the terminal to continue;

Routines (created in the CLI via /schedule) run on Anthropic-managed cloud, official wording: "they keep working when your laptop is closed".

Cloud sessions and routines require a paid Pro / Max / Team or Enterprise seat.

Quotas and limits follow the plan. The official routines page has a standalone "Usage and limits" section.

Tools & extensions

MCP support is complete and continuously strengthening —

v2.1.284 added /mcp reconnect all. It retries all failed-or-unauthenticated MCP servers in one shot.

The same version fixed an issue: on session resume, MCP tool calls reported "No such tool available" while the server was actually still connecting. It now waits up to 10 seconds.

Context & memory

The context-compaction mechanism has explicit boundary handling —

v2.1.284 fixed a persistent error: when the request is still too long after compacting, it kept reporting "Prompt is too long". It now compacts once more, keeping less of the recent conversation.

That shows it genuinely has multi-round compaction, and edge cases are being patched continuously.

Permissions & limits

The granularity of its permission design is the finest in this category:

  • auto mode asks per path (reads outside the working directories need confirmation), and offers an "allow this once" middle option;
  • managed policies support availableModels and enforceAvailableModels to control usable models, and warn at startup when the policy mismatches;
  • /usage shows quota consumption and limits.
Best for

Users who value controllable permissions, need the MCP ecosystem, and want Anthropic's official models. Not a fit for scenarios needing an open-source license or self-hosting (the license is explicitly proprietary).

Top misconception

  • Assuming a GitHub repo means open source — LICENSE.md is All rights reserved plus commercial terms
  • Overlooking the default that reads outside the working directory ask first — your first run may be interrupted
  • Assuming compression fixes every over-long case; the official docs still address the "still too long after compression" edge

Evidence sources

Checked 2026-10-23,Content updated 2026-10-08。This is the date of the entry, not a claim that every field was rechecked that day.

TypeNameLink
repoAnthropic · Claude Code repositoryhttps://github.com/anthropics/claude-code
changelogAnthropic · Claude Code CHANGELOGhttps://github.com/anthropics/claude-code/blob/main/CHANGELOG.md
changelogAnthropic · Claude Code Releases (v2.1.284 @ 2026-09-28)https://github.com/anthropics/claude-code/releases
changelogAnthropic · Claude Code Atom feed (directly subscribable updates)https://github.com/anthropics/claude-code/blob/main/feed.xml
docsAnthropic · official docshttps://code.claude.com/docs/en/overview
docsAnthropic · Commercial Terms of Servicehttps://www.anthropic.com/legal/commercial-terms
docsAnthropic · Claude Code on the web (cloud sessions, keep running after shutdown)https://code.claude.com/docs/en/claude-code-on-the-web
docsAnthropic · Routines (cloud scheduled / API / GitHub-triggered tasks)https://code.claude.com/docs/en/routines

Test notes

This site has not completed measured runs. The test protocol is at protocols/coding/_protocol.md.

Suggested measurement: focus on how often the "allow this once" approval option actually interrupts during long tasks, and MCP reconnection behavior on session resume (the freshly fixed spot is the most worth verifying).

⚠ License status (the most important prerequisite)

LICENSE.md original text:

© Anthropic PBC. All rights reserved. Use is subject to Anthropic's Commercial Terms of Service.

This is not an open-source license. The GitHub API's license field returning NONE is for the same reason.

QuestionAnswer
Can I read the source?Yes (the repository is public)
Can I use it commercially?Must follow Anthropic's Commercial Terms
Can I distribute it closed-source?No (All rights reserved)
Can I self-host?Not applicable (proprietary + subscription)

This must be made clear before any selection decision — "the tool is on GitHub" does not equal "you are free to use it".

Change log: three subscription paths (unique in this category)

This entry has three changelog entry points:

Entry pointNotes
CHANGELOG.mdthe main change log
releasesversion tags and dates
feed.xmlAtom feed, directly subscribable
<link rel="self" type="application/atom+xml"
      href="https://raw.githubusercontent.com/anthropics/claude-code/main/feed.xml"/>

This is the only project in this category that ships an Atom feed. If you want to subscribe to some CLI tool's updates, point at this feed.

Note: this site's mcp.specul.com once evaluated "add RSS" as an improvement; this entry shows at least this one subject, Claude Code, already provides it, while other subjects still need manual checking.

Release cadence

VersionDate
v2.1.2842026-09-28
v2.1.2832026-09-25
v2.1.2822026-09-24
v2.1.2812026-09-23
v2.1.2802026-09-22

5 releases in 5 days — one of the densest verifiable cadences in this category.

Model update (v2.1.284 original wording)

CHANGELOG original text (excerpt; the API-pricing part is not quoted per D9 policy):

Added Claude Sonnet 5.5 (claude-sonnet-5-5), now the default Sonnet
model on the Anthropic API — 1M context…
ItemValue
model idclaude-sonnet-5-5
context1M

This is the only subject in this category whose default-model spec was verified from the CHANGELOG, because it was written in the CHANGELOG rather than elsewhere.

Permission design: the finest in this category

① Asks per path, with an "allow just this once"

v2.1.284 added an option:

Added a "Yes, but ask again next time" answer to auto mode's prompt
before a read outside the working directories, so you can allow that one
read and still be asked about later ones

This design deserves its own record. Most tools' approvals have only two states — allow / deny. Claude Code offers a third state: allow this once, but keep asking.

It resolves a real dilemma:

  • allow globally → lose the protection
  • confirm every time → workflow interruptions

② Managed policies control usable models

Added Claude apps gateway startup warnings when a managed policy's
availableModels is empty, or leaves out the model Claude Code starts on
without setting model or enforceAvailableModels

In enterprise scenarios:

  • usable models are controlled by the availableModels policy
  • enforceAvailableModels decides whether it is enforced
  • policy mismatches warn at startup — no silent degradation

③ Quota visibility

Added dollar amounts to the Claude apps gateway spend limit in /usage
and the status line

/usage and the status line show concrete spend numbers rather than abstract percentages (the original example contains amounts; not quoted per D9 policy).

MCP support keeps strengthening

Both v2.1.284 changes concern MCP:

ChangeContent
added/mcp reconnect all — retry all failed or unauthenticated servers in one shot
fixedon session resume MCP tools reported "No such tool available" (the server was actually still connecting); it now waits up to 10 seconds

The value of the second fix: it reveals a real scenario — a race exists between session resume and MCP server connection. Only heavy usage would surface this class of problem.

Boundary handling of context compaction

Fixed "Prompt is too long" errors that persisted after compacting:
when the compacted request is still too long, Claude Code now compacts
once more, keeping less of the recent conversation

What this shows: after compaction a request may still be too long; then it compacts once more and keeps less of the recent conversation.

This is honest boundary handling — not pretending one compaction solves everything.

Permission-grading note

Basis for confidence: partial (downgraded from verified on 2026-10-03):

Why the downgrade: the subject of the ❌ items below is this site's evidence gap, not "the official did not provide it". Per the v3 rule "say unknown when unknown", marking verified while these items exist would be inflated, hence partial. Main gaps: the full tool list, sandbox implementation details, whether local models are supported, the API-vs-subscription quota relationship.
  • ✅ Verified: repository, license status original text, the latest 5 versions and dates, stars (152,928 · rolling re-check 2026-10-23, latest release v2.1.309 @ 2026-10-22), model spec original text (pricing not stored per D9), the three concrete permission mechanisms, the two MCP changes, the compaction strategy, the Atom feed's existence, the cloud form (claude --cloud / Routines / keeps running after shutdown)
  • ❌ Not verified: the full tool list, sandbox implementation details, whether local models are supported, the API-vs-subscription quota relationship

This was once the first CLI-form entry to reach verified. It writes a lot of information into the CHANGELOG and LICENSE. Downgraded to partial on 2026-10-03 because this site still has evidence gaps (see below).

第一次怎么用

  1. 安装命令以仓库 README 为准;安装后先在空目录跑 claude --help 确认版本。
  2. 进入目标仓库,先让它读 README 与测试命令,不要直接改代码。
  3. 用权限确认模式逐条看它要跑的命令;能白名单就白名单到具体命令。
  4. 让它先给「根因假设 + 验证方法」,再改代码;改动后必须跑回归测试。
  5. 源码可见但许可证是 All rights reserved,商用与再分发前先读 LICENSE。
仓库在【路径】。先做三件事,不要改代码:
1) 读 README 与测试配置,列出运行测试的命令;
2) 复现【bug】,给出两个根因假设;
3) 按成本排序,先验最便宜的那个。

Related entries

Same-category peers

Look at these three before reading further

Selected by overlap in jobs, not ranked. Compare where it runs, licence and status first; if one of the three fails, skip it.

ObjectWhereLicenceEvidence / statusWhat it is for
AmpCloud / APINot checked8 questions checked
Active
Sourcegraph's Amp: a frontier coding agent spanning CLI + cloud orbs + r
Codex CLILocal / self-hostedNot checked8 questions checked
Active
OpenAI's official terminal coding agent, written in Rust, architecturall
GitHub Copilot CLILocal / self-hostedNot checked8 questions checked
Active
The Copilot agent in your terminal, carried by your GitHub subscription:

Same vendor

More from Anthropic

One vendor’s products are often split across categories. This list puts them together so you do not have to assemble them across five sites.

This page is generated from the ai-handbook data layer (CC BY 4.0). For the judging criteria and method notes, see METHODOLOGY.md.