Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
@rog0x/mcp-docs-toolsclaude mcp add docs -- npx -y @rog0x/mcp-docs-tools@1.0.2
{
"mcpServers": {
"docs": {
"command": "npx",
"args": [
"-y",
"@rog0x/mcp-docs-tools@1.0.2"
]
}
}
}
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
mcp-docs-tools
Documentation generation tools for AI agents, served via the Model Context Protocol (MCP).
Overview
mcp-docs-tools provides five specialized documentation tools accessible through MCP:
| Tool | Description |
|---|---|
generate_jsdoc | Generate JSDoc/TSDoc comments from function signatures |
analyze_readme | Analyze README completeness and suggest improvements |
generate_changelog | Generate CHANGELOG entries from commit messages |
generate_api_docs | Generate REST API documentation from endpoint definitions |
analyze_code_comments | Analyze comment coverage, find TODOs, detect undocumented functions |
Installation
npm install
npm run build
Usage
As an MCP Server
Add to your MCP client configuration:
{
"mcpServers": {
"docs-tools": {
"command": "node",
"args": ["path/to/mcp-docs-tools/dist/index.js"]
}
}
}
Tools
generate_jsdoc
Parses a function signature and generates JSDoc/TSDoc with @param, @returns, @throws, and @example tags.
Parameters:
functionSignature(string, required) - The function signature to documentdescription(string, optional) - Description of the functionincludeExample(boolean, optional, default: true) - Whether to include an@exampletag
analyze_readme
Analyzes README content for required sections (Installation, Usage, License, etc.), rates completeness from 0-100, and suggests missing sections.
Parameters:
content(string, required) - Full text content of the README file
generate_changelog
Generates CHANGELOG entries from git-style commit messages following the Keep a Changelog format. Categorizes commits as Added, Changed, Fixed, Removed, Deprecated, or Security.
Parameters:
versions(array, required) - Array of{ version, date, commits }objectsprojectName(string, optional) - Project name for the header
generate_api_docs
Generates REST API documentation in Markdown from endpoint descriptions including method, URL, parameters, request/response examples, and status codes.
Parameters:
apiTitle(string, required) - Title for the API documentationbaseUrl(string, optional) - Base URL for the APIapiDescription(string, optional) - General API descriptionendpoints(array, required) - Array of endpoint definitions
analyze_code_comments
Analyzes source code comment coverage: computes comment-to-code ratio, finds TODO/FIXME/HACK markers, detects functions without documentation, and suggests where docs are needed.
Parameters:
code(string, required) - Source code to analyzelanguage(string, optional, default: "typescript") - Programming language
Configuration
No additional configuration required. The server runs over stdio.
License
MIT
Frequently asked questions
What is io.github.rog0x/docs?
JSDoc, README, changelog generation for AI agents
How do I install io.github.rog0x/docs?
It runs on your machine. In Claude Code: claude mcp add docs -- npx -y @rog0x/mcp-docs-tools@1.0.2. For other clients, paste the JSON configuration from this page into their MCP settings.
Does io.github.rog0x/docs need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Is io.github.rog0x/docs open source?
Its code is public on GitHub, but the repository does not declare a standard license.
Who maintains io.github.rog0x/docs?
It is published by rog0x. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.