MCPcopy Create free account
hub / github.com/anthropics/claude-code

github.com/anthropics/claude-code

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.1.327 ↗ · + Follow · compare 71 versions
774 symbols 1,831 edges 1,460 files 24 documented · 3% ● updated 44d agov2.1.289 · 2026-10-03★ 149,43813,498 open issues

Browse by type

⨍ Functions 727◇ Types & classes 47
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Claude Code

npm

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows -- all through natural language commands. Use it in your terminal, IDE, or tag @claude on Github.

Learn more in the official documentation.

Get started

[!NOTE] Installation via npm is deprecated. Use one of the recommended methods below.

For more installation options, uninstall steps, and troubleshooting, see the setup documentation.

  1. Install Claude Code:

    MacOS/Linux (Recommended): bash curl -fsSL https://claude.ai/install.sh | bash

    Homebrew (MacOS/Linux): bash brew install --cask claude-code

    Windows (Recommended): powershell irm https://claude.ai/install.ps1 | iex

    WinGet (Windows): powershell winget install Anthropic.ClaudeCode

    NPM (Deprecated): bash npm install -g @anthropic-ai/claude-code

  2. Navigate to your project directory and run claude.

Plugins

Anthropic's Claude Code plugins are developed in claude-plugins-official. See the plugins directory for more about plugins.

Reporting Bugs

We welcome your feedback. Use the /bug command to report issues directly within Claude Code, or file a GitHub issue.

Connect on Discord

Join the Claude Developers Discord to connect with other developers using Claude Code. Get help, share feedback, and discuss your projects with the community.

Data collection, usage, and retention

When you use Claude Code, we collect feedback, which includes usage data (such as code acceptance or rejections), associated conversation data, and user feedback submitted via the /bug command.

How we use your data

See our data usage policies.

Privacy safeguards

We have implemented several safeguards to protect your data, including limited retention periods for sensitive information, restricted access to user session data, and clear policies against using feedback for model training.

For full details, please review our Commercial Terms of Service and Privacy Policy.

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 702
Interface 47
Method 25

Languages

TypeScript100%
Python1%

Modules by API surface

mods/types/claude-code.d.ts65 symbols
mods/diff/hooks/register.ts40 symbols
mods/diff/tests/register.test.ts14 symbols
mods/sec-default/hooks/early-run/create-call-memory.ts13 symbols
mods/telemetry/hooks/telemetry-of/telemetry-of.ts9 symbols
mods/diff/hooks/views/body/plan/segments/segments-of.ts9 symbols
mods/diff/tests/git/fetch-diff.test.ts8 symbols
scripts/auto-close-duplicates.ts7 symbols
mods/sec-default/hooks/early-run/handed-calls.ts7 symbols
mods/diff/hooks/views/dialog-pane/dialog-pane.tsx7 symbols
scripts/backfill-duplicate-comments.ts5 symbols
mods/privacy/hooks/outbound/names-user-agent.ts5 symbols

For agents

$ claude mcp add claude-code \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page