Skip to content

Commit bb71f9c

Browse files
committed
chore: remove vector search and update to relevance-based text search
1 parent 3cae1f4 commit bb71f9c

File tree

7 files changed

+110
-239
lines changed

7 files changed

+110
-239
lines changed

.changeset/funny-shoes-pick.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'mcp-memory-libsql': patch
3+
---
4+
5+
drop vector search improve text search with relevance ranking

README.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# mcp-memory-libsql
22

33
A high-performance, persistent memory system for the Model Context
4-
Protocol (MCP) powered by libSQL. This server provides vector search
5-
capabilities and efficient knowledge storage using libSQL as the
6-
backing store.
4+
Protocol (MCP) powered by libSQL with optimized text search for LLM
5+
context efficiency.
76

87
<a href="https://glama.ai/mcp/servers/22lg4lq768">
98
<img width="380" height="200" src="https://glama.ai/mcp/servers/22lg4lq768/badge" alt="Glama badge" />
109
</a>
1110

1211
## Features
1312

14-
- 🚀 High-performance vector search using libSQL
13+
- 🚀 High-performance text search with relevance ranking
1514
- 💾 Persistent storage of entities and relations
16-
- 🔍 Semantic search capabilities
15+
- 🔍 Flexible text search with fuzzy matching
16+
- 🎯 Context-optimized for LLM efficiency
1717
- 🔄 Knowledge graph management
1818
- 🌐 Compatible with local and remote libSQL databases
1919
- 🔒 Secure token-based authentication for remote databases
@@ -99,13 +99,14 @@ in the current directory.
9999

100100
## API
101101

102-
The server implements the standard MCP memory interface with
103-
additional vector search capabilities:
102+
The server implements the standard MCP memory interface with optimized
103+
text search:
104104

105105
- Entity Management
106-
- Create/Update entities with embeddings
106+
- Create/Update entities with observations
107107
- Delete entities
108-
- Search entities by similarity
108+
- Search entities by text with relevance ranking
109+
- Explore entity relationships
109110
- Relation Management
110111
- Create relations between entities
111112
- Delete relations
@@ -115,10 +116,10 @@ additional vector search capabilities:
115116

116117
The server uses a libSQL database with the following schema:
117118

118-
- Entities table: Stores entity information and embeddings
119+
- Entities table: Stores entity information with timestamps
120+
- Observations table: Stores entity observations
119121
- Relations table: Stores relationships between entities
120-
- Vector search capabilities implemented using libSQL's built-in
121-
vector operations
122+
- Text search with relevance ranking (name > type > observation)
122123

123124
## Development
124125

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mcp-memory-libsql",
33
"version": "0.0.15",
4-
"description": "LibSQL-based persistent memory tool for MCP",
4+
"description": "LibSQL-based persistent memory tool for MCP with optimized text search",
55
"license": "MIT",
66
"type": "module",
77
"main": "dist/index.js",
@@ -25,13 +25,12 @@
2525
"keywords": [
2626
"mcp",
2727
"memory",
28-
"vector",
2928
"libsql",
3029
"knowledge-graph",
3130
"database",
32-
"vector-search",
33-
"semantic-search",
34-
"knowledge-management"
31+
"text-search",
32+
"knowledge-management",
33+
"relevance-ranking"
3534
],
3635
"scripts": {
3736
"build": "tsc && chmod +x dist/index.js",
@@ -64,4 +63,4 @@
6463
"volta": {
6564
"node": "22.20.0"
6665
}
67-
}
66+
}

0 commit comments

Comments
 (0)