MCPcopy
hub / github.com/anthropics/claude-code

github.com/anthropics/claude-code @v2.1.198 sqlite

repository ↗ · DeepWiki ↗ · release v2.1.198 ↗ · compare 2 versions
176 symbols 703 edges 26 files 112 documented · 64%
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

GitHubIssue (Interface)
(no doc)
scripts/backfill-duplicate-comments.ts
GitHubIssue (Interface)
(no doc)
scripts/auto-close-duplicates.ts
GitHubComment (Interface)
(no doc)
scripts/backfill-duplicate-comments.ts
GitHubComment (Interface)
(no doc)
scripts/auto-close-duplicates.ts
GitHubReaction (Interface)
(no doc)
scripts/auto-close-duplicates.ts

Core symbols most depended-on inside this repo

debug_log
called by 110
plugins/security-guidance/hooks/_base.py
emit_metrics
called by 39
plugins/security-guidance/hooks/security_reminder_hook.py
with_locked_state
called by 17
plugins/security-guidance/hooks/session_state.py
_skip
called by 10
plugins/security-guidance/hooks/security_reminder_hook.py
_format_vulns_guidance
called by 6
plugins/security-guidance/hooks/llm.py
analyze_code_security
called by 6
plugins/security-guidance/hooks/llm.py
_git_toplevel
called by 6
plugins/security-guidance/hooks/gitutil.py
evaluate_rules
called by 6
plugins/hookify/core/rule_engine.py

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