zapomni
Verified Safeby alienxs2
Overview
An intelligent memory processing and knowledge management system that uses LLMs and vector databases to chunk text, generate embeddings, extract entities, and build a knowledge graph for semantic search and retrieval.
Installation
python -m zapomni_mcpEnvironment Variables
- ZAPOMNI_FALKORDB_HOST
- ZAPOMNI_FALKORDB_PORT
- ZAPOMNI_FALKORDB_PASSWORD
- ZAPOMNI_OLLAMA_BASE_URL
- ZAPOMNI_OLLAMA_EMBEDDING_MODEL
- ZAPOMNI_OLLAMA_LLM_MODEL
- ZAPOMNI_REDIS_HOST
- ZAPOMNI_REDIS_PORT
- ZAPOMNI_LOG_LEVEL
- ZAPOMNI_SSE_BIND_HOST
- ZAPOMNI_SSE_CORS_ORIGINS
Security Notes
The project demonstrates good security practices including explicit input validation, parameterized database queries (Cypher), and the use of Pydantic's `SecretStr` for sensitive configurations like database passwords. It also implements a `DNSRebindingProtectionMiddleware` to mitigate DNS rebinding attacks on its SSE server. While `subprocess.run` is used for git commands, it's done without `shell=True` and with direct arguments, reducing command injection risk. External dependencies like Ollama, FalkorDB, and Redis are assumed to be locally hosted or trusted network services.
Similar Servers
mem-agent-mcp
Provides a Model Context Protocol (MCP) server for a memory agent, enabling LLMs to interact with an Obsidian-like memory system for contextual assistance and RAG.
memory-graph
A graph-based MCP server that provides intelligent memory capabilities for Claude Code, enabling persistent knowledge tracking, relationship mapping, and contextual development assistance for AI agents.
mcp-duckdb-memory-server
Serves as a local knowledge graph memory backend for LLMs, storing entities, relations, and observations using DuckDB for efficient querying and data management.
Simple-Memory-Extension-MCP-Server
A persistent key-value memory store for AI agents, designed to extend context windows and enable semantic search over stored memories.