Provides tools to analyze repository history and staged changes to generate conventional commit messages, pull request descriptions, and changelogs, as well as mapping codebase expertise and suggesting reviewers.
Enables the import of existing project documentation and Architectural Decision Records (ADRs) from Markdown files to bootstrap the persistent memory store.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Doclea MCPSearch our architectural decisions for why we chose PostgreSQL"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@doclea/mcp
Local MCP server for Doclea - persistent memory for AI coding assistants.
Installation
Prerequisites
Step 1: Clone and Build
Step 2: Start Services
Step 3: Add to Claude Code
Option A: Claude Code CLI (~/.claude.json or project .claude.json):
Option B: Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
Option C: For development (uses source directly):
Step 4: Restart Claude Code
After updating config, restart Claude Code to load the MCP server.
Step 5: Initialize Your Project
In Claude Code, navigate to your project and ask:
This scans your codebase, git history, and documentation to bootstrap memories.
Usage
Once installed, Claude Code automatically has access to these tools:
Store a Decision
Search for Context
Generate Commit Message
Generate PR Description
Find Code Experts
Generate Changelog
Configuration
Create .doclea/config.json in your project root (optional - uses defaults):
Embedding Providers
Provider | Config |
local (default) |
|
openai |
|
nomic |
|
voyage |
|
ollama |
|
MCP Tools Reference
Memory Tools
Tool | Description |
| Store a memory (decision, solution, pattern, architecture, note) |
| Semantic search across memories |
| Get memory by ID |
| Update existing memory |
| Delete memory |
Git Tools
Tool | Description |
| Generate conventional commit from staged changes |
| Generate PR description with context |
| Generate changelog between refs (markdown/json, developers/users) |
Expertise Tools
Tool | Description |
| Map codebase expertise, identify bus factor risks |
| Suggest PR reviewers based on file ownership |
Bootstrap Tools
Tool | Description |
| Initialize project, scan git history, docs, and code |
| Import from markdown files or ADRs |
Memory Types
decision - Architectural decisions, technology choices
solution - Bug fixes, problem resolutions
pattern - Code patterns, conventions
architecture - System design notes
note - General documentation
Troubleshooting
Docker services not starting
First startup is slow
The embeddings service downloads the model (~130MB) on first run. After that, it's cached.
Port conflicts
Default ports: Qdrant (6333), Embeddings (8080). Edit docker-compose.test.yml to change.
MCP server not appearing in Claude
Verify the path in config is absolute
Check that
bun run buildcompleted successfullyRestart Claude Code completely
Development
Architecture
License
MIT