Lance MCP Server

MCP server for interacting with LanceDB database

Local serverstdio

What is the Lance MCP Server?

MCP server for interacting with LanceDB database

What you get

A 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.

Configuration and credentials

  • Node.js 18+ - npx - MCP Client (Claude Desktop App for example) - Summarization and embedding models installed (see config.ts - by default we use Ollama models) - ollama pull snowflake-arctic-embed2 - ollama pull llama3.1:8b

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
catalog_searchSearch for relevant documents in the catalog
chunks_searchFind relevant chunks based on a specific document from the catalog
all_chunks_searchFind relevant chunks from all known documents

How to install the Lance MCP Server

{
  "mcpServers": {
    "lancedb": {
      "command": "npx",
      "args": [
        "lance-mcp",
        "PATH_TO_LOCAL_INDEX_DIR"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Node.js 18+ - npx - MCP Client (Claude Desktop App for example) - Summarization and embedding models installed (see config.ts - by default we use Ollama models) - ollama pull snowflake-arctic-embed2 - ollama pull llama3.1:8b

Example prompts to try

  • “Use Lance MCP to catalog search.”
  • “Use Lance MCP to chunks search.”
  • “Use Lance MCP to all chunks search.”

Frequently asked questions

MCP server for interacting with LanceDB database Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.