Memory MCP
drdee/memory-mcp · 11 stars · Python · MIT
MCP server An mcp server that you can use to store and retrieve ideas, prompt templates, personal preferences to use with you favourite AI tool that supports the modelcontextprovider protocol.
Install
The repo has no one-line install. Follow its README.
Files
Memory MCP
A Model Context Protocol server for storing and retrieving memories using low-level Server implementation and SQLite storage.
Installation
This project uses uv for dependency management instead of pip. uv is a fast, reliable Python package installer and resolver.
Install using uv:
uv pip install memory-mcp
Or install directly from source:
uv pip install .
For development:
uv pip install -e ".[dev]"
If you don't have uv installed, you can install it following the official instructions.
Usage
Running the server
memory-mcp
This will start the MCP server that allows you to store and retrieve memories.
Available Tools
The Memory MCP provides the following tools:
remember: Store a new memory with a title and contentget_memory: Retrieve a specific memory by ID or titlelist_memories: List all stored memoriesupdate_memory: Update an existing memorydelete_memory: Delete a memory
Debugging with MCP Inspect
MCP provides a handy command-line tool called mcp inspect that allows you to debug and interact with your MCP server directly.
Setup
- First, make sure the MCP CLI tools are installed:
uv pip install mcp[cli]
- Start the Memory MCP server in one terminal:
memory-mcp
- In another terminal, connect to the running server using
mcp inspect:
mcp inspect
Using MCP Inspect
Once connected, you can:
List available tools
> tools
This will display all the tools provided by the Memory MCP server.
Call a tool
To call a tool, use the call command followed by the tool name and any required arguments:
> call remember title="Meeting Notes" content="Discussed project timeline and milestones."
> call list_memories
> call get_memory memory_id=1
> call update_memory memory_id=1 title="Updated Title" content="Updated content."
> call delete_memory memory_id=1
Debug Mode
You can enable debug mode to see detailed request and response information:
> debug on
This helps you understand exactly what data is being sent to and received from the server.
Exploring Tool Schemas
To view the schema for a specific tool:
> tool remember
This shows the input schema, required parameters, and description for the tool.
Troubleshooting
If you encounter issues:
- Check the server logs in the terminal where your server is running for any error messages.
- In the MCP inspect terminal, enable debug mode with
debug onto see raw requests and responses. - Ensure the tool parameters match the expected schema (check with the
toolcommand). - If the server crashes, check for any uncaught exceptions in the server terminal.
Development
To contribute to the project, install the development dependencies:
uv pip install -e ".[dev]"
Managing Dependencies
This project uses uv.lock file to lock dependencies. To update dependencies:
uv pip compile pyproject.toml -o uv.lock
Running tests
python -m pytest
Code formatting
black memory_mcp tests
Linting
ruff check memory_mcp tests
Type checking
mypy memory_mcp
Facts
- Kind
- MCP server
- Repo
- drdee/memory-mcp
- Group
- Uncategorized
- Stars
- 11
- License
- MIT
- Language
- Python
- Last push
- 2025-04-07
- Forks
- 6
- 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
- 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
- 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
- 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
- 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k