# Claude Code Docs

> Auto-updating archive of Anthropic docs, engineering posts, MCP spec, cookbooks, skills, and plugins. 2,900+ files from 11 sources.

- **Type:** MCP server
- **Install:** `agentstack add mcp-thevibeworks-claude-code-docs`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [thevibeworks](https://agentstack.voostack.com/s/thevibeworks)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [thevibeworks](https://github.com/thevibeworks)
- **Source:** https://github.com/thevibeworks/claude-code-docs

## Install

```sh
agentstack add mcp-thevibeworks-claude-code-docs
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Claude Code Docs

> Comprehensive, auto-updating archive of everything Anthropic publishes
> for building with Claude. 2,900+ docs from 11 sources.

[](https://github.com/thevibeworks/claude-code-docs/actions/workflows/fetch-claude-docs.yml)
[](https://github.com/thevibeworks/claude-code-docs/actions/workflows/claude-review.yml)
[](LICENSE)
[](#content)

Clone this repo and point Claude Code at it. Every doc, tutorial, cookbook,
skill, and engineering post Anthropic has published -- searchable, version-
controlled, and offline.

## Install

```bash
git clone https://github.com/thevibeworks/claude-code-docs
cd claude-code-docs
```

Then ask Claude Code anything:

```bash
claude "how does the agent loop work?"
claude "show me the MCP spec for tool annotations"
claude "what did the 'Building Effective Agents' post recommend?"
claude "how do I set up hooks in the Agent SDK?"
```

## Content

| Source | Section | Files | What |
|--------|---------|------:|------|
| code.claude.com | `--section claude-code` | 141 | Claude Code + Agent SDK docs |
| platform.claude.com | `--section api` | 1,541 | API reference, build guides |
| modelcontextprotocol.io | `--section mcp` | 203 | MCP spec, SDKs, governance |
| anthropic.com | `--section engineering` | 25 | "Building Effective Agents", context engineering, tool use |
| anthropic.com | `--section research` | 118 | Research papers |
| anthropic.com | `--section news` | ~76 | Model releases, announcements |
| github.com/anthropics | `--section github` | 718 | Cookbooks, skills, plugins, courses, SDK docs |
| support.claude.com | `--section support` | 343 | Help articles |

```
content/
  en/docs/claude-code/   Claude Code + Agent SDK
  en/api/                API reference (1,500+ endpoints)
  en/build-with-claude/  Platform features
  en/agents-and-tools/   Tool use, agent skills
  en/manage-claude/      Admin, billing, managed agents
  mcp/                   MCP protocol spec + community
  blog/
    engineering/         Building Effective Agents, context engineering, ...
    research/            Research papers
    news/                Model releases
  github/
    cookbooks/           164 recipes + notebooks
    skills/              90 official Agent Skills
    plugins-official/    266 plugin docs
    courses/             80 prompt engineering notebooks
    quickstarts/         Deployable app starters
    code-action/         GitHub Actions for Claude Code
    sdk-python/          Python SDK reference
    sdk-typescript/      TypeScript SDK reference
  support/               343 help articles
```

## Fetching

Auto-updates every 6 hours via GitHub Actions. To fetch manually:

```bash
# Requires: uv (https://docs.astral.sh/uv/)
uv run scripts/fetcher.py                    # Fetch everything (~3 min)
uv run scripts/fetcher.py --section mcp      # MCP spec only
uv run scripts/fetcher.py --section github   # GitHub repos only
uv run scripts/fetcher.py --incremental      # Skip existing files
uv run scripts/fetcher.py --tree             # Show all sources + counts
uv run scripts/fetcher.py --discover         # Probe domains for new sources
```

GitHub repo fetching needs `GITHUB_TOKEN` or `GH_TOKEN` in the environment.
Blog, research, and support articles use [jina.ai](https://jina.ai) for
HTML-to-markdown conversion (rate-limited at ~10 req/s).

See [`sources.json`](sources.json) for the complete machine-readable source
registry.

## Source Discovery

The fetcher doesn't just download from hardcoded URLs. `--discover` probes
every known Anthropic domain for `robots.txt`, `sitemap.xml`, `llms.txt`,
and `llms-full.txt`, then compares against what we already archive.

Known domains: `anthropic.com`, `platform.claude.com`, `code.claude.com`,
`support.claude.com`, `modelcontextprotocol.io`, `claude.ai`, `claude.com`

Run `--discover` periodically to catch new sources before they go stale.

## Automation

Two GitHub Actions workflows power this repo:

**[fetch-claude-docs.yml](.github/workflows/fetch-claude-docs.yml)** --
Scheduled every 6 hours. Runs the fetcher, then hands the diff to
Claude Code (via [claude-code-action](https://github.com/anthropics/claude-code-action))
which decides: ignore noise, commit minor fixes directly, or create a PR
for meaningful changes. Sends push notifications via
[barkme](https://github.com/nickchou/barkme-mcp-server) for PRs.

**[claude-review.yml](.github/workflows/claude-review.yml)** --
Triggered on PRs and `@claude` mentions. Reviews changes, merges routine
updates, creates tracking issues for version bumps, and alerts humans only
for breaking changes.

## Contributing

PRs welcome. The fetcher is a single Python file (`scripts/fetcher.py`)
with no framework dependencies beyond `aiohttp` and `aiofiles`.

To add a new source:
1. Add the source definition to `sources.json`
2. Add the fetch logic to `scripts/fetcher.py`
3. Run `uv run scripts/fetcher.py --section ` to test
4. Update `--section` choices in the CLI

## Disclaimer

Unofficial mirror for educational and development purposes. Documentation
content is sourced from Anthropic's public sites. For official docs, visit
[code.claude.com](https://code.claude.com) and
[platform.claude.com](https://platform.claude.com). Repository code from
[anthropics/claude-code](https://github.com/anthropics/claude-code).
Redistribution should comply with Anthropic's
[terms](https://www.anthropic.com/legal/commercial-terms).

## License

[MIT](LICENSE)

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [thevibeworks](https://github.com/thevibeworks)
- **Source:** [thevibeworks/claude-code-docs](https://github.com/thevibeworks/claude-code-docs)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-thevibeworks-claude-code-docs
- Seller: https://agentstack.voostack.com/s/thevibeworks
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
