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

github.com/anthropics/claude-code

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.1.207 ↗ · + Follow · compare 3 versions
176 symbols 703 edges 26 files 112 documented · 64% updated 2d agov2.1.207 · 2026-07-11★ 137,60610,551 open issues

Browse by type

Functions 167 Types & classes 9
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

This repository includes several Claude Code plugins that extend functionality with custom commands and agents. See the plugins directory for detailed documentation on available 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

Core symbols most depended-on inside this repo

Shape

Function 158
Method 9
Interface 5
Class 4

Languages

Python91%
TypeScript9%

Modules by API surface

plugins/security-guidance/hooks/security_reminder_hook.py32 symbols
plugins/security-guidance/hooks/llm.py31 symbols
plugins/security-guidance/hooks/gitutil.py21 symbols
plugins/security-guidance/hooks/diffstate.py18 symbols
plugins/security-guidance/hooks/extensibility.py12 symbols
plugins/hookify/core/rule_engine.py9 symbols
plugins/security-guidance/hooks/review_api.py8 symbols
scripts/auto-close-duplicates.ts7 symbols
plugins/security-guidance/hooks/session_state.py7 symbols
plugins/hookify/core/config_loader.py7 symbols
scripts/backfill-duplicate-comments.ts5 symbols
scripts/sweep.ts4 symbols

Datastores touched

mydbDatabase · 1 repos

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page