Memorious MCP

Memorious MCP

Provides AI assistants with long-term semantic memory capabilities through local vector-based storage. Enables storing, recalling, and managing information across sessions with complete privacy using ChromaDB, with no data ever leaving your machine.

Category
Visit Server

README

memorious-mcp

<div align="center">

sd </div>

A 100% local & private semantic memory MCP (Model Context Protocol) server for AI assistants. Built with ChromaDB for vector similarity search and FastMCP 2. Runs entirely locally - no data ever leaves your machine.

Overview

memorious-mcp provides AI assistants with long-term memory capabilities through three core operations: store, recall, and forget. It uses ChromaDB's vector database to enable semantic similarity search, allowing assistants to retrieve relevant memories even when the exact wording differs from the original storage. All processing and storage happens locally on your machine - no data ever leaves your machine, ensuring complete privacy and security.

Key Features

  • šŸ  100% Local & Private: All data processing and storage happens on your machine - nothing goes to the cloud
  • šŸ’¾ Persistent Memory: Data persists across sessions using ChromaDB's disk-based storage
  • šŸ” Semantic Search: Vector embeddings enable similarity-based memory retrieval
  • ⚔ Simple API: Three intuitive tools for memory management
  • šŸš€ FastMCP Integration: Built on FastMCP for efficient MCP server implementation
  • šŸŽÆ Canonical Key Design: Optimized for short, embedding-friendly keys (1-5 words)
  • šŸ“‚ Folder Scoped Storage: Per-project memory isolation.

Why This Project Exists

šŸ” Gap in the MCP Ecosystem: Despite the growing popularity of memory MCP servers, there wasn't an existing memory server that combines both semantic similarity search and complete file based folder scoped local storage. Most memory solutions either:

  • ā˜ļø Require cloud services and external API calls (compromising privacy) for either embeddings or storage or both
  • šŸ”¤ Only support exact key-value matching (no semantic understanding)
  • šŸ“ Don't support folder scoped local storage

Use Cases

  • Personal Assistant Memory: Remember user preferences, habits, and personal information
  • Context Preservation: Maintain conversation context across sessions
  • Knowledge Management: Store and retrieve project-specific information
  • Personalization: Enable AI assistants to provide personalized responses based on stored preferences
  • Privacy-First AI: Keep sensitive personal data local while still having persistent memory
  • Folder-Scoped AI Agents: Perfect for VS Code Copilot Chat Modes and Claude Code agents with per-project memory isolation

Installation

For VS Code

Make sure you have uv and its its uvx command installed first.

Install in VS Code

Install in VS Code Insiders

For most MCP clients

Add to your MCP client configuration:

{
  "mcpServers": {
    "memorious": {
      "command": "uvx",
      "args": ["memorious-mcp"]
    }
  }
}

Development / Local Installation

uv sync

For development/local installation:

{
  "mcpServers": {
    "memorious": {
      "command": "uv",
      "args": ["run", "memorious-mcp"],
      "cwd": "/path/to/memorious-mcp"
    }
  }
}

Tools

store

Store facts, preferences, or information with short canonical keys optimized for vector similarity.

Parameters:

  • key (string): Short, canonical key (1-5 words, space-separated)
  • value (string): The actual information to store

recall

Retrieve stored memories using semantic similarity search.

Parameters:

  • key (string): Query key for similarity search
  • top_k (int, default: 3): Maximum number of results to return

forget

Delete memories matching a query key.

Parameters:

  • key (string): Query key to find memories to delete
  • top_k (int, default: 3): Number of nearest matches to consider

Claude CLI Configuration

To add memorious-mcp to Claude CLI, use the following commands:

# Add the MCP server using uvx (recommended)
claude mcp add memorious-mcp uvx memorious-mcp

# Alternative: for development/local installation
claude mcp add memorious-mcp uv run --project <memorious_mcp_src> memorious-mcp

You can then list your configured MCP servers:

claude mcp list

And remove the server if needed:

claude mcp remove memorious-mcp

Example Tool Signatures

  • store(key: str, value: str) -> {"id": str}
  • recall(key: str, top_k: int = 3) -> {"results": [...]} where each result includes id, key, value, distance, timestamp
  • forget(key: str, top_k: int = 3) -> {"deleted_ids": [...]}

Testing

Run tests with:

# Using uv
uv run python -m pytest tests/ -v

# Or if pytest is available globally
pytest tests/ -v

Technical Details

  • Backend: ChromaDB with persistent disk storage
  • Embeddings: Uses ChromaDB's default embedding function (local processing)
  • Storage Location: ./.memorious directory (configurable)
  • Python Version: Requires Python ≄3.12
  • License: MIT
  • Privacy: No network requests, no cloud dependencies, all data stays local

Package Structure

The project follows the standard Python package layout:

memorious-mcp/
ā”œā”€ā”€ src/
│   └── memorious_mcp/
│       ā”œā”€ā”€ __init__.py
│       ā”œā”€ā”€ main.py                 # MCP server entry point
│       └── backends/
│           ā”œā”€ā”€ __init__.py
│           ā”œā”€ā”€ memory_backend.py   # Abstract base class
│           └── chroma_backend.py   # ChromaDB implementation
ā”œā”€ā”€ tests/
│   └── test_chroma_backend.py      # Integration tests
ā”œā”€ā”€ pyproject.toml                  # Package configuration
└── README.md

The server is designed for local/CLI integrations using stdio transport, making it suitable for personal AI assistants and development workflows where privacy and data security are paramount.

Limitations

āš ļø Important Security Considerations

While your data is 100% safe and private because it never leaves your local machine, you should still exercise caution about what you store:

  • Data is stored unencrypted: All stored data is persisted to disk in unencrypted format in the .memorious directory
  • Avoid storing secrets: Do NOT store passwords, API keys, private keys, personal identification numbers, financial information, or any other sensitive credentials
  • Local file access: Anyone with access to your machine and the .memorious directory can read all stored memories
  • Exercise caution: While the MCP server warns the client LLM to avoid storing sensitive information, you should not rely solely on this safeguard
  • Backup considerations: Be mindful when backing up or syncing directories containing .memorious folders

Contributing

Contributions are welcome. Open a PR with tests.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured