claude-code-docs
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DOCS_URL | No | Source documentation URL. Default: https://code.claude.com/docs/llms-full.txt | https://code.claude.com/docs/llms-full.txt |
| CACHE_PATH | No | Override the content cache file path. Must include a filename. | |
| CACHE_TTL_MS | No | Content cache freshness window in milliseconds. Default: 86400000 | 86400000 |
| XDG_CACHE_HOME | No | Base cache directory for defaults. When set, affects default content and index cache paths. | |
| DOCS_TRUST_MODE | No | Trust mode: official or unsafe. Default: official | official |
| FETCH_TIMEOUT_MS | No | HTTP fetch timeout in milliseconds. Default: 30000 | 30000 |
| MIN_SECTION_COUNT | No | Override for the canary's index floor. Default: unset (uses trust-mode default) | |
| RETRY_INTERVAL_MS | No | Retry backoff for failed index loads. Default: 60000 | 60000 |
| MAX_RESPONSE_BYTES | No | Max HTTP response size in bytes. Default: 10485760 | 10485760 |
| MAX_INDEX_CACHE_BYTES | No | Max serialized index size in bytes. Default: 52428800 | 52428800 |
| DOCS_CACHE_MAX_STALE_MS | No | Maximum allowed age for stale cache fallback. Default: 0 | 0 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_docsA | Search Claude Code documentation (extensions, setup, security, providers, IDE integration, CI/CD, and more). Use specific queries. |
| reload_docsA | Force reload of Claude Code documentation. Use after editing docs to refresh search index. |
| get_statusA | Get current status of the claude-code-docs server: trust mode, documentation source, index age, and any active warnings. |
| dump_index_metadataA | Dump full BM25 index metadata: categories, chunk IDs, headings, code literals, config keys, and distinctive terms. No parameters. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: reloading docs, searching, getting server status, and dumping index metadata. No overlap or ambiguity.
All tool names follow a consistent verb_noun pattern using snake_case (e.g., reload_docs, search_docs, get_status, dump_index_metadata), making them predictable.
Four tools is well-scoped for a documentation management server, covering all necessary operations without being excessive or insufficient.
The tool set covers the core lifecycle: reloading, searching, status, and metadata inspection. A minor gap could be a tool to add or update documentation sources, but current set is largely complete.