LanceDB MCP Server
LanceDB MCP 服务器
概述
用于 LanceDB 向量数据库操作的模型上下文协议 (MCP) 服务器实现。该服务器支持高效的向量存储、相似性搜索以及向量嵌入与相关元数据的管理。
Related MCP server: KGrag MCP Server
成分
资源
服务器将矢量数据库表公开为资源:
table://{name}:存储嵌入和元数据的向量数据库表可配置向量维度
文本元数据支持
高效的相似性搜索功能
API 端点
表管理
POST /table创建新的向量表
输入:
{ "name": "my_table", # Table name "dimension": 768 # Vector dimension }
向量运算
POST /table/{table_name}/vector向表中添加矢量数据
输入:
{ "vector": [0.1, 0.2, ...], # Vector data "text": "associated text" # Metadata }
POST /table/{table_name}/search搜索相似向量
输入:
{ "vector": [0.1, 0.2, ...], # Query vector "limit": 10 # Number of results }
安装
# Clone the repository
git clone https://github.com/yourusername/lancedb_mcp.git
cd lancedb_mcp
# Install dependencies using uv
uv pip install -e .与 Claude Desktop 一起使用
# Add the server to your claude_desktop_config.json
"mcpServers": {
"lancedb": {
"command": "uv",
"args": [
"run",
"python",
"-m",
"lancedb_mcp",
"--db-path",
"~/.lancedb"
]
}
}发展
# Install development dependencies
uv pip install -e ".[dev]"
# Run tests
pytest
# Format code
black .
ruff .环境变量
LANCEDB_URI:LanceDB 存储路径(默认值:“.lancedb”)
执照
本项目遵循 MIT 许可证。详情请参阅 LICENSE 文件。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables seamless integration with Weaviate vector databases, providing tools for semantic, keyword, and hybrid search across local or cloud instances. It supports schema management, collection retrieval, and multi-tenancy configurations through the Model Context Protocol.5MIT
- AlicenseNot gradedqualityDmaintenanceImplements the Model Context Protocol for managing, ingesting, and querying structured and unstructured data with integration to graph databases, vector search, and LLMs.3MIT
- FlicenseNot gradedqualityBmaintenanceEnables natural-language querying of structured data via Model Context Protocol, allowing AI agents to answer questions without SQL or API knowledge.
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to store, search, and relate typed memories with a graph-native knowledge base via the Model Context Protocol.Apache 2.0
Related MCP Connectors
Universal memory for AI agents and tools. Save, organize and search context anywhere.
Your portable context layer — load it into any AI.
Mem0-compatible persistent memory for AI agents: write facts once, recall them semantically.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/RyanLisse/lancedb_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server