SuperAPIAI Directory

docsmint

github.com · Other AI tools

DocsMint is an open-source knowledge base for individuals and AI agents, supporting rich text editing, hybrid search, GraphRAG, and the MCP protocol. Users can write and organize notes, guides, and project documentation in a single workspace, and find answers by searching for and understanding related concepts. AI agents can access the same set of documents via MCP, REST, SDK, or CLI. Users can choose the hosted DocsMint Cloud service or self-host the Apache-2.0 application using Docker.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux · API

About this tool

DocsMint is an open-source knowledge base designed to turn documentation into knowledge usable by both users and AI agents. It offers rich text editing, hybrid search, GraphRAG, and MCP integration, and supports self-hosting or use of the hosted cloud service.

Purpose

DocsMint is used to write and organize notes, guides, and project documentation in a single workspace, and to find answers by searching for and understanding related concepts. At the same time, it allows AI agents to access the same documents via MCP, REST, SDK, or CLI, enabling agents to search, read, and update knowledge.

Key capabilities

  • Editing and organization: Write documents using a rich visual editor or Markdown, and organize content with folders, categories, and tags.
  • Hybrid search: Search combining keywords, semantic understanding, spelling tolerance, and cross-language graph relationships. After a document is saved, the search index is automatically updated in the background.
  • GraphRAG: In the reference configuration, GraphRAG is part of the normal search path; it can extract entities once embeddings are ready and discover related documents beyond direct keyword or vector similarity.
  • Agent integration: Let tools search, read, and update knowledge via MCP, REST, typed SDKs, and CLI. The self-hosted bridge exposes 24 tools, 2 prompts, and 3 resources, including batch operations and workspace project inspection.
  • Permission control: Category keys can grant explicit read, edit, and write permissions for specific parts of the library.
  • Deployment options: Use hosted DocsMint Cloud, or self-host the application, database, search, queue, and file storage using Docker.

Usage

Connect an AI agent

  • DocsMint Cloud: No server installation required. After signing up or logging in, select a workspace and follow the client connection instructions. Clients that support OAuth use browser consent; API key clients create MCP/API credentials in the authenticated browser interface. The Cloud endpoint is https://docsmint.com/mcp(Streamable HTTP). The free personal workspace includes 200 MCP calls per month, of which up to 10 are document creations or updates.
  • Self-hosting: Run DocsMint using Docker, create an API key in the browser interface, and configure npx --yes --package https://github.com/HiAi-gg/docsmint/releases/download/v2.2.5/hiai-gg-docsmint-2.2.5.tgz docsmint-mcp for HIAI_DOCS_URL and HIAI_DOCS_API_KEY. Bun 1.4.4 or later is required to run the published binaries. The npm package is a stdio bridge that connects to your own API; it does not install the DocsMint application or the Cloud OAuth server.

Docker quick start

Requires Docker Engine or Docker Desktop, Docker Compose v2, and either an OpenRouter API key or a local Ollama instance. On first run, the script creates an ignored root .env, generates database, authentication, and storage secrets, builds the PostgreSQL image, applies migrations, and starts the full application. After startup, open http://localhost:50701 to create the first account. The API health check endpoint is http://localhost:50700/api/health。

Terminal usage

The public package @hiai-gg/docsmint contains the TypeScript SDK, thedocsmint CLI, and the docsmint-mcp bridge. These clients connect to a running DocsMint deployment. Credentials can also be provided via HIAI_DOCS_URL and HIAI_DOCS_API_KEY Provided.

Self-hosted HTTP MCP

The same 24-tool contract is also available on the installed public web source at /mcp . Under the default Compose port it is http://localhost:50701/mcp。在设置 → create a global or category-scoped key in the API, then provide it to the MCP client as an environment variable. Self-hosted HTTP uses Authorization: Bearer <key>, does not implement DocsMint Cloud OAuth, and does not accept browser sessions as API credentials. The HTTP transport is stateless and does not issue Mcp-Session-Id. This HTTP endpoint can be disabled via MCP_HTTP_ENABLED=false .

When to use

  • Individuals or teams building a knowledge base that AI agents can use.
  • Document management that requires rich text editing, hybrid search, and GraphRAG.
  • Wanting agents to securely search, read, and maintain knowledge via MCP without database or filesystem access.
  • Needing self-hosting to control infrastructure, or wanting to get started quickly with a hosted service.

Limitations

  • Self-hosting requires a Docker environment and an OpenRouter API key or a local Ollama instance.
  • The self-hosted stdio bridge requires Bun 1.4.4 or later.
  • Free personal workspaces have a limited number of MCP calls per month (200, including up to 10 document creations or updates).
  • Self-hosted HTTP MCP does not support Cloud OAuth and requires an API key.
  • The embedding provider's URL, model, and credentials are deployment configuration and are not stored in browser settings or local storage.
  • Some advanced features (such as reranking, query expansion, and GraphRAG) depend on external models; on failure they degrade but other search channels are retained.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools