Mnē-MCP
Mnē-MCP — RAG-MCP-Server für opencode
Mnē-MCP (vom griechischen Mnēmosynē, Titanin der Erinnerung; das Makron in ē, U+0113, markiert den langen Vokal in der Transliteration) ist ein MCP-Server, der eine vollständige RAG-Pipeline (Retrieval-Augmented Generation) für opencode implementiert: Er indexiert ein Obsidian-Vault oder Dokumentordner und beantwortet Fragen des Assistenten unter Verwendung der eigenen Notizen als Quelle, wobei der genaue Pfad jedes verwendeten Fragments zitiert wird.
Stack: #RAG #MCP #mcp-server #opencode #Obsidian #Qdrant #Ollama #DeepSeek #bge-m3 #Python
Funktionalität
Inkrementelle Indexierung — scannt Verzeichnisse (
.md,.txt) von der Festplatte mit Änderungserkennung übermtime+md5, Entfernung veralteter Punkte (Stale Cleanup) und Unterstützung großer Volumes (~19 GB).Lokale Embeddings — Modell
bge-m3über lokales Ollama (/api/embed), 1024 Dimensionen, mehrsprachig (einschließlich Spanisch), L2-normalisiert für korrekte Skalierung mit Kosinus-Ähnlichkeit.Semantische Abfrage — Qdrant (Docker), einzelne Sammlung mit Filtern über Payload (
source,path,mtime,md5,heading_path) und konfigurierbarem Relevanz-Schwellenwert.Fundierte Generierung — Antworten mit
deepseek-v4-flash(Ollama Cloud) nur, wenn die Evidenz den Schwellenwert überschreitet; andernfalls explizite Ablehnung ("no relevant documents found"). Ohne Evidenz keine Generierung.
Related MCP server: mcp-duckvault
Architektur
MCP tools (stdio) ──┐
├── RagService (core) ────▶ Qdrant (vectorial, Docker)
Admin page (:8310) ─┘ │
├── OllamaEmbedder (bge-m3 local)
└── LLMProvider (deepseek-v4-flash, Ollama Cloud)Python 3.14 · Offizielles MCP-SDK (
mcp==1.12.4) ·qdrant-client·httpx7 Werkzeuge:
index·query·search·delete·list·stats·configLokale Verwaltungsseite (
http://127.0.0.1:8310): Dashboard, indexierte Dokumente, asynchrone Indexierung mit Fortschritt und Such-Playground. Teilt denselben Kern wie die MCP-Werkzeuge (null doppelte Logik).Suite von 70 Offline-Tests (Qdrant
:memory:+ Mocks) + End-to-End-Smoke-Test.
Verwendung für Entwickler
docker compose up -d qdrant # Qdrant
ollama pull bge-m3 # embeddings locales
cp .env.example .env # OLLAMA_API_KEY + VAULT_ROOT
make install # instala el paquete (venv)
make admin # panel: http://127.0.0.1:8310Registrierung in opencode.json (Abschnitt mcp, Typ local, Befehl python3 mcp_rag/server.py oder der Entry Point mcp-rag-opencode).
Anfrage | Verhalten |
| Inkrementeller Scan, überspringt unveränderte Dateien, lädt Vektoren in Stapeln hoch |
| Abruf → Reranker/LLM → Antwort mit Zitaten ( |
| Rohe Treffer mit |
| Gesundheit von Qdrant/Ollama, LLM-Status, Zählungen nach Quelle |
Roadmap
Hybride Suche dicht+spärlich (BM25 + RRF) · Cross-Encoder-Reranking · semantischer Cache · Evaluierungs-Harness (recall@k, MRR, nDCG) — geplant in openspec/specs/mnemos-differentiators/.
Akademisch
Integriertes Projekt · Prof. Christian Pérez · Student: Gat · 2026
This server cannot be installed
Maintenance
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
- AlicenseNot gradedqualityCmaintenanceEnables semantic search over an Obsidian vault using natural language, retrieving relevant notes and extracted conclusions.MIT
- AlicenseNot gradedqualityAmaintenanceProvides a RAG system for your Obsidian Vault using DuckDB and vector search, enabling semantic search and note retrieval through AI agents.2MIT
- FlicenseAqualityDmaintenanceEnables indexing local documents (PDF, Markdown, text, code) into a knowledge base and querying them via semantic search using local embeddings, all running privately on your machine.4
- AlicenseNot gradedqualityAmaintenanceEnables semantic search and retrieval over an Obsidian vault using local or API-based embeddings, allowing AI assistants to find notes by meaning, get related content, and pull context during conversations.13MIT
Related MCP Connectors
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Search your Obsidian vault to quickly find notes by title or keyword, summarize related content, a…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Gatoco/mnemos-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server