Docy

Docy

A MCP server delivering live documentation access by scraping documentation sites.

18
Stars
4
Forks
7
Releases

Overview

Docy is a Model Context Protocol server that provides documentation access capabilities. This server enables LLMs to search and retrieve content from documentation websites by scraping them with crawl4ai. Built with FastMCP v2, Docy exposes tools and prompts to discover documentation sources, fetch full pages as markdown, and extract links for navigation. It supports integration with Claude, Code, and other MCP-enabled tools, allowing AI models to access up-to-date documentation directly during tasks. Sources can be configured via DOCY_DOCUMENTATION_URLS or a .docy.urls file for hot reloading, with a disk-based cache to speed responses and reduce external requests. The server pre-fetches configured sites at startup and caches content with a configurable TTL, while the .docy.urls approach re-reads sources on each request to support dynamic changes. Docy can be run via uv, pip, or Docker, and supports SSE or stdio transports. The server is self-hosted and configurable, enabling teams to maintain secure, perimeters-contained documentation access.

Details

Owner
oborchers
Language
Python
License
MIT License
Updated
2025-12-07

Features

Docy MCP Server for documentation access

A FastMCP v2-based MCP server enabling LLMs to search and retrieve content from documentation websites by scraping with crawl4ai.

Hot-reloadable documentation sources

Configure sources via the .docy.urls file and edit on-the-fly; changes are reflected without restarting.

Intelligent caching with diskcache and TTL

Caches documentation content with a configurable TTL to reduce latency and external requests; supports persistent disk-based caching.

Hybrid caching rules for dynamic sources

When using .docy.urls, the list of sources is not cached, enabling hot-reload behavior while page content remains cached.

Documentation tooling: discover and fetch content

Tools include list_documentation_sources_tool, fetch_documentation_page, and fetch_document_links to explore and retrieve docs.

MCP integration with Claude Code and IDEs

Designed to work seamlessly with Claude Code, VS Code, and other MCP-enabled tools for documentation-based guidance.

Flexible deployment and transport

Run via uv, pip, or Docker, with transport options including SSE and stdio.

Local development and debugging support

Provides a local API (http://127.0.0.1:6274) and MCP inspector for debugging and testing.

Audience

AI developersIntegrate Docy into MCP workflows to give LLMs direct, real-time access to documentation across configured sources.
MCP-enabled tool developersConfigure and host Docy to supply documentation content to Claude Code, VS Code, and other MCP clients.
Teams and organizationsShare documentation sources via a central .docy.urls file with hot-reload and centralized caching for consistent docs.

Tags

documentationMCP serverDocycrawl4aiFastMCPdocumentation_sourceshot-reloaddiskcachecachingClaudeVS Codefetch_documentationSSEstdio.docy.urls