
skalex
by TarekRaafat·★ 16·综合分 42
零依赖 JavaScript 数据库,内置向量搜索、代理记忆和 MCP 服务器功能。
概述
Skalex 是一个 AI 优先、零依赖的 JavaScript 数据库,在单个包中提供向量搜索、代理记忆和 MCP 服务器功能。它可在多种环境中运行,包括 Node.js、Bun、Deno、浏览器和边缘运行时,无需外部依赖。该数据库提供全面的功能集,包括文档存储、全文搜索、带嵌入的语义搜索、通过 LLM 集成的自然语言查询和事务支持。
试试问 AI
装完之后,这里有 3 个你可以让 AI 做的事:
什么时候选它
当您需要一个轻量级、零依赖的数据库,并希望通过 MCP 向 AI 代理暴露其功能时,选择 Skalex。
什么时候不要选它
不要选择 Skalex 用于需要传统数据库功能(如跨进程 ACID 事务)的大规模分布式或多进程应用程序。
此 server 暴露的工具
从 README 抽取出 8 个工具findfind(filter?, options?)Query documents in a collection with filters and options
insertinsertOne(doc, options?) | insertMany(docs, options?)Insert one or more documents into a collection
updateupdateOne(filter, update, options?) | updateMany(filter, update, options?)Update one or more documents matching a filter
deletedeleteOne(filter, options?) | deleteMany(filter, options?)Delete one or more documents matching a filter
searchsearch(query, options?)Perform semantic search on collection with cosine similarity
askask(collection, nlQuery)Query collection using natural language converted to filter via LLM
schemaschema(collection)Get schema information for a collection
collectionscollections()List all available collections in the database
可对比工具
安装
npm install skalex@alpha要作为 MCP 服务器与 Claude Desktop 一起使用,请将其添加到您的 claude_desktop_config.json 中:
{
"mcpServers": {
"skalex": {
"command": "npx",
"args": ["skalex", "mcp"]
}
}
}skalex 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。