LanceDB MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@LanceDB MCP Serversearch for similar vectors to this query in my_table"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
LanceDB MCP Server
Overview
A Model Context Protocol (MCP) server implementation for LanceDB vector database operations. This server enables efficient vector storage, similarity search, and management of vector embeddings with associated metadata.
Related MCP server: KGrag MCP Server
Components
Resources
The server exposes vector database tables as resources:
table://{name}: A vector database table that stores embeddings and metadataConfigurable vector dimensions
Text metadata support
Efficient similarity search capabilities
API Endpoints
Table Management
POST /tableCreate a new vector table
Input:
{ "name": "my_table", # Table name "dimension": 768 # Vector dimension }
Vector Operations
POST /table/{table_name}/vectorAdd vector data to a table
Input:
{ "vector": [0.1, 0.2, ...], # Vector data "text": "associated text" # Metadata }
POST /table/{table_name}/searchSearch for similar vectors
Input:
{ "vector": [0.1, 0.2, ...], # Query vector "limit": 10 # Number of results }
Installation
# Clone the repository
git clone https://github.com/yourusername/lancedb_mcp.git
cd lancedb_mcp
# Install dependencies using uv
uv pip install -e .Usage with Claude Desktop
# Add the server to your claude_desktop_config.json
"mcpServers": {
"lancedb": {
"command": "uv",
"args": [
"run",
"python",
"-m",
"lancedb_mcp",
"--db-path",
"~/.lancedb"
]
}
}Development
# Install development dependencies
uv pip install -e ".[dev]"
# Run tests
pytest
# Format code
black .
ruff .Environment Variables
LANCEDB_URI: Path to LanceDB storage (default: ".lancedb")
License
This project is licensed under the MIT License. See the LICENSE file for details.
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 gradedqualityAmaintenanceEnables AI agents to store, search, and relate typed memories with a graph-native knowledge base via the Model Context Protocol.Apache 2.0