Retrieves package information and documentation from PyPI for Python project dependencies, enabling automatic documentation lookup based on resolved package versions.
Provides contextual, version-specific documentation for Python project dependencies by parsing pyproject.toml files and extracting dependency information.
AutoDocs MCP Server
AutoDocs MCP Server automatically provides AI assistants with contextual, version-specific documentation for Python project dependencies, eliminating manual package lookup and providing more accurate coding assistance.
Features
- Automatic Dependency Scanning: Parse pyproject.toml files and extract dependency information
- Version-Specific Caching: Cache documentation based on resolved package versions
- Graceful Degradation: Handle malformed dependencies and network issues gracefully
- Rich Context: Provide AI assistants with both primary package and dependency documentation
- FastMCP Integration: Built with FastMCP for seamless integration with AI tools like Cursor
Installation
Usage
As an MCP Server
Configure in your Cursor Desktop settings:
Development
MCP Tools
scan_dependencies
Scans project dependencies from pyproject.toml files.
Parameters:
project_path
(optional): Path to project directory (defaults to current directory)
Returns:
- Project metadata and dependency specifications
- Graceful degradation information for malformed dependencies
get_package_docs
(Coming Soon)
Retrieves formatted documentation for Python packages.
Configuration
Environment variables:
AUTODOCS_CACHE_DIR
: Cache directory location (default: ~/.autodocs/cache)AUTODOCS_MAX_CONCURRENT
: Maximum concurrent PyPI requests (default: 10)AUTODOCS_REQUEST_TIMEOUT
: Request timeout in seconds (default: 30)AUTODOCS_LOG_LEVEL
: Logging level (default: INFO)
Architecture
- FastMCP Server: Handles MCP protocol communication
- Dependency Parser: Parses pyproject.toml with graceful error handling
- Documentation Fetcher: Retrieves package info from PyPI (coming soon)
- Cache Manager: Version-based caching system (coming soon)
Development Status
This is currently in Priority 1: Core Validation phase:
- ✅ Basic project setup with hatch/uv
- ✅ Minimal viable dependency parser
- ✅ Basic FastMCP integration
- ✅
scan_dependencies
MCP tool - 🚧 Testing with real projects
Coming next: Documentation fetching, version-based caching, and rich dependency context.
License
MIT
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Automatically provides AI assistants with contextual, version-specific documentation for Python project dependencies by scanning pyproject.toml files. Eliminates manual package lookup and enables more accurate coding assistance through seamless integration with AI tools.
Related MCP Servers
- AsecurityAlicenseAqualityFacilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.Last updated -1160575TypeScriptMIT License
Daipendencyofficial
AsecurityAlicenseAqualityGet the narrative and API documentation for the exact version of any of your dependencies. (Only Rust is supported at the moment.)Last updated -1358TypeScriptMIT License- AsecurityAlicenseAqualityFetches and extracts comprehensive package documentation from multiple programming language ecosystems (JavaScript, Python, Java, etc.) for LLMs like Claude without requiring API keys.Last updated -466514JavaScriptMIT License
- -securityFlicense-qualityEnables AI assistants to search for documentation of packages and services, providing implementation details, examples, and specifications through a specialized API.Last updated -11JavaScript