arabold/docs-mcp-server
Grounded Docs MCP Server: Open-Source Alternative to Context7, Nia, and Ref.Tools
What it solves
AI coding assistants often rely on outdated or incomplete internal knowledge. This project solves that by providing a local, version-aware documentation index that ensures your AI assistant references the exact library versions used in your specific project, rather than relying on general training data.
How it works
The server scrapes documentation from websites, GitHub repositories, package managers (npm, PyPI), and local files. It stores this information in a local SQLite database. When you connect it to an MCP-compatible AI client, the assistant can query this index using either full-text or vector search. You can configure it to use various embedding models to improve search relevance, and it runs entirely on your machine for privacy.
Who it’s for
This tool is for developers who use AI coding assistants and need them to provide accurate, context-aware answers based on specific versions of libraries, frameworks, or internal documentation.
Highlights
- Supports diverse sources including websites, GitHub, npm, PyPI, and local archives.
- Reads multiple file formats such as HTML, Markdown, PDF, Office documents, and Jupyter notebooks.
- Version-specific indexing ensures the AI uses the documentation matching your project's dependencies.
- Privacy-focused: runs locally and supports local embedding providers like Ollama.
- Compatible with any Model Context Protocol (MCP) client.
- Includes a web UI for management and a CLI for scripting and automation.
Related
- Project
- Project
- Project
- Project
- Project