Loading languages...
LA

lancedb-mcp-server

@lancedb13

No description provided.

lancedb
mcp-server
data-storage
retrieval
python

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

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. Screenshot 2025-04-25 at 12 32 00 PM

Retrieve docs

Query your docs. Here's an example of querying lancedb for a blog post. Screenshot 2025-04-25 at 12 34 41 PM

Get table details

Get table details. Here's an example of getting table details. Screenshot 2025-04-25 at 12 40 44 PM

# mcpServer Config

{
  "mcpServers": {
    "lancedb": {
      "command": "uv",
      "args": [
        "--directory",
        "/Path/to/your/lancedb_mcp",
        "run",
        "/path/to/your/mcp/lancedb_mcp.py"
      ]
    }
  }
}

# stdio

uv --directory /Path/to/your/lancedb_mcp run /path/to/your/mcp/lancedb_mcp.py
Transport:
stdio
Language:
Python
Created: 4/25/2025
Updated: 2/4/2026