AI Personal Learning
and practical guidance
Beanbag Marscode1

DevDocs: an MCP service for quickly crawling and organizing technical documentation

General Introduction

DevDocs is a completely free and open source tool developed by the CyberAGI team and hosted on GitHub. Designed for programmers and software developers, it starts at the URL of a technical document, automatically crawls the relevant page, and organizes it into a concise Markdown or JSON file. It has built-in MCP servers that support the use of the Claude and other big model integrations that allow users to query document content in natural language.DevDocs' goal is to reduce weeks of document research time to hours and help developers get up to speed quickly with new technologies. It's suitable for individual developers, teams, and enterprise users, and there's currently no fee, so anyone can download and use it.

DevDocs: an MCP service for quickly crawling and organizing technical documentation-1


 

Function List

  • Intelligent document crawling: Input a URL and automatically crawl the relevant pages, supporting 1-5 levels of depth.
  • Organize into multiple formats: Convert captured content into Markdown or JSON files for easy reading and further processing.
  • MCP Server Integration: Built-in MCP server that works with big models like Claude to query documents intelligently.
  • Automatic link discovery: Identify and categorize sub-links on a page to ensure complete content.
  • Parallel processing acceleration: Crawl multiple pages in multiple threads to increase efficiency.
  • selective crawling: Users can specify what to extract to avoid irrelevant information.
  • Error recovery mechanism: Automatically retry when crawling fails to ensure stability.
  • Complete logging: Record every step of the operation for easy troubleshooting.

 

Using Help

Installation process

DevDocs runs with Docker and is easy to install. Here are the detailed steps:

  1. Preparing the environment
    • Git and Docker need to be installed:
      • Git: Download and install it from git-scm.com.
      • Docker: Download Docker Desktop from docker.com and install it.
    • To check if Docker is running correctly, in the terminal type docker --versionIf you see the version number, you have succeeded.
  2. Cloning Code
    • Open a terminal (CMD or PowerShell for Windows, Terminal for Mac/Linux).
    • Enter the command to download DevDocs:
      git clone https://github.com/cyberagiinc/DevDocs.git
      
    • Go to the project catalog:
      cd DevDocs
      
  3. Starting services
    • Run the startup script according to the operating system:
      • Mac/Linux:
        ./docker-start.sh
        
      • Windows:
        docker-start.bat
        
    • Windows users can manually set folder permissions if they are experiencing permission problems:
      icacls logs /grant Everyone:F /T
      icacls storage /grant Everyone:F /T
      icacls crawl_results /grant Everyone:F /T
      
    • After starting, wait a few seconds and the terminal shows that the service ran successfully.
  4. access tool
    • Open your browser and type http://localhost:3001to access the DevDocs front-end interface.
    • Other service addresses:
      • Backend API:http://localhost:24125
      • Crawl4AI 服务:http://localhost:11235

Main Functions

1. Crawl technical documentation

  • move::
    1. Paste the target URL in the interface input box, such as https://docs.example.comThe
    2. Select the crawl depth (1-5 levels, default 5).
    3. Click "Start Crawling".
    4. Wait for it to finish, the interface will show the list of crawled pages.
  • take note of::
    • Crawling is fast, processing up to 1000 pages per minute.
    • The results are saved in the <项目目录>/crawl_results Folder.
  • Advanced Options::
    • Optional crawling is available to check off what is needed.

2. Organize the content of the document

  • manipulate::
    • After crawling, the content is automatically organized into Markdown or JSON files.
    • exist <项目目录>/crawl_results view, which is in Markdown format by default.
  • Toggle format::
    • Select "Export to JSON" in the interface settings for large model fine-tuning.

3. Use of MCP servers and large models

  • intend::
    • Download and install the Claude Desktop App (anthropic.com).
    • DevDocs' MCP server runs locally by default and requires no additional configuration.
  • move::
    1. Open the Claude App.
    2. Enter a question, such as "What does this document say".
    3. Claude will read the data from the MCP server and answer.
  • Extended Usage::
    • Place the local document into the <项目目录>/storageClaude can be accessed directly.
    • Support for complex questions such as "How is this technology implemented?".

4. Logging and monitoring

  • View Log::
    • The log file is in the <项目目录>/logs, included:
      • frontend.log: Front-end logs.
      • backend.log: Back-end logs.
      • mcp.log: MCP server logs.
    • View live logs with Docker:
      docker logs -f devdocs-backend
      
  • Discontinuation of services::
    • At the terminal press Ctrl+C, shut down all services.

5. Practical scripts

  • The project offers a variety of scripts located in the <项目目录>/scripts::
    • check_mcp_health.sh: Check the MCP server status.
    • debug_crawl4ai.sh: Debugging the crawling service.
    • view_result.sh: View crawl results.
  • running mode::
    • Go to the script directory in the terminal and type ./脚本名 Implementation.

Summary of the operation process

  1. Install Docker and Git and download the code.
  2. Run the startup script to access the interface.
  3. Enter the URL, crawl and organize the document.
  4. Query content with Claude for efficiency.

 

application scenario

  1. Rapid learning of new technologies
    Enter a technical documentation URL and DevDocs crawls and organizes all the pages. You can read them directly, or use Claude to ask questions about specific uses, and get up to speed with the new technology in a few days.
  2. Teamwork
    Crawl internal company documents and generate Markdown files. Team members query through the MCP server to quickly share knowledge.
  3. Development of large model applications
    Use DevDocs to collect technical information and output JSON files. Accelerate AI application development by combining MCP servers and big models.
  4. Individual project development
    Independent developers crawl documentation with DevDocs, work with VSCode and Claude, and prototype products in days.

 

QA

  1. Is there a fee for DevDocs?
    No charge. It is an open source tool, free to use, and future API features are planned.
  2. Programming experience required?
    Not required. Installation is done with a few lines of commands, and after that it's just a matter of working through the interface.
  3. What if the crawl fails?
    Check the network, or view the <项目目录>/logs Log. The common problem is insufficient permissions, just follow the installation steps to adjust them.
  4. Support for private sites?
    Support, as long as the website is accessible. Internal websites need to ensure network connectivity.
  5. What's the difference between that and FireCrawl?
    DevDocs is free, crawls fast (1000 pages/minute), supports 5 levels of depth and MCP servers, while FireCrawl is paid and has limited features.
May not be reproduced without permission:Chief AI Sharing Circle " DevDocs: an MCP service for quickly crawling and organizing technical documentation
en_USEnglish