LanceDB
A vector database server for storing, searching, and managing vector embeddings.
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.
Components
Resources
The server exposes vector database tables as resources:
table://{name}: A vector database table that stores embeddings and metadata- Configurable vector dimensions
- Text metadata support
- Efficient similarity search capabilities
API Endpoints
Table Management
POST /table- Create a new vector table
- Input:
{ "name": "my_table", # Table name "dimension": 768 # Vector dimension }
Vector Operations
-
POST /table/{table_name}/vector- Add vector data to a table
- Input:
{ "vector": [0.1, 0.2, ...], # Vector data "text": "associated text" # Metadata }
-
POST /table/{table_name}/search- Search 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.
関連サーバー
MCP Snowflake Reader
Read-only access to Snowflake databases. Requires Snowflake connection information provided via MCP client configuration.
AI Knowledge System
An enterprise-ready system to archive AI conversations from ChatGPT and Claude into a Supabase database.
Microsoft SQL Server MCP
A .NET-powered MCP server for interacting with Microsoft SQL Server databases.
MongoDB MCP Server
An MCP server providing tools and prompts for interacting with a MongoDB database.
Astro MCP
A modular server providing unified access to multiple astronomical datasets, including astroquery services and DESI data sources.
Claude Conversation Memory System
Provides searchable local storage for Claude conversation history, enabling context retrieval during sessions.
CData SuiteCRM Server
A read-only MCP server for querying live SuiteCRM data using the CData JDBC Driver.
Tableau MCP Server
Connects Claude Desktop to Tableau Server, enabling natural language interactions with your Tableau data and administrative capabilities.
MCP Knowledge Graph
Provides persistent memory for AI models using a local knowledge graph.
Database Server
A Model Context Protocol (MCP) server that provides multi-database query execution capabilities with support for SQLite, PostgreSQL, and MySQL databases. Includes a built-in Web UI for managing database connections.