Mimir
Mimir - Fully open and customizable memory bank with semantic vector search capabilities for locally indexed files (Code Intelligence) and stored memories that are shared across sessions and chat contexts allowing worker agent to learn from errors in past runs. Includes Drag and Drop multi-agent orchestration
claude mcp add --transport stdio orneryd-mimir docker run -i orneryd/mimir \ --env NEO4J_PASSWORD="Change in production!" \ --env HOST_WORKSPACE_ROOT="Your main workspace directory (e.g., ~/src)"
How to use
Mimir is an MCP server that combines a persistent Neo4j graph database with AI embeddings to store tasks, contexts, and relationships for AI agents. It enables multi-agent orchestration and semantic search, giving your AI assistants a memory of past conversations and actions. Once running, you can interact with the MCP API to create, query, and relate tasks, contexts, and notes within a knowledge graph. The included web UI provides a portal for file indexing, an orchestration studio for visual workflows, and endpoints for chat and embeddings, allowing you to leverage memory-enabled reasoning in your AI workflows.
How to install
Prerequisites:
- Docker Desktop installed and running
- Node.js 18+ (optional if using the docker-based approach)
- Git installed
Installation steps (Docker-based):
- Clone the repository:
git clone https://github.com/orneryd/Mimir.git
cd Mimir
- Start services using Docker:
# Start all services in detached mode
docker compose up -d
- Verify services:
# Check containers
docker ps
# Optional: view logs
docker logs <container_id>
- Access the Mimir UI and MCP API:
- Web UI: http://localhost:9042
- MCP API: http://localhost:9042/mcp
If you prefer the npm-start workflow (local development):
- Install dependencies and start:
# From repo root
npm install
npm run start
- Validate status and logs:
npm run status
npm run logs
- Access UI and APIs as above.
Additional notes
Tips and common considerations:
- Environment variables: HOST_WORKSPACE_ROOT is required for indexing and should point to your codebase directory. Tilde expansion (~) is supported.
- Neo4j password: set NEO4J_PASSWORD in production for security.
- If using the MCP REST API, ensure the base URL is reachable (default http://localhost:9042/mcp).
- For read-only workspace mounts in Docker, adjust your docker-compose volumes accordingly to add :ro.
- The system supports multiple LLM providers via MIMIR_DEFAULT_PROVIDER (e.g., openai, copilot, ollama). Configure embedding and model endpoints using the documented MIMIR_*_ENV variables.
- When indexing large codebases, index incrementally and monitor performance via the Orchestration Studio.
- If you encounter connectivity issues with the Embeddings or LLM endpoints, verify network access and endpoint paths in MIMIR_LLM_API and MIMIR_EMBEDDINGS_API.
Related MCP Servers
netdata
The fastest path to AI-powered full stack observability, even for lean teams.
station
Station is our open-source runtime that lets teams deploy agents on their own infrastructure with full control.
AIDA
AI-Driven Security Assessment - Connect AI to 400+ pentesting tools via MCP
ummon
The semantic layer for software engineering: Connect code to meaning, build on understanding
kafka-schema-reg
A comprehensive Message Control Protocol (MCP) server for Kafka Schema Registry.
knowledge-graph-system
Kappa Graph — κ(G). A semantic knowledge graph where knowledge has weight. Extracts concepts, measures grounding strength, preserves disagreement, traces everything to source.