Get the FREE Ultimate OpenClaw Setup Guide →

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

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
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):

  1. Clone the repository:
git clone https://github.com/orneryd/Mimir.git
cd Mimir
  1. Start services using Docker:
# Start all services in detached mode
docker compose up -d
  1. Verify services:
# Check containers
docker ps
# Optional: view logs
docker logs <container_id>
  1. Access the Mimir UI and MCP API:

If you prefer the npm-start workflow (local development):

  1. Install dependencies and start:
# From repo root
npm install
npm run start
  1. Validate status and logs:
npm run status
npm run logs
  1. 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

Sponsor this space

Reach thousands of developers