Dense Knowledge MCP server
io.github.Lucky44k/dense-knowledge-mcp·v1.2.0·1 starsLocal-first MCP memory server for persistent LLM knowledge with BM25 retrieval.
1 stars33 downloads/wk
Reviews
Write oneNobody has reviewed Dense Knowledge yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Dense Knowledge tools (9, 3 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
mmp_createwrite actionCreate an empty MMP/1.0 package.
mmp_deprecatemmp_listList available MMP packages.
mmp_openReturn metadata, legend, sources, and index only.
mmp_readRead only the requested MMP body blocks.
mmp_searchSearch index metadata; returns candidates without body text.
mmp_updatewrite actionmmp_validatemmp_writewrite action
Public scan report
scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it
- Code scan13 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 57 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Dense Knowledge compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 80% of 4,460 AI and agents servers
- Tools
- 9
- the typical AI and agents server has 6
- Tools that change things
- 33%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 50% of 2,711 AI and agents servers
- Downloads a week
- 33
- more than 22% of 1,538 AI and agents servers with a package
What its tools let an agent do: 6 read · 3 change
Install Dense Knowledge in Claude Code, Cursor or VS Code
claude mcp add dense-knowledge-mcp -- uvx dense-knowledge-mcp
What the publisher says
From the Dense Knowledge repository's README, as published. We do not edit it. Read it on GitHub
Dense Knowledge
<!-- mcp-name: io.github.Lucky44k/dense-knowledge-mcp -->
A local-first MCP memory server for persistent LLM knowledge.
Dense Knowledge lets an AI assistant keep structured research between sessions without a database, embedding model, or hosted account. It stores portable .mmp files, searches their compact indexes with BM25, and loads full entries only when they are relevant.
question -> compact index/search -> selected knowledge blocks -> answer
inexpensive detailed contextIt works with LM Studio, Claude Desktop, Cursor, VS Code, and other clients that support local stdio Model Context Protocol servers.
Why Dense Knowledge?
inspected, diffed, and backed up.
- Selective context: index first, body blocks only on demand.
- Local and portable: plain ASCII-in-UTF-8 files that can be copied,
and synonym expansion.
- No vector infrastructure: deterministic BM25 search with abbreviation
them.
- Append-only history: updates supersede older entries instead of erasing
unsourced inferences are marked as hypotheses.
- Explicit provenance: established and contested claims carry source IDs;
for common prompt-injection contamination.
- Safer retrieval: stored text is wrapped as untrusted data and screened
The bundled context benchmark uses 40 entries. In its synthetic fixture, searching and reading the two best blocks uses 94.3% less estimated context than loading the complete package. The benchmark is reproducible and clearly documents its tokenizer-neutral counting method.
Quick start
Install uv, then place this server definition in your MCP client:
{
"mcpServers": {
"dense-knowledge": {
"command": "uvx",
"args": ["dense-knowledge-mcp"]
}
}
}uvx downloads the published package when needed. Dense Knowledge uses the platform's default data directory unless --root is supplied:
{
"mcpServers": {
"dense-knowledge": {
"command": "uvx",
"args": [
"dense-knowledge-mcp",
"--root",
"/absolute/path/to/memory"
]
}
}
}Configuration differs slightly between clients. Ready-to-copy instructions are available for:
- LM Studio
- Claude Desktop
- Cursor
- Visual Studio Code
To install the command-line tools permanently:
uv tool install dense-knowledge-mcp
mmp setup
mmp doctormmp setup creates the memory directory and can safely merge the server into an LM Studio mcp.json. Existing servers are preserved. Replacing an existing Dense Knowledge entry requires --force and creates a backup first.
See it work
The CLI exposes the same storage operations as the MCP server:
mmp create quantum_physics.mmp "quantum physics"
mmp write quantum_physics.mmp --rev 0 --from examples/research_entries.json
mmp search quantum_physics.mmp "experimental tests of local realism"
mmp read quantum_physics.mmp e1Typical search output contains candidates, not full bodies:
<mmp_data file="quantum_physics.mmp" trust="untrusted">
quantum_physics.mmp|e1|F|2.5427|Bell inequality separates local realism from quantum predictions
</mmp_data>Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Dense Knowledge: common questions
- Is Dense Knowledge MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the Dense Knowledge safety report
- How do I install Dense Knowledge?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Dense Knowledge need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Dense Knowledge maintained?
- The last commit was 97 days ago (2026-07-29). The latest release is v1.2.0.
- What can I use instead of Dense Knowledge?
- Servers from other publishers that do the same job: Basic Memory MCP server, Total Agent Memory MCP server and IWE (iwe.md) MCP server. Compare all Dense Knowledge alternatives.
- How does Dense Knowledge compare with other AI and agents MCP servers?
- safety score 88/100 (higher than 80% of 4,460 AI and agents servers); tools 9 (the typical AI and agents server has 6); tools that change things 33% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Dense Knowledge
Same job from other publishers: the closest match first, then the best rated.
- Basic MemoryLocal-first knowledge management with bi-directional LLM sync via Markdown files.not reviewedWidely usedB
- Total Agent MemoryPersistent local memory for coding agents: temporal knowledge graph, procedural and episodic recallnot reviewedEstablishedA
- IWE (iwe.md)Markdown knowledge base as agent memory. Runs against the notes directory it is started in.not reviewedEstablishedA
- MemantoMCP server for Memanto - persistent semantic memory for any MCP-compatible agentnot reviewedEstablishedA
- Agent RecallCorrection-first agent memory. Precision KPI tracks if agents heed warnings. 5 layers, local-only.not reviewedEstablishedA