Daftari
Self-hosted markdown knowledge vault with provenance and tensions, served over MCP
- Pricing
- Open source
- Platforms
- CLI, self-hosted, API
- Runs
- Locally
- Version
- 3.18.0
- Listing updated
- today
Similar MCP servers
About Daftari
Daftari is an open-source MCP server for knowledge and memory. It runs locally on your machine and is started by your AI client.
Daftari turns a folder of markdown files into a memory store that AI clients can search, read and write through the Model Context Protocol. Beyond plain storage, it tracks where each claim came from, which documents replace older ones, how stale a note is, and when two live claims disagree, so the disagreement stays visible instead of being silently overwritten.
The vault is plain markdown with YAML frontmatter under Git, and a SQLite index is rebuilt from it for search. Writes are committed with attribution, roles and collection permissions gate access, and the README describes a separate HTTP mode for shared self-hosted use. Lint and curation commands report problems but do not auto-fix them, according to the README.
It suits people who run agents against notes they want to keep and audit, including teams adopting an existing Obsidian vault. The README notes it makes no network calls unless a vault opts into an external provider or integration.
Install
Run in a terminal
claude mcp add daftari -- npx -y daftariAdd to claude_desktop_config.json
{
"mcpServers": {
"daftari": {
"command": "npx",
"args": [
"-y",
"daftari"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"daftari": {
"command": "npx",
"args": [
"-y",
"daftari"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"daftari": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"daftari"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"daftari": {
"command": "npx",
"args": [
"-y",
"daftari"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"daftari": {
"command": "npx",
"args": [
"-y",
"daftari"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
What it does
- Provenance on every write
- Each document records its sources, author and confidence, and every mutation is committed to Git.
- Explicit supersession
- Replacements follow declared successor links rather than recency, so older claims keep their lineage.
- Open tension tracking
- Contradictions between live claims are logged as tensions instead of being merged into a guess.
- Role-based access control
- Config-driven roles and collection permissions decide what each user or client can read and change.
- Markdown as source of truth
- Files stay readable in any editor, and the search index can be deleted and rebuilt at any time.
- Local and shared serving
- Runs as a stdio process for one client or as a self-hosted Streamable HTTP server for several.
Good for
- Give a coding or research agent a persistent, auditable memory of project notes
- Search an existing Obsidian or markdown wiki from an MCP client without moving the files
- Track which claims in a competitive or research file are current, stale or contested
- Review agent-written drafts before promoting them to canonical knowledge
Pricing
Open source
Free under the MIT License; self-hosted.
Daftari FAQ
Does Daftari require a hosted account?
No. The README describes it as self-hosted, with no hosted multi-tenant service, and it runs locally by default.
What does it cost?
The README states it is available under the MIT License. It does not describe any paid plan.
Which Node.js version is needed?
The quickstart lists Node.js 20 or newer as the prerequisite.
Does it resolve contradictions automatically?
No. The README says it does not resolve contradictions by generating a compromise and keeps them visible as tensions.
Is Daftari free?
Yes. Daftari is open source, so you can use and self-host it for free.
How do I add Daftari to Claude Code?
Run this command in your terminal: claude mcp add daftari -- npx -y daftari
What are the best alternatives to Daftari?
The closest alternatives to Daftari are gosidian, Notes Vault, mindin, Markdown Vault MCP and Tacitus MCP Server.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.