MCP ExplorerExplorer

Memory Mcp Server

@Sinhan88on a month ago
1 MIT
FreeCommunity
AI Systems
#ai-memory#claude#claude-desktop#cline-memory-bank#knowledge#llm-memory#mcp-server#mem0ai#memory-server#model-context-protocol-servers#modelcontextprotocol#semantic-search#server#vector-storage
A MCP (Model Context Protocol) server providing long-term memory for LLMs

Overview

What is Memory Mcp Server

Memory MCP Server is a server that implements the Model Context Protocol (MCP) to provide long-term memory capabilities for Large Language Models (LLMs), enabling them to retain context over extended interactions.

Use cases

Use cases include enhancing conversational agents with memory, improving user experience in applications by retaining user preferences, and enabling more dynamic and contextually relevant AI responses.

How to use

To use Memory MCP Server, clone the repository, install the necessary dependencies, and run the server. You can then interact with the server using API endpoints to store and retrieve memory.

Key features

Key features include long-term memory storage and retrieval, adherence to Model Context Protocol standards, a user-friendly API for easy integration, and scalability to handle multiple requests.

Where to use

Memory MCP Server can be used in AI applications that require context-aware interactions, such as chatbots, virtual assistants, and personalized recommendation systems.

Content

🧠 Memory MCP Server

Memory MCP Server
GitHub Releases


Overview

Welcome to the Memory MCP Server! This project implements the Model Context Protocol (MCP) to provide long-term memory for Large Language Models (LLMs). With the growing need for more context-aware AI applications, this server acts as a bridge, allowing LLMs to retain information over extended interactions.

Table of Contents

Features

  • Long-term Memory: Store and retrieve context for LLMs, enhancing their ability to provide relevant responses.
  • Model Context Protocol: Adhere to the MCP standards for seamless integration with various LLM architectures.
  • User-Friendly API: Easy-to-use API for developers to integrate memory functionalities into their applications.
  • Scalability: Designed to handle multiple requests and scale with your needs.

Installation

To get started with the Memory MCP Server, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/Sinhan88/memory-mcp-server.git
    
  2. Navigate to the Project Directory:

    cd memory-mcp-server
    
  3. Install Dependencies:

    Make sure you have Python and pip installed. Then run:

    pip install -r requirements.txt
    
  4. Run the Server:

    Execute the following command to start the server:

    python app.py
    

Usage

Once the server is running, you can interact with it using the API endpoints. Here’s a quick guide on how to use the Memory MCP Server.

API Endpoints

  • Store Memory: Send a POST request to /store with the following JSON body:

    {
      "context": "Your context here",
      "model_id": "unique_model_identifier"
    }
  • Retrieve Memory: Send a GET request to /retrieve?model_id=unique_model_identifier.

Example Requests

Using curl, you can test the API as follows:

  1. Store Memory:

    curl -X POST http://localhost:5000/store -H "Content-Type: application/json" -d '{"context": "I love programming.", "model_id": "model_1"}'
    
  2. Retrieve Memory:

    curl http://localhost:5000/retrieve?model_id=model_1
    

Contributing

We welcome contributions to the Memory MCP Server! If you want to help, please follow these steps:

  1. Fork the Repository: Click the “Fork” button at the top right of this page.

  2. Create a Branch:

    git checkout -b feature/YourFeature
    
  3. Make Your Changes: Edit the code, add features, or fix bugs.

  4. Commit Your Changes:

    git commit -m "Add your message here"
    
  5. Push to the Branch:

    git push origin feature/YourFeature
    
  6. Open a Pull Request: Go to the original repository and click “New Pull Request”.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions or feedback, feel free to reach out:

Releases

You can find the latest releases of the Memory MCP Server here. Please download and execute the appropriate file for your system.

Additional Resources

  • Documentation: More detailed documentation is available in the docs folder.
  • Community: Join our discussion forum to share ideas and get help.

Acknowledgments

Thanks to the contributors and the community for their support. Special thanks to the developers of the libraries that made this project possible.


Topics

This repository covers various topics including:

  • claude
  • cursor
  • cursor-ai
  • cursorai
  • llm
  • llm-memory
  • llms
  • mcp
  • mcp-server
  • model-context-protocol

Feel free to explore these topics further!


Thank you for visiting the Memory MCP Server repository! We hope you find it useful for your projects involving LLMs and long-term memory.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers