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 deployed
Maintenance
Related MCP Connectors
Universal persistent memory and knowledge retrieval layer for AI agents and LLMs.
A collaborative substrate over your data: vector, knowledge graph, SQL, geospatial, streaming.
Universal memory for AI agents and tools. Save, organize and search context anywhere.
Hosted persistent memory with semantic search, importance and TTL for AI agents.
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 gradedqualityDmaintenanceEnables natural-language querying of structured data via Model Context Protocol, allowing AI agents to answer questions without SQL or API knowledge.-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to store, search, and relate typed memories with a graph-native knowledge base via the Model Context Protocol.Apache 2.0