BookmarkMemory
Enables semantic search and retrieval of bookmarked URLs content using vector embeddings, with support for multiple backends and AI assistant integration.
README
BookmarkMemory
A Python-based semantic search system for bookmarks that enables intelligent querying of URL contents through vector embeddings and semantic chunking.
Features
- 🔍 Semantic Search: Find bookmarks based on meaning, not just keywords
- 🧩 Smart Chunking: Intelligently splits content into meaningful segments
- 🚀 Multiple Backends: Support for Qdrant Cloud, local containers, or auto-start
- 🌐 FastAPI Server: RESTful API with auto-generated documentation
- 🤖 MCP Integration: FastMCP server for AI assistant integration
- 📊 Flexible Embeddings: Support for multiple embedding models
Quick Start
Installation
# Clone the repository
git clone file:///c:/temp/BookmarkMemory
cd BookmarkMemory
# Install dependencies
pip install -r requirements.txt
pip install -e .
Basic Usage
from bookmark_memory import BookmarkMemory
# Initialize
bm = BookmarkMemory()
# Add bookmarks
bm.add_bookmarks([
"https://example.com/article1",
"https://example.com/article2"
])
# Search
results = bm.find_related_bookmarks("machine learning")
for result in results:
print(f"{result['url']} - Score: {result['relevance_score']:.3f}")
API Server
# Start the FastAPI server
uvicorn bookmark_memory.api.fastapi_app:app --reload
# Visit http://localhost:8000/docs for API documentation
MCP Server
Add to your Claude Desktop configuration:
{
"mcpServers": {
"bookmark-memory": {
"command": "python",
"args": ["-m", "bookmark_memory.mcp.mcp_server"],
"env": {
"QDRANT_MODE": "auto"
}
}
}
}
Configuration
Environment Variables
QDRANT_MODE: Connection mode (auto, cloud, local)QDRANT_HOST: Qdrant host addressQDRANT_PORT: Qdrant port (default: 6333)EMBEDDING_MODEL: Model for embeddings (default: sentence-transformers/all-MiniLM-L6-v2)
See config/settings.py for all configuration options.
Documentation
- API Documentation (when server is running)
- Project Requirements
- Examples
Testing
# Run all tests
pytest
# Run with coverage
pytest --cov=bookmark_memory
License
MIT License - See LICENSE file for details.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.