Memory MCP Server logo

Memory MCP Server

by MCP-Mirror

An implementation of the Model Context Protocol (MCP) server for managing Claude's memory and knowledge graph. It allows Claude to store and retrieve information from a knowledge graph.

View on GitHub

Last updated: N/A

What is Memory MCP Server?

This is an MCP (Model Context Protocol) server designed to manage Claude's memory and knowledge graph. It provides a way for Claude to store and retrieve information, enhancing its ability to retain and utilize knowledge.

How to use Memory MCP Server?

  1. Install the server using uvx memory-mcp-server or uv pip install git+https://github.com/estav/python-memory-mcp-server.git. 2. Configure the server by setting the DATABASE_URL environment variable. 3. Integrate the server with Claude Desktop by adding the provided JSON configuration to your claude_desktop_config.json. 4. Run the server using uvx memory-mcp-server.

Key features of Memory MCP Server

  • Knowledge graph management

  • Integration with Claude Desktop

  • SQLite database storage

  • Optimized knowledge graph operations

  • Unit testing

Use cases of Memory MCP Server

  • Enhancing Claude's memory and knowledge retention

  • Providing Claude with access to structured information

  • Improving Claude's ability to answer questions based on stored knowledge

  • Building custom knowledge bases for Claude

  • Enabling Claude to learn and adapt over time

FAQ from Memory MCP Server

What is MCP?

MCP stands for Model Context Protocol. It's a protocol that allows language models like Claude to interact with external services, such as knowledge graphs.

What is the DATABASE_URL?

The DATABASE_URL is an environment variable that specifies the location of the SQLite database used to store the knowledge graph. It should be a valid SQLite connection string.

How do I integrate this with Claude Desktop?

You need to add the provided JSON configuration to your claude_desktop_config.json file. This tells Claude Desktop how to connect to and use the MCP server.

What kind of data can I store in the knowledge graph?

You can store any kind of data that can be represented in a knowledge graph, such as entities, relationships, and attributes. The specific data model will depend on your use case.

How do I contribute to the project?

You can contribute by submitting pull requests with bug fixes, new features, or improvements to the documentation. Please follow the project's coding style and testing guidelines.