Mini Docs MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Mini Docs MCP
A Model Context Protocol (MCP) server that transforms your local Markdown files into an intelligent, searchable knowledge base with semantic search and bidirectional linking.
Features
Hybrid Search: Combines semantic (vector) search with metadata filtering
Backlink Graph: Automatic bidirectional link detection and navigation
Active Writing: AI agents can create, update, and link documents
Real-time Sync: Watchdog-based file monitoring for instant updates
Local-First: All data stays on your machine (SQLite + LanceDB)
Related MCP server: repository-runtime
Quick Start
Installation
# Clone the repository
git clone https://github.com/YOUR_USERNAME/mini-docs-mcp.git
cd mini-docs-mcp
# Install with uv (recommended)
uv sync
# Or with pip
pip install -e .Running the Server
# Using uv
uv run python -m mini_docs_mcp.server
# Or directly
python -m mini_docs_mcp.server
# With custom vault path
VAULT_PATH=/path/to/your/vault python -m mini_docs_mcp.serverDocker Deployment
The server supports SSE (Server-Sent Events) transport mode for HTTP access, perfect for Docker deployments:
Create a
.envfile (copy from.env.example):cp .env.example .envConfigure your settings in
.env:# Transport mode: stdio or sse MCP_TRANSPORT=sse # SSE server configuration MCP_HOST=0.0.0.0 MCP_PORT=8000Start the server:
docker-compose up -dChange port (edit
.envand restart):# In .env file MCP_PORT=9000 # Restart container docker-compose down docker-compose up -d
The SSE server will be accessible at http://localhost:8000 (or your configured port).
Claude Desktop Integration
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"mini-docs": {
"command": "python",
"args": ["-m", "mini_docs_mcp.server"],
"env": {
"VAULT_PATH": "/path/to/your/vault"
}
}
}
}MCP Tools
Tool | Description |
| Semantic + metadata hybrid search |
| Read note with backlinks and related docs |
| Create or overwrite a note |
| Update a specific section |
| Create backlinks between notes |
| List notes with filters |
| Find semantically similar documents |
| Get link suggestions |
| Detect broken backlinks |
| Get graph context around a note |
| Check/force vault synchronization |
MCP Resources
URI | Description |
| Knowledge base health report |
| Recently modified notes |
| All tags with counts |
| Documents with no links |
Document Format
Documents use standard Markdown with YAML frontmatter:
---
id: my-document
title: My Document Title
type: concept
tags: [tag1, tag2]
status: draft
---
# My Document Title
Content here with [[backlinks]] to other documents.
## Related Notes
- [[another-document]]Document Types
concept- Explanatory documentstask- Action items and todosref- Reference materiallog- Meeting notes, journalsidea- Brainstorming and drafts
Development
# Install dev dependencies
uv sync --all-extras
# Run tests
uv run pytest
# Run with coverage
uv run pytest --cov=mini_docs_mcp
# Lint
uv run ruff check .
# Format
uv run ruff format .Architecture
┌─────────────────────────────────────────────────────────┐
│ MCP Server (FastMCP) │
├─────────────────────────────────────────────────────────┤
│ Tools: search, read, write, patch, link, sync, ... │
│ Resources: graph/summary, note/recent, tags/all, ... │
├─────────────────────────────────────────────────────────┤
│ Engine Layer │
│ SearchEngine │ ReadEngine │ WriteEngine │ LinkEngine │
├─────────────────────────────────────────────────────────┤
│ Storage Layer │
│ SQLite (metadata, edges) │ LanceDB (vectors) │
├─────────────────────────────────────────────────────────┤
│ File System │
│ Markdown Files │ Watchdog (real-time sync) │
└─────────────────────────────────────────────────────────┘License
MIT License - see LICENSE for details.
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Personal context for every AI: search, read, and write back to your private Markdown library.
Personal wiki and memory layer for AI assistants. Persistent, structured memory across sessions.
Turn your notes, links and conversations into a Living Brain your AI tools share and build on.
Open-source Obsidian for MDX - edit local docs with agent assistance
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables semantic search over local markdown note collections using vector embeddings, with real-time file watching and zero-config setup.4MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to search, read, and traverse a local knowledge base of Markdown files using full-text search and relationship graph, reducing token usage.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to file notes into a self-hosted Obsidian vault and retrieve them later through structured and semantic search over plain Markdown.MIT
- FlicenseAqualityBmaintenanceEnables agents to run hybrid dense and BM25 search over a local folder of Markdown files, read and write notes, and trigger reindexing as the folder changes. It also injects the most relevant sections into each prompt automatically and runs entirely locally with a bundled embedding model.12-