This guide covers all installation methods for NeuralMind, including system requirements, dependencies, and platform-specific instructions.
NeuralMind is a local, offline Python package — no SaaS, no accounts, no outbound calls. Once installed, it works from the CLI, via its MCP server, and (for Claude Code) as a PostToolUse compression layer. See the Setup Guide for post-install configuration or Use Cases to pick a workflow first.
| Component | Requirement |
|---|---|
| Python | 3.10 or higher |
| Memory | 2GB RAM (4GB+ recommended for large codebases) |
| Storage | 500MB for base install + space for embeddings |
| OS | Linux, macOS, Windows 10+ |
For most users, the quickest path:
# Install NeuralMind
pip install neuralmind
# Install graphify for knowledge graph generation
pip install graphifyy
# Verify installation
neuralmind --help
The recommended installation method for most users.
pip install neuralmind
For integration with Claude Desktop, Cursor, and other MCP-compatible tools:
pip install neuralmind[mcp]
For contributors or those who want testing/linting tools:
pip install neuralmind[dev]
All optional dependencies:
pip install neuralmind[mcp,dev]
For the latest development version or contributors:
# Clone the repository
git clone https://github.com/dfrostar/neuralmind.git
cd neuralmind
# Install in editable mode
pip install -e .
# Or with all extras
pip install -e ".[mcp,dev]"
Recommended setup for contributors:
# Clone and enter directory
git clone https://github.com/dfrostar/neuralmind.git
cd neuralmind
# Create virtual environment
python -m venv venv
source venv/bin/activate # Linux/macOS
# or: venv\Scripts\activate # Windows
# Install with dev dependencies
pip install -e ".[dev]"
# Install pre-commit hooks (optional)
pre-commit install
| Package | Version | Purpose |
|---|---|---|
| chromadb | ≥0.4.0 | Vector database for embeddings |
| pyyaml | ≥6.0 | Configuration file parsing |
| toml | ≥0.10 | TOML configuration file support |
pip install neuralmind[mcp])| Package | Version | Purpose |
|---|---|---|
| mcp | ≥0.1.0 | Model Context Protocol server |
pip install neuralmind[dev])| Package | Version | Purpose |
|---|---|---|
| pytest | ≥7.0 | Testing framework |
| pytest-asyncio | ≥0.21.0 | Async test support |
| black | ≥23.0 | Code formatting |
| ruff | ≥0.1.0 | Fast linting |
| Tool | Installation | Purpose |
|---|---|---|
| graphify | pip install graphifyy |
Knowledge graph generation |
# Ensure Python 3.10+ is installed
sudo apt update
sudo apt install python3.10 python3.10-venv python3-pip
# Create virtual environment (recommended)
python3.10 -m venv neuralmind-env
source neuralmind-env/bin/activate
# Install NeuralMind
pip install neuralmind
# Using Homebrew
brew install python@3.11
# Create virtual environment
python3.11 -m venv neuralmind-env
source neuralmind-env/bin/activate
# Install NeuralMind
pip install neuralmind
# Ensure Python 3.10+ is installed from python.org
# Open PowerShell as Administrator
# Create virtual environment
python -m venv neuralmind-env
.\neuralmind-env\Scripts\Activate.ps1
# Install NeuralMind
pip install neuralmind
FROM python:3.11-slim
WORKDIR /app
# Install NeuralMind
RUN pip install neuralmind[mcp]
# Your project files
COPY . .
CMD ["neuralmind-mcp"]
# Check CLI is available
neuralmind --help
# Check version
python -c "import neuralmind; print('NeuralMind installed successfully')"
# Check ChromaDB
python -c "import chromadb; print(f'ChromaDB version: {chromadb.__version__}')"
# Check graphify (if installed)
graphify --help
# Create a test directory
mkdir test-neuralmind
cd test-neuralmind
# Create a simple Python file
echo 'def hello(): return "world"' > hello.py
# Generate knowledge graph (requires graphify)
graphify update .
# Build neural index
neuralmind build .
# Test query
neuralmind wakeup .
Cause: Python scripts directory not in PATH.
Solution:
# Linux/macOS
export PATH="$HOME/.local/bin:$PATH"
# Then retry
neuralmind --help
Cause: Dependencies not installed properly.
Solution:
pip install --upgrade neuralmind
# or
pip install chromadb>=0.4.0
Cause: Knowledge graph not generated.
Solution:
# Install graphify if not present
pip install graphifyy
# Generate knowledge graph
graphify update /path/to/your/project
# Then build neural index
neuralmind build /path/to/your/project
Cause: Insufficient RAM for embedding generation.
Solution:
--force flag to rebuild incrementallyCause: Corporate proxy or certificate issues.
Solution:
pip install --trusted-host pypi.org --trusted-host pypi.python.org neuralmind
After installation:
neuralmind build