1. Conduid
  2. Developer Tools
  3. Dacli
MCP server · Developer Tools

Dacli

MCP server: Dacli

Unclaimed MIT devtools
60Good

Scored 5 days ago · breakdown

About Dacli

Dacli is an MCP server published by docToolchain in the Developer Tools category: mCP server: Dacli.

The repository has 22 stars and 3 forks, with the last commit a month ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/docToolchain/dacli

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (9)

get_elementsGet code blocks, tables, images, and other elements

Parameters not published.

get_metadataGet project or section metadata (word count, timestamps)

Parameters not published.

get_sectionRead content of a specific section by path

Parameters not published.

get_sections_at_levelGet all sections at a specific nesting level

Parameters not published.

get_structureGet hierarchical document structure with configurable depth

Parameters not published.

insert_contentInsert new content before/after sections

Parameters not published.

searchFull-text search across documentation

Parameters not published.

update_sectionUpdate section content with optimistic locking

Parameters not published.

validate_structureValidate documentation structure

Parameters not published.

Ask AI

✦

Ask AI about Dacli

Powered by Claude · Grounded in docs

I know everything about Dacli. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 5 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

dacli - Documentation Access CLI

CI Coverage Tests

Navigate and query large documentation projects. Supports AsciiDoc and Markdown with hierarchical, content-aware access. Available as CLI tool and MCP server for LLM integration.

Part of the docToolchain ecosystem.

What Others Say

"dacli is the missing tool between LLMs and Docs-as-Code."

No more guessing line numbers, no more "which README do you mean?" questions. Recommendation: Ready for production use.

— Claude (Opus 4.5)

"dacli is the best tool for LLM integration I have tested."

It is stable, fast and extremely versatile. Perfect for documentation management and LLM context creation!

— Mistral Vibe, LLM for Code Analysis

"As a Coding-LLM, dacli is an increasingly robust tool."

Its improved validate command now detects more syntax errors, enhancing documentation quality. Structured access, JSON output, and programmatic editing via insert/update are highly valuable for understanding and modifying codebases. A powerful asset for automated documentation and code generation.

— Gemini

"After intensive testing: dacli is robust, fast and perfect for LLM integration."

A must-have for modern documentation workflows.

— Kiro, AWS AI Assistant

"dacli is exactly what AI assistants need to work with documentation autonomously."

The combination of structural exploration, relevance-ranked search, and fast validation transformed how I interact with multi-format documentation. After testing 134 sections across Markdown and AsciiDoc, I can confidently say this is production-ready and indispensable for any LLM-documentation workflow.

— GitHub Copilot CLI (Tested Jan 2026)

Features

  • Hierarchical Navigation - Browse documentation structure with configurable depth
  • Content Access - Read sections, extract code blocks, tables, and other elements
  • Full-Text Search - Search across all indexed documentation content
  • Document Manipulation - Update sections and insert new content with optimistic locking
  • Structure Validation - Detect orphaned files and structural issues
  • Multi-Format Support - Works with both AsciiDoc and Markdown files

Quick Start

Prerequisites

  • Python 3.12 or newer
  • uv package manager

Install uv (choose one option):

# Option 1: official installer (macOS/Linux)
curl -LsSf https://astral.sh/uv/install.sh | sh

# Option 2: via pip
python -m pip install uv

For Windows, use the pip option above or follow the platform-specific installer in the uv installation guide.

Installation

# Clone the repository
git clone https://github.com/docToolchain/dacli.git
cd dacli

# Install dependencies
uv sync

CLI Usage

# Show help
uv run dacli --help

# Get document structure
uv run dacli --docs-root /path/to/docs structure --max-depth 2

# Read a section
uv run dacli section introduction.goals

# Search documentation
uv run dacli search "authentication" --max-results 10

# Validate structure
uv run dacli validate

# Include gitignored files
uv run dacli --docs-root /path/to/docs --no-gitignore structure

# Include hidden directories
uv run dacli --docs-root /path/to/docs --include-hidden structure

All commands output text by default for human readability. Use --format json or --format yaml for machine-parseable output, and --pretty for formatted JSON output.

For full CLI documentation, see 06_cli_specification.adoc.

MCP Server (for LLM integration)

uv run dacli-mcp --docs-root /path/to/your/docs

# Include gitignored files
uv run dacli-mcp --docs-root /path/to/your/docs --no-gitignore

# Include hidden directories
uv run dacli-mcp --docs-root /path/to/your/docs --include-hidden

Claude Desktop Configuration

Add to your Claude Desktop config (~/.config/claude-desktop/config.json on Linux, ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "dacli": {
      "command": "uv",
      "args": [
        "run",
        "--directory", "/path/to/dacli",
        "dacli-mcp",
        "--docs-root", "/path/to/your/documentation"
      ]
    }
  }
}

Available Tools

Tool Description
get_structure Get hierarchical document structure with configurable depth
get_section Read content of a specific section by path
get_sections_at_level Get all sections at a specific nesting level
search Full-text search across documentation
get_elements Get code blocks, tables, images, and other elements
get_metadata Get project or section metadata (word count, timestamps)
validate_structure Validate documentation structure
update_section Update section content with optimistic locking
insert_content Insert new content before/after sections

For detailed tool documentation, see the User Manual.

Development

Branching Strategy

  • main - Stable, production-ready (default branch for installation)
  • develop - Active development
# Start development
git checkout develop
git pull
git checkout -b feature/my-feature

# After implementation, create PR to develop
# For releases: merge develop to main

Commands

# Install with dev dependencies
uv sync --all-extras

# Run tests
uv run pytest

# Run linter
uv run ruff check src tests

# Format code
uv run ruff format src tests

Architecture

The tool uses an in-memory index built from parsed documentation files at startup. Key components:

  • Document Parsers - Parse AsciiDoc (with include resolution) and Markdown
  • Structure Index - In-memory hierarchical index for fast lookups
  • MCP Tools - FastMCP-based tools for LLM interaction
  • File Handler - Atomic file operations with backup strategy

For detailed architecture documentation, see src/docs/arc42/.

License

MIT

Stars

Star History

Star History Chart

README fetched from the repository 5 days ago. The original is authoritative.

Questions

About Dacli

How do I install Dacli?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Dacli safe to use with an AI agent?

Its trust score is 60 out of 100 (good). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Dacli still maintained?

Yes — the last commit was a month ago. The repository has 22 stars and 3 forks and 19 open issues.