Skip to main content
Glama
lancedb

LanceDB MCP Server

Official
by lancedb

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
ingest_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"],
    )
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.
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.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lancedb/lancedb-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server