M

MCP Rag Context

A lightweight Model Context Protocol (MCP) server that provides localized vector storage and database management to implement persistent memory and context management functions for AI assistants.
2 points
2

What is the RAG Context MCP Server?

The RAG Context MCP Server is a lightweight AI assistant memory management system that helps AI assistants store and retrieve context information. By combining local vector storage and a database, it can achieve efficient semantic search and fast queries.

How to use the RAG Context MCP Server?

The RAG Context MCP Server provides services through a simple API interface. Users can use the setContext and getContext tools to store and retrieve information. After installation, simply configure the environment variables to start using it.

Applicable scenarios

The RAG Context MCP Server is particularly suitable for AI assistants that require long - term memory and context management, such as personalized recommendation systems, intelligent customer service, and project management assistants.

Main features

Local vector storageUse Vectra for efficient vector similarity search to ensure fast retrieval of relevant context.
Persistent memoryUse the SQLite database for reliable data persistence to ensure that data is not lost.
Semantic searchAutomatically convert text into embedded vectors to implement semantic - based search and improve search accuracy.
Hybrid retrievalCombine semantic search and indexed database queries to provide more comprehensive information retrieval capabilities.
Simple APIOnly provide two tools, setContext and getContext, which are easy to integrate and use.
LightweightIt has few dependencies and runs entirely locally, suitable for various devices and environments.
Privacy - firstAll data is stored locally without external API calls, ensuring user privacy.

Advantages and limitations

Advantages
Provide efficient semantic search functions to improve the accuracy of information retrieval
Data is stored locally to protect user privacy
Lightweight design, easy to deploy and use
Support persistent storage to ensure that data is not lost
Limitations
The embedding model needs to be downloaded when starting for the first time, which may affect the initial experience
High memory usage (about 200MB)
Manual configuration of environment variables and data directories is required

How to use

Install the server
Install the RAG Context MCP Server using npm or npx.
Configure environment variables
Set the RAG_CONTEXT_DATA_DIR environment variable to specify the data storage path.
Start the server
After running the server, you can store and retrieve context through the API interface.

Usage examples

Store user preferencesWhen users mention that they like the dark mode and use VS Code, it can be stored in the system.
Query editor preferencesWhen you need to know the editor used by the user, you can obtain relevant information through semantic search.

Frequently Asked Questions

Does the RAG Context MCP Server need to be connected to the Internet?
How to solve the 'VectorStore not initialized' error?
Why is the first startup slow?
How to update the stored context?

Related resources

Official documentation
Project homepage, including complete documentation and source code
Installation guide
Detailed installation steps and configuration instructions
Usage tutorial
Detailed tutorial on how to use the RAG Context MCP Server
Installation
Copy the following command to your Client for configuration
{
  "mcpServers": {
    "rag-context": {
      "command": "npx",
      "args": ["@rag-context/mcp-server"],
      "env": {
        "RAG_CONTEXT_DATA_DIR": "/path/to/your/data/directory"
      }
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.
Z
Zen MCP Server
Zen MCP is a multi-model AI collaborative development server that provides enhanced workflow tools and cross-model context management for AI coding assistants such as Claude and Gemini CLI. It supports seamless collaboration of multiple AI models to complete development tasks such as code review, debugging, and refactoring, and can maintain the continuation of conversation context between different workflows.
Python
20
5 points
O
Opendia
OpenDia is an open - source browser extension tool that allows AI models to directly control the user's browser, perform automated operations using existing login status, bookmarks and other data, support multiple browsers and AI models, and focus on privacy protection.
JavaScript
15
5 points
N
Notte Browser
Certified
Notte is an open-source full-stack network AI agent framework that provides browser sessions, automated LLM-driven agents, web page observation and operation, credential management, etc. It aims to transform the Internet into an agent-friendly environment and reduce the cognitive burden of LLMs by describing website structures in natural language.
703
4.5 points
B
Bing Search MCP
An MCP server for integrating Microsoft Bing Search API, supporting web page, news, and image search functions, providing network search capabilities for AI assistants.
Python
262
4 points
A
Apple Notes MCP
A server that provides local Apple Notes database access for the Claude desktop client, supporting reading and searching of note content.
Python
243
4.3 points
C
Cloudflare
Changesets is a build tool for managing versions and releases in multi - package or single - package repositories.
TypeScript
1.5K
5 points
E
Eino
Eino is an LLM application development framework designed specifically for Golang, aiming to simplify the AI application development process through concise, scalable, reliable, and efficient component abstraction and orchestration capabilities. It provides a rich component library, powerful graphical orchestration functions, complete stream processing support, and a highly scalable aspect mechanism, covering the full-cycle toolchain from development to deployment.
Go
3.5K
5 points
M
Modelcontextprotocol
Certified
This project is an implementation of an MCP server integrated with the Sonar API, providing real-time web search capabilities for Claude. It includes guides on system architecture, tool configuration, Docker deployment, and multi-platform integration.
TypeScript
1.2K
5 points
Featured MCP Services
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
154
4.3 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
892
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
201
4.5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.8K
5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
618
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
335
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
798
4.8 points
AIbase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIbase