# DocsMint

DocsMint gives agents a way to search, read, create, and organize project documents. Use it to keep knowledge available beyond the current conversation.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 109
- Author: HiAi-gg
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/HiAi-gg/docsmint/tree/HEAD/packages/mcp-server
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/mcp/docsmint

## What it does

DocsMint connects an agent to a document store over MCP. Its search combines hybrid retrieval, reranking, and GraphRAG, while access can be scoped to a workspace, category, and permitted actions. This helps when an agent needs to retrieve project knowledge across sessions.

For Claude Code, connect the hosted service with `claude mcp add --transport http mcp-server https://docsmint.com/mcp`. A local stdio bridge is also available in `@hiai-gg/docsmint`; it talks to an existing DocsMint API rather than deploying one. That setup needs the API URL and `HIAI_DOCS_API_KEY`. Without a running API, the bridge cannot perform document operations.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://docsmint.com/mcp`
- Environment variables: `HIAI_DOCS_URL`, `HIAI_DOCS_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI**
```bash
claude mcp add --env HIAI_DOCS_URL=<HIAI_DOCS_URL> --env HIAI_DOCS_API_KEY=<HIAI_DOCS_API_KEY> --transport stdio mcp-server -- npx -y @hiai-gg/docsmint
```
Replace <…> with your own values

2. **Platform CLI: remote server**
```bash
claude mcp add --transport http mcp-server https://docsmint.com/mcp
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add mcp-server --url https://docsmint.com/mcp
```

2. **Platform CLI**
```bash
codex mcp add mcp-server --env HIAI_DOCS_URL=<HIAI_DOCS_URL> --env HIAI_DOCS_API_KEY=<HIAI_DOCS_API_KEY> -- npx -y @hiai-gg/docsmint
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp-server": {
            "url": "https://docsmint.com/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "@hiai-gg/docsmint"
            ],
            "env": {
                "HIAI_DOCS_URL": "<HIAI_DOCS_URL>",
                "HIAI_DOCS_API_KEY": "<HIAI_DOCS_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp-server": {
            "type": "http",
            "url": "https://docsmint.com/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp-server": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@hiai-gg/docsmint"
            ],
            "env": {
                "HIAI_DOCS_URL": "<HIAI_DOCS_URL>",
                "HIAI_DOCS_API_KEY": "<HIAI_DOCS_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http mcp-server https://docsmint.com/mcp
```

2. **Platform CLI**
```bash
gemini mcp add -e HIAI_DOCS_URL=<HIAI_DOCS_URL> -e HIAI_DOCS_API_KEY=<HIAI_DOCS_API_KEY> mcp-server npx -y @hiai-gg/docsmint
```
Replace <…> with your own values

## When to use it
- find documents by text or tags
- read saved project notes
- create or update a document
- organize documents into folders and categories

## Example prompts
- Find project documents about the database migration.
- Read the note containing our architecture decisions.
- Save this plan to the project documents.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
