Skip to main content
Glama

ragmark

Local-first retrieval over markdown / [[wikilink]] vaults — hybrid (vector + lexical) chunk search, note-level similarity, wikilink-aware context expansion, and a first-party MCP surface. Embeddings run locally (fastembed); the package makes no network egress at query time. Sibling of graphmark, which it consumes for deterministic graph reads.

Status: seeded, pre-release. The public interfaces, security gate, correctness harness, and release machinery are in place; the engine behavior lands slice by slice against them.

Surfaces (one core, two faces)

MCP tool

CLI

vault_search(query, k)

ragmark search "query" -k 8

hybrid chunk hits with chunk_id citation handles

vault_read(path)

ragmark read path.md

bare note text

vault_neighbors(path, depth, token_budget)

ragmark neighbors path

wikilink BFS; structure always complete, budget limits content only

recent_activity(days, limit)

ragmark recent

git-log-backed "what moved lately"

ragmark index [--force]

index maintenance is CLI-only, deliberately

Every surface routes through the same fail-closed machine-context gate; an unmarked vault reveals shared notes only.

Related MCP server: memory-mcp

MCP registration

claude mcp add --transport stdio vault -- ragmark mcp --vault ~/path/to/vault

The registration name vault keeps existing mcp__vault__* tool names stable. The vault root always comes from --vault or $RAGMARK_VAULT — never inferred.

Correctness story

No parity oracle — the package improves on its predecessor in the same motion as absorbing it. Instead: a hand-curated, executor-untouchable golden-query set asserted as recall@k with the embedding model pinned, plus permanent safety invariants — no silent embedding truncation (the predecessor silently dropped 27.8% of corpus characters), chunk↔vector conservation, and context-gating tests that CI re-runs with the filter defanged and requires to FAIL (scripts/teeth_check.py). Quality is measured, leaks are impossible to test around, and a green gate means something.

Decision provenance: the-vault#136 (blueprint map) and the-vault#145 (build epic).

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
1hResponse time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.

  • Token-efficient MCP memory for Markdown vaults. Tiered search, GraphRAG, AI memories.

  • Local-first RAG engine with MCP server for AI agent integration.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cdcoonce/ragmark'

If you have feedback or need assistance with the MCP directory API, please join our Discord server