Skip to main content
Glama

AutoDocs MCP Server

AutoDocs MCP Server

Intelligent documentation context provider for AI assistants

AutoDocs MCP Server automatically provides AI assistants with contextual, version-specific documentation for Python project dependencies. It uses intelligent dependency resolution to include both the requested package and its most relevant dependencies, giving AI assistants comprehensive context for accurate code assistance.

Key Features

  • Smart dependency context - Automatically includes 3-8 most relevant dependencies
  • AI-optimized documentation - Token-aware formatting with performance metrics
  • Production-ready - 8 MCP tools with health monitoring and caching
  • Framework-aware - Special handling for FastAPI, Django, Flask ecosystems
  • High performance - Concurrent fetching with circuit breakers and connection pooling

Quick Start

Installation

# Using uv (recommended) uv tool install autodoc-mcp # Using pip pip install autodoc-mcp

Basic Usage

# Start the MCP server autodoc-mcp # Test with your AI assistant # Ask: "What packages are available in this project?" # Ask: "Tell me about FastAPI with its dependencies"

MCP Client Configuration

Add to your MCP client configuration:

{ "mcpServers": { "autodoc-mcp": { "command": "autodoc-mcp", "env": { "CACHE_DIR": "~/.cache/autodoc-mcp" } } } }

Documentation

📚 Complete Documentation: https://bradleyfay.github.io/autodoc-mcp/

Our documentation is organized into three focused paths:

MCP Tools Overview

AutoDocs provides 8 production-ready MCP tools:

Core Tools

  • get_package_docs_with_context - Primary tool for comprehensive documentation with dependencies
  • scan_dependencies - Parse project dependencies from pyproject.toml
  • get_package_docs - Legacy single-package documentation tool

Cache Management

  • refresh_cache - Clear documentation cache
  • get_cache_stats - View cache statistics

System Health

  • health_check - Comprehensive system health status
  • ready_check - Kubernetes-style readiness check
  • get_metrics - Performance metrics and monitoring data

Development & Contributing

This project welcomes contributions! Please see our Contributing Guide for detailed information.

Quick Development Setup

git clone https://github.com/bradleyfay/autodoc-mcp.git cd autodoc-mcp uv sync --all-extras uv run pytest # Run 400+ tests

Development Standards

  • Conventional Commits - All commits must follow conventional commit format
  • Pre-commit Hooks - Automated linting, formatting, and type checking
  • Comprehensive Testing - pytest ecosystem with 400+ tests
  • GitFlow Workflow - Feature branches, release branches, and semantic versioning

Project Information

  • Version: 0.5.1 (Production Ready)
  • Python: 3.11+ required
  • License: MIT
  • Architecture: Layered design with 10 specialized core service modules
  • Dependencies: Minimal production footprint with FastMCP, httpx, Pydantic

Transparency & Learning

This project demonstrates transparent AI-assisted development. Explore these directories to see the complete development process:

  • .claude/agents/ - Claude Code agent configurations
  • .specstory/history/ - Complete session history
  • planning/ - Planning documents and technical decisions

License

MIT License - see LICENSE for details.


Built with FastMCP | Documentation Site | GitHub

Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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.

  1. Key Features
    1. Quick Start
      1. Installation
      2. Basic Usage
      3. MCP Client Configuration
    2. Documentation
      1. Quick Links
    3. MCP Tools Overview
      1. Core Tools
      2. Cache Management
      3. System Health
    4. Development & Contributing
      1. Quick Development Setup
      2. Development Standards
    5. Project Information
      1. Transparency & Learning
        1. License

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            Facilitates 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 -
            11
            628
            76
            MIT License
          • A
            security
            A
            license
            A
            quality
            Get the narrative and API documentation for the exact version of any of your dependencies. (Only Rust is supported at the moment.)
            Last updated -
            1
            4
            58
            MIT License
          • A
            security
            A
            license
            A
            quality
            Fetches and extracts comprehensive package documentation from multiple programming language ecosystems (JavaScript, Python, Java, etc.) for LLMs like Claude without requiring API keys.
            Last updated -
            4
            521
            14
            MIT License
            • Apple
            • Linux
          • -
            security
            F
            license
            -
            quality
            Enables AI assistants to search for documentation of packages and services, providing implementation details, examples, and specifications through a specialized API.
            Last updated -
            238
            2

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/bradleyfay/autodoc-mcp'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server