docs_list — browse documentation pages
docs_list — browse documentation pages
docs_list lists available documentation pages for a package. It covers hosted/crawled docs and repository-backed documentation files.Every entry includes a stable pageId, a sourceKind (crawled or repo), and a source URL. Repository-backed entries also expose repoUrl, gitRef, and filePath for source follow-ups.CLI usagePackage registry.
Package name. Scoped names are supported.
Optional package version.
Maximum pages to return (1-500, default 100).
docs_read — read a documentation page
docs_read — read a documentation page
docs_read reads a single documentation page by its pageId. Pass the pageId returned by docs_list or from a search result.Use start_line and end_line to fetch a slice of a long page. The response carries totalLines so the agent can continue reading the next slice when needed.CLI usageDocumentation page ID from
docs_list or search results.Starting line (1-indexed). Omit for the full page.
Ending line (inclusive). Omit for end of page.
MCP tool reference
| MCP tool | CLI command | Purpose |
|---|---|---|
docs_list | npx githits@latest docs list | Browse documentation pages for a package |
docs_read | npx githits@latest docs read | Read a documentation page by page ID |