Memvid
Encodes text data into videos that can be quickly looked up with semantic search.
memvid-mcp-server
A Streamable-HTTP MCP Server that uses memvid to encode text data into videos that can be quickly looked up with semantic search.
Supported Actions:
add_chunks
: Adds chunks to the memory video. Note: each time you add chunks, it resets the memory.mp4. Unsure if there is a way to incrementally add.search
: queries for the top-matching chunks. Returns 5 by default, but can be changed with top_k param.
Running
Set up your environment:
python3.11 -m venv my_env
. ./my_env/bin/activate
pip install -r requirements.txt
Run the server:
python server.py
With a custom port:
PORT=3002 python server.py
Connect a Client
You can connect a client to your MCP Server once it's running. Configure per the client's configuration. There is the mcp-config.json that has an example configuration that looks like this:
{
"mcpServers": {
"memvid": {
"type": "streamable-http",
"url": "http://localhost:3000"
}
}
}
Acknowledgements
- Obviously the modelcontextprotocol and Anthropic teams for the MCP Specification. https://modelcontextprotocol.io/introduction
- HeyFerrante for enabling and sponsoring this project.
Related Servers
Typesense MCP Server
Provides access to Typesense search capabilities, requiring a connection to a Typesense server.
RocketReach
Find emails, phone numbers, and enrich company data using the RocketReach API.
Semantic Scholar
Access Semantic Scholar's academic paper database through their API.
PubMed MCP Server
A server for searching, retrieving, and analyzing articles from the PubMed database.
OpenStreetMap
Enhances LLMs with location-based services and geospatial data from OpenStreetMap.
General MCP Server
An MCP server providing search capabilities for Reddit, YouTube, and Twitter.
Splunk
An MCP server for Splunk to search, analyze, and visualize machine-generated data from your Splunk instance.
JinaAI Search
Efficient web search optimized for LLM-friendly content using the Jina AI API.
WikiJS
Search and retrieve content from a WikiJS knowledge base.
RagDocs
A server for RAG-based document search and management using Qdrant vector database with Ollama or OpenAI embeddings.