LanceDB MCP Server
OfficialClick 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 Server find documents about artificial intelligence"
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
This is a basic, serveless MCP server that uses LanceDB to store and retrieve data. It is intended to be used as a reference for building complex MCP apps with LanceDB.
It provides 3 tools:
Ingest docs
Retrieve docs
Get table details
Related MCP server: qdrant-mcp
Installation
Just add the following config to your claude mcp config file:
{
"mcpServers": {
"lancedb": {
"command": "uv",
"args": [
"--directory",
"/Path/to/your/lancedb_mcp",
"run",
"/path/to/your/mcp/lancedb_mcp.py"
]
}
}
}Ingest docs
Embed your docs and store them into lancedb for retreival. Here's an example of ingesting an entire blog into lancedb.
Retrieve docs
Query your docs. Here's an example of querying lancedb for a blog post.
Get table details
Get table details. Here's an example of getting table details.
Available Tools
3 toolsingest_docsC
Ingests a list of documents into a LanceDB table. It is critical that the metdata must be a string literal
Args:
docs (Union[str, List[str]]): A string or a list of strings to ingest.
Returns:
None
example:
ingest_docs(
docs=["Hello world", "Hello world 2"],
)
Inputs: docs (required).
query_tableC
Query a LanceDB table with a query string and return the top k results.
Args:
query (str): The query string.
top_k (int): The number of results to return. Defaults to 5.
query_type (str): The type of query to perform. Defaults to "vector".
Returns:
List[Schema]: A list of Schema objects.
Inputs: query (required), top_k, query_type.
table_detailsB
Get the details of a LanceDB table.
Args:
table_name (str): The name of the table to get the details of. Defaults to "lancedb_table".
db_uri (str): The URI of the LanceDB database. Defaults to "~/lancedb".
Returns:
dict: A dictionary of the table details.
Inputs: table_name, db_uri.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a distinct purpose: ingesting documents, querying a table, and retrieving table details. No overlap exists.
All tool names follow a consistent verb_noun pattern (ingest_docs, query_table, table_details) using snake_case.
Three tools is minimal but appropriate for a basic LanceDB server covering ingestion, querying, and metadata inspection. Slightly limited but not unreasonable.
Covers core operations (ingest, query, details) but lacks delete, update, or list tables, which are notable gaps for a database server.
Maintenance
Related MCP Connectors
Supabase Edge Functions MCP server with allowlisted tools and PostgreSQL RLS.
MCP server for langchain documentation, generated by doc2mcp.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that enables LLMs to interact directly the documents that they have on-disk through agentic RAG and hybrid search in LanceDB. Ask LLMs questions about the dataset as a whole or about specific documents.26 npm78MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for document ingestion and semantic search on Qdrant. Enables ingesting local documents, generating embeddings with OpenAI, and performing vector search with metadata filters.Apache 2.0
- AlicenseAqualityDmaintenanceLocal-first RAG indexing and semantic search MCP server. Enables document retrieval and context-aware queries using local embedding models.36 npmMIT
- FlicenseNot gradedqualityDmaintenanceA basic MCP server for deployment to Amazon Bedrock AgentCore Runtime, enabling tool integration via FastMCP with streamable HTTP transport.-