loading…
Search for a command to run...
loading…
Enables storing, searching, and discovering knowledge connections using associative memory, with semantic search, hierarchical organization, and cross-environme
Enables storing, searching, and discovering knowledge connections using associative memory, with semantic search, hierarchical organization, and cross-environment sync.
🧠 Production-Ready Intelligent Memory System - Store, search, and discover knowledge connections using the Model Context Protocol (MCP) with 74/74 tests passing and complete CI/CD pipeline.
✅ ENTERPRISE-READY:
Transform your development workflow with an AI-powered memory system that:
Built with FastMCP 2.0 for modern LLM integration, optimized for GitHub Copilot workflows.
work/projects/name, learning/technology, personal/ideasControl response detail and token usage with three intelligent levels:
minimal: Essential information only (~50 tokens) - Perfect for status checks and basic operationsstandard: Balanced detail for workflow continuity (default) - Optimal for most use cases full: Comprehensive data including metadata, associations, and analysis - Ideal for debugging and detailed explorationExample Usage:
# Quick status check
memory_store(content="meeting notes", response_level="minimal")
# Returns: {"success": true, "message": "Memory stored", "memory_id": "..."}
# Full debugging info
memory_search(query="project ideas", response_level="full")
# Returns: Complete results with similarity scores, metadata, associations
memory_store - Store new memories with auto-associationmemory_search - Unified search with standard and diversified modesmemory_manage - Get, update, and delete memory operations memory_sync - Import and export memories for backup/syncmemory_discover_associations - Find semantically related memoriesmemory_list_all - Browse complete memory collection with paginationscope_list - Browse hierarchical memory organizationscope_suggest - AI-powered scope recommendationsmemory_move - Reorganize memories into better categoriessession_manage - Create, list, and cleanup temporary working sessionsAll tools use intuitive, natural names with powerful unified interfaces for better developer experience.
Get up and running in 5 minutes with essential commands and patterns.
Comprehensive guide to optimizing your associative memory workflow.
Complete technical documentation for all MCP tools and parameters.
Practical usage patterns for developers, teams, and organizations.
Solutions for common issues and system maintenance procedures.
Ready-to-import memory dataset with 28 curated memories demonstrating system capabilities.
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ LLM Client │────│ FastMCP Server │────│ Memory Store │
│ │ │ │ │ │
│ - Claude │ │ - @app.tool() │ │ - ChromaDB │
│ - ChatGPT │ │ - @app.resource()│ │ - SQLite │
│ - Custom LLM │ │ - @app.prompt() │ │ - NetworkX │
└─────────────────┘ └─────────────────┘ └─────────────────┘
For detailed setup instructions, see docs/installation.md.
Standard MCP startup method:
python -m mcp_assoc_memory.server --config config.json
The server operates in STDIO mode for direct MCP client integration. This is the recommended approach for VS Code Copilot and other MCP clients.
config.json.template to config.json🆕 Workspace Pollution Avoidance (NEW): The server now stores database files in OS-appropriate user directories by default, keeping your workspace clean.
Default Locations:
~/.local/share/mcp-assoc-memory/~/Library/Application Support/mcp-assoc-memory/%APPDATA%/mcp-assoc-memory/Override with Environment Variables:
export MCP_DATABASE_PATH="/custom/path/memory.db"
export MCP_DATA_DIR="/custom/data/directory"
See Database Path Configuration for detailed options.
OPENAI_API_KEY: Required for OpenAI embeddingsMCP_LOG_LEVEL: Set logging level (DEBUG, INFO, WARNING, ERROR)MCP_DATABASE_PATH: Override database file locationMCP_DATA_DIR: Override data directory locationpip install mcp-assoc-memory
pipx install mcp-assoc-memory
pip install git+https://github.com/mako10k/mcp-assoc-memory.git
# or
pipx install git+https://github.com/mako10k/mcp-assoc-memory.git
python -m mcp_assoc_memory.server --config config.json
.vscode/mcp.json for VS Code Copilot integration🤖 AI Development Agent: development/workflow/AGENT.md
📋 GitHub Copilot Rules: .github/copilot-instructions.md
🔄 Development Workflow: development/workflow/DEVELOPER_GUIDELINES.md
All code passes mypy (type check), flake8 (lint), and pytest (unit/integration tests) as of July 2025.
CI/CD pipeline enforces these checks for every commit.
git clone https://github.com/mako10k/mcp-assoc-memory.git
cd mcp-assoc-memory
python -m venv venv
source venv/bin/activate # Linux/Mac
# or
venv\Scripts\activate # Windows
pip install -r requirements.txt
pip install -r requirements-dev.txt
python scripts/smart_lint.py
pytest tests/ -v
python -m mcp_assoc_memory.server --config config.json
For Docker users:
docker-compose up --build
MIT License
Выполни в терминале:
claude mcp add mcp-associative-memory-server -- npx Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development