lubaina1904/documentation-assistant
If you are the rightful owner of documentation-assistant and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The Documentation Assistant is a comprehensive MCP server designed to automatically analyze Python codebases and generate professional documentation.
Documentation Assistant
A comprehensive MCP (Model Context Protocol) server that automatically analyzes Python codebases and generates professional documentation.
Features
- Repository Scanning: Automatically discovers and analyzes Python files
- Documentation Generation: Creates README, API docs, and setup guides
- Interactive Help: Explains specific functions and classes
- Dependency Tracking: Identifies all imports and packages
- MCP Integration: Works seamlessly with Claude Desktop
Quick Start
Installation
- Clone the repository:
git clone https://github.com/YOUR_USERNAME/documentation-assistant.git
cd documentation-assistant
- Create virtual environment:
python -m venv venv
# On Windows:
venv\Scripts\activate
# On Mac/Linux:
source venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
Configuration
Add to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"documentation-assistant": {
"command": "python",
"args": ["/absolute/path/to/doc_assistant_mcp.py"]
}
}
}
Available Tools
scan_repository- Analyze Python files in a directorygenerate_readme- Create comprehensive READMEgenerate_api_docs- Generate API documentationgenerate_setup_guide- Create setup instructionsexplain_code- Explain specific functions/classeslist_dependencies- Show all project dependencies
Documentation
- - Complete setup instructions
- - Generated example docs
- - Installation and configuration
- - Usage examples
- - Technical details
Testing
Run the test suite:
python test_client.py
Requirements
- Python 3.8+
- MCP SDK
- Dependencies listed in requirements.txt
License
MIT License
Contributing
Contributions welcome! Please read the contributing guidelines first.
Support
For issues or questions, please open an issue on GitHub.
Author
Lubaina - lubainahumayoun@gmail.com
Acknowledgments
- Built with MCP (Model Context Protocol)
- Uses Python AST for code analysis