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.
相关服务器
Neo4j
Neo4j graph database server (schema + read/write-cypher) and separate graph database backed memory
UK Crime MCP
An MCP server for accessing UK police crime data, deployable on Cloudflare Workers.
Avro MCP Server by CData
A read-only MCP server for Avro data sources, powered by the CData JDBC Driver.
IGDB MCP Server
Access the IGDB (Internet Game Database) API through Model Context Protocol (MCP)
AWS Athena MCP Server
An MCP server for querying and interacting with AWS Athena.
Quickbase MCP Server
An MCP server for Quickbase, enabling seamless integration with AI assistants like Claude Desktop.
NY Benchmark
Query 2M+ municipal finance data points across New York State — 62 cities, 57 counties, 689 school districts. 30 years of audited actuals with domain-aware caveats applied automatically.
MCP Qdrant Codebase Embeddings
Uses Qdrant vector embeddings to understand semantic relationships in codebases.
SingleStore MCP Server
An MCP server for interacting with SingleStore databases, requiring environment variables for connection.
ChatQL MCP Server
Query SQL Server databases using natural language with OpenAI GPT models.