# Docmancer [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/docmancer/docmancer  
**GitHub Stars:** 134  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/docmancer

## Description
Local-only MCP server for source-attributed Markdown memory and documentation retrieval.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/docmancer/docmancer), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
pipx install docmancer
```

2. Run:

```sh
pipx ensurepath
```

3. Run:

```sh
docmancer setup
```

4. Add to your MCP client:

```sh
docmancer mcp install codex
```

## Documentation

## What the Docmancer MCP server does

The Docmancer MCP server turns local coding-agent knowledge into searchable, source-attributed memory. It examines supported agents' instruction files, memory directories, rules, and session history, then indexes the material while retaining the contributing source for each claim. This is useful when Claude Code, Codex, Cursor, Gemini, or other supported agents have learned different project conventions or decisions.

Durable context is represented as ordinary Markdown rather than an opaque database. You can read, edit, search, commit, move, or delete these files. Stable `docmancer://memory/<id>` addresses preserve references when a memory file moves. Proposed changes are shown as a complete diff and require approval before they are written.

## How it works

The local default profile uses SQLite FTS5, `sqlite-vec`, and a vendored embedding model. Recall produces bounded answers containing policy, curated memory, and supporting agent evidence with stable citations. An optional language model can turn that evidence into prose, but it does not determine what enters the answer.

The `ask` command queries the indexed material, while `consolidate` identifies durable decisions and constraints in protected histories. Consolidation proposals link back to exact transcript evidence and remain pending until reviewed and approved. Content hashes are required when modifying or moving an existing memory file, helping prevent one agent from overwriting a newer version.

## Setup and configuration

Install Docmancer with `pipx install docmancer` or `uv tool install docmancer`. The setup command does not modify the project directory in which it is run.

Use `docmancer web` from a project directory to open the local interface. It shows the Shared Memory file tree, provenance for the selected file, and the bounded projection that a selected connected agent will receive. The core product does not require an API key or account.

## Tools and capabilities

- Search local agent knowledge with `docmancer ask`.
- Build and review memory proposals with `docmancer consolidate`, including `--review` and `--approve`.
- Create encrypted local archives with `docmancer backup --local` and preview operations with `--dry-run`.
- Restore archives while skipping identical files, merging safe configuration, and quarantining divergent sessions.
- Exclude authentication stores, `.env` files, literal MCP environment values, caches, logs, telemetry, and machine keys from backup and restore.
- Inspect shared Markdown and agent-specific context projections in the web interface.

The Docmancer MCP server also supports optional Personal Sync for encrypted transport, managed revision history, device pairing, and recovery across machines. That service is separate from the local-only core and requires connecting an account with `docmancer cloud connect`.

## Limitations and notes

Agent backup and restore are described as development-preview commands. Managed Cloud snapshots are gated on migration and recovery acceptance. Personal Sync is an optional paid service after a 30-day trial; local memory and local features continue working regardless of billing state. The material does not list MCP client configuration steps or a separate set of MCP tool names, so integration details may depend on the client and the package's current documentation.

_Full upstream README: https://allmcps.com/mcp/docmancer/readme_

