DEV Community

Cover image for docs-kb cli
Md Abid Hussain
Md Abid Hussain

Posted on

docs-kb cli

CLI tool to create knowledge base on open source docs using MindsDB Knowledge Base and Ollama. Comes with 🧠 MCP support so that your agent can access it as well.


Overview of MindsDB

MindsDB is an AI federated query engine that enables humans, AI agents, and applications to get highly accurate answers across sprawled and large-scale data sources. It follows the "Connect, Unify, Respond" philosophy:

  • Connecting to hundreds of data sources
  • Unifying them through SQL interfaces
  • Responding to queries using AI models as virtual tables

Knowledge Bases in MindsDB

Knowledge Bases are one of MindsDB's core unification interfaces that index and organize unstructured data for efficient retrieval.

They:

  • Transform documents, web content, and text into searchable repositories
  • Enable natural language querying via SQL
  • Work with other MindsDB components (Views, ML Models, Jobs) for full unification

MindsDB turns scattered data into an intelligent retrieval system β€” structured or unstructured.


βš™οΈ Features

  • πŸ“„ Markdown documentation discovery
  • ⚑ Efficient repo syncs via file SHA comparisons
  • πŸ“¦ Track multiple repositories with rich metadata
  • 🧩 Model Context Protocol (MCP) server for IDE integrations (VS Code / Cursor)
  • πŸ”Œ Optional GitHub Data Handler in MindsDB for enhanced repo access

In action

Enhance Repository Analysis with MindsDB MCP and Docs-KB MCP


Built With


πŸ”— GitHub Repo

πŸ‘‰ docs-kb CLI Demo


πŸŽ₯ Demo


Top comments (0)