diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 807380d..82af738 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -4,7 +4,7 @@ Thanks for your interest in contributing to this repository!
## What This Is
-This repo archives the **leaked source code** of Anthropic's Claude Code CLI. Contributions here are about **documentation, tooling, and exploration aids** — not modifying the original Claude Code source.
+This repo archives a source snapshot of Anthropic's Claude Code CLI together with documentation and exploration tooling. Contributions here are about **documentation, tooling, and exploration aids** rather than editing the archived snapshot itself.
## What You Can Contribute
@@ -16,8 +16,8 @@ This repo archives the **leaked source code** of Anthropic's Claude Code CLI. Co
## What Not to Change
-- **`src/` directory** — This is the original leaked source, preserved as-is. Don't modify it.
-- The [`backup` branch](https://github.com/777genius/claude-code-source-code/tree/backup) contains the unmodified original.
+- **`src/` directory** — This is the archived source snapshot and should generally remain unchanged.
+- The [`backup` branch](https://github.com/777genius/claude-code-source-code/tree/backup) contains the raw imported snapshot.
## Getting Started
@@ -45,7 +45,7 @@ npm run build # Compile to dist/
### Linting & Type Checking
```bash
-# From the repo root — checks the leaked src/
+# From the repo root — checks the archived snapshot
npm run lint # Biome lint
npm run typecheck # TypeScript type check
```
@@ -67,6 +67,8 @@ For any new code (MCP server, tooling, scripts):
4. Commit with a clear message
5. Push and open a pull request
+Please keep pull requests scoped to docs, MCP tooling, scripts, or repository metadata unless a maintainer explicitly asks for changes to the archived snapshot.
+
## Questions?
Open an issue or reach out to [nichxbt](https://www.x.com/nichxbt).
diff --git a/README.md b/README.md
index d30fc0e..f139a9d 100644
--- a/README.md
+++ b/README.md
@@ -1,15 +1,15 @@
-# Claude Code — Leaked Source
+# Claude Code Source Snapshot
-**The full source code of Anthropic's Claude Code CLI, leaked on March 31, 2026**
+**An exploratory mirror of a source snapshot reportedly exposed via published source maps on March 31, 2026**
[](#tech-stack)
[](#tech-stack)
[](#directory-structure)
[](#-explore-with-mcp-server)
-> The original unmodified leaked source is preserved in this repository's [`backup` branch](https://github.com/777genius/claude-code-source-code/tree/backup).
+> The raw imported snapshot is preserved in this repository's [`backup` branch](https://github.com/777genius/claude-code-source-code/tree/backup). The `main` branch contains added documentation, tooling, and repository metadata.
@@ -54,7 +54,7 @@ Also check out these two cool projects:
## What Is Claude Code?
-Claude Code is Anthropic's official CLI tool for interacting with Claude directly from the terminal — editing files, running commands, searching codebases, managing git workflows, and more. This repository contains the leaked `src/` directory.
+Claude Code is Anthropic's official CLI tool for interacting with Claude directly from the terminal: editing files, running commands, searching codebases, managing git workflows, and more. This repository contains a source snapshot together with added docs, MCP tooling, and repository metadata to help inspect it.
| | |
|---|---|
@@ -66,7 +66,7 @@ Claude Code is Anthropic's official CLI tool for interacting with Claude directl
---
-## � Documentation
+## Documentation
For in-depth guides, see the [`docs/`](docs/) directory:
@@ -82,9 +82,9 @@ Also see: [CONTRIBUTING.md](CONTRIBUTING.md) · [MCP Server README](mcp-server/R
---
-## �🔍 Explore with MCP Server
+## Explore with MCP Server
-This repo ships an [MCP server](https://modelcontextprotocol.io/) that lets any MCP-compatible client (Claude Code, Claude Desktop, VS Code Copilot, Cursor) explore the full source interactively.
+This repo also ships an [MCP server](https://modelcontextprotocol.io/) that lets any MCP-compatible client (Claude Code, Claude Desktop, VS Code Copilot, Cursor) explore the snapshot interactively.
### Install from npm
@@ -101,7 +101,7 @@ claude mcp add claude-code-explorer -- npx -y claude-code-explorer-mcp
git clone https://github.com/777genius/claude-code-source-code.git ~/claude-code-source-code \
&& cd ~/claude-code-source-code/mcp-server \
&& npm install && npm run build \
- && claude mcp add claude-code-explorer -- node ~/claude-code/mcp-server/dist/index.js
+ && claude mcp add claude-code-explorer -- node ~/claude-code-source-code/mcp-server/dist/index.js
```
@@ -116,7 +116,7 @@ cd claude-code-source-code/mcp-server
npm install && npm run build
# 3. Register with Claude Code
-claude mcp add claude-code-explorer -- node /absolute/path/to/claude-code/mcp-server/dist/index.js
+claude mcp add claude-code-explorer -- node /absolute/path/to/claude-code-source-code/mcp-server/dist/index.js
```
Replace `/absolute/path/to/claude-code-source-code` with your actual clone path.
@@ -146,8 +146,8 @@ Replace `/absolute/path/to/claude-code-source-code` with your actual clone path.
"mcpServers": {
"claude-code-explorer": {
"command": "node",
- "args": ["/absolute/path/to/claude-code/mcp-server/dist/index.js"],
- "env": { "CLAUDE_CODE_SRC_ROOT": "/absolute/path/to/claude-code/src" }
+ "args": ["/absolute/path/to/claude-code-source-code/mcp-server/dist/index.js"],
+ "env": { "CLAUDE_CODE_SRC_ROOT": "/absolute/path/to/claude-code-source-code/src" }
}
}
}
@@ -436,13 +436,12 @@ git push origin main
## Contributing
-Contributions to documentation, the MCP server, and exploration tooling are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
+Contributions to documentation, the MCP server, and exploration tooling are welcome. Changes to the archived snapshot under `src/` are not the default contribution path. See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
-> **Note:** The `src/` directory is the original leaked source and should not be modified.
+> **Note:** The `src/` directory is the archived source snapshot and should generally remain unchanged.
---
## Disclaimer
-This repository archives source code leaked from Anthropic's npm registry on **2026-03-31**. All original source code is the property of [Anthropic](https://www.anthropic.com). This is not an official release and is not licensed for redistribution. Contact [nichxbt](https://www.x.com/nichxbt) for any comments.
-
+This repository archives a source snapshot reportedly exposed via Anthropic's npm distribution on **2026-03-31**. It is provided for research, documentation, and exploratory tooling around the snapshot. The original Claude Code source remains the property of [Anthropic](https://www.anthropic.com), this is not an official release, and no rights to Anthropic's original code are granted by this repository. If you choose to use or redistribute any of the archived material, you are responsible for assessing the legal implications yourself. Contact [nichxbt](https://www.x.com/nichxbt) for any comments.