Vectorless RAG over markdown: BM25, temporal knowledge graph and link walking, with provenance.
MCPpedia last refreshed this data
io.github.jmiaie/locus is an MCP server that vectorless RAG over markdown: BM25, temporal knowledge graph and link walking, with provenance. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 59/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"io-github-jmiaie-locus": {
"args": [
"locus-rag"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Vectorless RAG over markdown: BM25, temporal knowledge graph and link walking, with provenance.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked locus-rag against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in writing
Publish HTML, Markdown, PDF, or images as instant shareable links with expiry and passwords.
Any file → clean Markdown for AI agents: PDF, Office, EPUB, HTML, images, audio/video. Local MCP.
Scrape, crawl, and map websites to Markdown or JSON via local CLI.
Create, edit and publish micropage.sh landing pages and blog posts from markup.
MCP Security Weekly
Get CVE alerts and security updates for io.github.jmiaie/locus and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Retrieval your agent can explain: BM25 and a temporal knowledge graph over your own files, served over MCP. No LLM, GPU, vector database, or runtime dependencies.
Quick start · Benchmarks · When to use Locus vs OMPA · Architecture · MCP tools · CLI
Thirty seconds, Python 3.11+, nothing else to install. The corpus is three notes on purpose: with one note, BM25 IDF collapses and the CLI prints score=0.0000 even though the note is the hit.
pip install locus-rag # macOS / Linux: python3 -m pip install locus-rag · Windows: py -3 -m pip install locus-rag
mkdir notes
printf '# Auth\n\nJWT tokens are validated on every request by the gateway.\n' > notes/auth.md
printf '# Billing\n\nInvoices are sent on the first of the month.\n' > notes/billing.md
printf '# Deploy\n\nProduction deploys require a green CI run.\n' > notes/deploy.md
locus index ./notes
locus retrieve "how are JWT tokens validated?"
Those two commands print:
{
"files": 3,
"chunks": 3,
"triples": 0
}
[1] auth.md score=1.4692 via=bm25
------------------------------------------------------------
Auth
JWT tokens are validated on every request by the gateway.
The check is auth.md and via=bm25. 1.4692 is FTS5's score for this three-note corpus (SQLite 3.45).
Python:
from locus import LocusEngine
engine = LocusEngine(store_path=".locus")
engine.index("./notes")
chunks = engine.retrieve("JWT authentication flow", limit=5)
for chunk in chunks:
print(f"{chunk.doc_path} via={chunk.provenance}")
print(engine.explain(chunks[0].chunk_id, query="JWT")["narrative"])
MCP (Claude Desktop, Claude Code, Cursor, Windsurf):
claude mcp add locus -- locus mcp --store /path/to/.locus
Same server: python3 -m locus.mcp.server --store /path/to/.locus (Windows: py -3 -m locus.mcp.server --store C:\path\to\.locus). Tool calls use the --store you configured; a call can still pass store_path.
All 48 MCP tools and the four prompts: docs/tools.md. CLI: CLI reference. A no-dependency walkthrough in a checkout of this repo: pip install -e . then python examples/mcp_sales_demo.py (--keep leaves the temp store).
Most agent-memory libraries call an LLM to extract facts before anything can be searched. Locus indexes the text itself. Results say why they came back (via=bm25, matched terms, linked entities). The default path is local and deterministic.
Sibling library: OMPA is the vault an agent writes memory into. Use Locus for document retrieval; use OMPA for persistent session memory. When to use which.
On the full LongMemEval-S set (470 questions) Locus reaches R@5 0.977 and MRR@10 0.911 at 2.3 ms per query, with 0 LLM calls. An opt-in dense re-rank plus da