{
 "kind": "api",
 "slug": "lancedb",
 "path": "apis/lancedb/",
 "name": "LanceDB",
 "logo": "https://agentgid.com/media/avatars/lancedb.png",
 "maker": null,
 "density": "full",
 "crumbs": [
  [
   "APIs",
   "apis/"
  ],
  [
   "Vector databases",
   "apis/vector-db/"
  ]
 ],
 "lead": "Search by meaning inside your own app.",
 "chips": [
  {
   "label": "Vector databases",
   "path": "apis/vector-db/"
  },
  {
   "label": "Up · live status",
   "live": true
  },
  {
   "label": "Official MCP server"
  }
 ],
 "primary": {
  "label": "Copy prompt for your agent",
  "copy": "Add LanceDB to my app as an embedded database: pin lancedb 0.41.0, store tables in a local folder (or s3:// for shared storage), create the vector column with the model's exact size, add a full-text index with create_index(column, config=FTS()), and always select _distance explicitly."
 },
 "links": [
  {
   "label": "Website",
   "href": "https://lancedb.com"
  },
  {
   "label": "GitHub",
   "href": "https://github.com/lancedb/lancedb"
  }
 ],
 "track": "Outages, price changes and new versions on your dashboard",
 "verdicts": [
  {
   "key": "price",
   "label": "Price",
   "value": "Open source",
   "status": "yes",
   "sub": "Run it yourself for free",
   "quote": null,
   "note": "No free tier on the pricing page. As reported on the official pricing page, checked Oct 10, 2026.",
   "src": "https://lancedb.com"
  },
  {
   "key": "commercial",
   "label": "Commercial use",
   "value": "Allowed",
   "status": "yes",
   "sub": null,
   "quote": "Apache License Version 2.0, January 2004",
   "note": "Apache-2.0 allows commercial use; keep the license notice.",
   "src": "https://github.com/lancedb/lancedb/blob/main/LICENSE"
  },
  {
   "key": "key",
   "label": "Key & sign-up",
   "value": "API key, server only",
   "status": "info",
   "sub": "Env var LANCEDB_API_KEY (Enterprise examples; pass it as api_key)",
   "quote": "API keys: a long-lived shared secret passed as api_key on connect. Works in every SDK.",
   "note": "None for the open-source version (it runs in your process). LanceDB Enterprise takes an API key on connect, or OAuth tokens from your identity provider. The Node.js package runs on the server; keep the Enterprise key in an environment variable or secret manager.",
   "src": "https://docs.lancedb.com/enterprise/authentication.md"
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Official MCP server",
   "status": "yes",
   "sub": "llms.txt · SDK",
   "quote": "It is intended to be used as a reference for building complex MCP apps with LanceDB.",
   "note": " Our agent check: 5 of 6 (Nov 13, 2026).",
   "src": "https://github.com/lancedb/lancedb-mcp-server/blob/main/README.md"
  }
 ],
 "vfoot": "Checked against the maker's official pages, pricing on Oct 10, 2026.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What LanceDB does",
   "parts": [
    {
     "t": "prose",
     "text": "LanceDB is a free, open-source database that runs inside your app, with no server to set up. It keeps texts, images and their meaning fingerprints in a folder or cloud storage, and finds matches by meaning, by words or both. The paid hosted version, LanceDB Enterprise, is arranged through sales."
    },
    {
     "t": "list",
     "items": [
      "LanceDB is one of 24 APIs in the Vector databases category on AgentGid.",
      "It is one of 19 that can be started for free.",
      "It ships an official MCP server, like 12 others here.",
      "Its official SDK is the 11th most downloaded in the category (1.7M a week)."
     ],
     "muted": true
    },
    {
     "t": "h3",
     "text": "What people build with it"
    },
    {
     "t": "uses",
     "items": [
      {
       "title": "Chatbot that answers from your files",
       "text": "Store your help articles or notes with their meaning fingerprints, and let the chatbot pull the closest passages before it answers.",
       "idea": false
      },
      {
       "title": "Memory for a local AI agent",
       "text": "Give an assistant that runs on your laptop or server a place to save and find past notes, with nothing extra to host.",
       "idea": false
      },
      {
       "title": "Find words and filter results",
       "text": "Search product names, codes or exact phrases, and narrow results to one category, in the same table as the meaning search.",
       "idea": false
      },
      {
       "title": "Photos and videos in one table",
       "text": "Keep images, audio or video next to their captions and fingerprints, so one search returns the file and its details together.",
       "idea": false
      },
      {
       "title": "Clean up training data",
       "text": "Find, filter and keep versions of subsets of a large training dataset before you train a model on it.",
       "idea": false
      },
      {
       "title": "Search in an offline desktop app",
       "text": "Ship meaning search inside a desktop or offline app, so a user's own documents never leave their computer.",
       "idea": true
      }
     ]
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "LanceDB popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "1.8M",
       "l": "SDK downloads a week",
       "d": "-8.6% on the 4-week average",
       "up": false
      },
      {
       "n": "225",
       "l": "public agent repos use its SDK"
      },
      {
       "n": "12K",
       "l": "GitHub stars, lancedb/lancedb"
      }
     ]
    },
    {
     "t": "small",
     "text": "SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026."
    }
   ]
  },
  {
   "id": "pricing",
   "nav": "Pricing and limits",
   "h2": "Pricing",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Free tier",
       "v": "None"
      },
      {
       "l": "Cheapest plan",
       "v": "No monthly plan"
      },
      {
       "l": "Usage price",
       "v": "—"
      },
      {
       "l": "Plans",
       "v": "lancedb.com/pricing now redirects to the contact page (2026-11-10): the site offers LanceDB Enterprise through sales plus the open-source embedded library; no self-serve Cloud prices are published."
      }
     ]
    },
    {
     "t": "small",
     "text": "As reported on the official pricing page, checked Oct 10, 2026. Prices change: confirm before you buy.",
     "link": "",
     "href": null
    }
   ]
  },
  {
   "id": "limits",
   "nav": null,
   "spy_as": "pricing",
   "h2": "Limits",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Enterprise",
       "v": "Storage, request rate and concurrency depend on your deployment; confirm with your administrator or LanceDB support",
       "src": "https://docs.lancedb.com/basics/limits.md"
      },
      {
       "l": "All (full-text index)",
       "v": "Words longer than 40 characters are left out of the word index by default",
       "src": "https://docs.lancedb.com/basics/limits.md"
      }
     ]
    },
    {
     "t": "small",
     "text": "From the official docs.",
     "link": "docs.lancedb.com/basics/limits.md",
     "href": "https://docs.lancedb.com/basics/limits.md"
    }
   ]
  },
  {
   "id": "status",
   "nav": "Status",
   "h2": "Status and incidents",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Right now",
       "v": "Up",
       "status": "yes",
       "sub": "All Systems Operational"
      },
      {
       "l": "Last 30 days",
       "v": "0 incidents, 0 of them major"
      }
     ]
    },
    {
     "t": "small",
     "text": "From the official status page, checked Nov 26, 2026.",
     "link": "lancedb.statuspage.io",
     "href": "https://lancedb.statuspage.io"
    }
   ]
  },
  {
   "id": "access",
   "nav": "Access and terms",
   "h2": "Key and access",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "How it signs in",
       "v": "None for the open-source version (it runs in your process). LanceDB Enterprise takes an API key on connect, or OAuth tokens from your identity provider."
      },
      {
       "l": "Environment variable",
       "v": "LANCEDB_API_KEY (Enterprise examples; pass it as api_key)",
       "code": true
      },
      {
       "l": "Safe in browser code",
       "v": "No, keep it on your server",
       "status": "no"
      },
      {
       "l": "Card at sign-up",
       "v": "Not stated on the pages we read"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Steps only a person can do"
    },
    {
     "t": "list",
     "items": [
      "For the hosted Enterprise version, contact the LanceDB team and receive the database address, endpoint and an API key. Read LANCEDB_API_KEY from .env and connect with db://your-database-uri, region and host_override.",
      "To keep data in S3, GCS or Azure, create the bucket and give the app storage credentials. Connect with the s3://, gs:// or az:// address instead of a local folder."
     ]
    }
   ]
  },
  {
   "id": "terms",
   "nav": null,
   "spy_as": "access",
   "h2": "Commercial use and your data",
   "parts": [
    {
     "t": "prose",
     "text": "LanceDB is open source under the Apache 2.0 license, so you can use it in paid products and ship it inside your app if you keep its license notice. LanceDB Enterprise is a separate paid service agreed with the company."
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In a paid app",
       "v": "Yes",
       "status": "yes",
       "sub": "Apache-2.0 allows commercial use; keep the license notice.",
       "quote": "Apache License Version 2.0, January 2004",
       "src": "https://github.com/lancedb/lancedb/blob/main/LICENSE"
      },
      {
       "l": "inside-app-bundle",
       "v": "Yes",
       "status": "yes",
       "sub": "You may ship the library inside your app under Apache-2.0 with its license and notices.",
       "quote": "\"license\":\"Apache-2.0\"",
       "src": "https://registry.npmjs.org/@lancedb/lancedb/0.41.0"
      },
      {
       "l": "client-work",
       "v": "Yes",
       "status": "yes",
       "sub": "Apache-2.0 sets no limit on building it into client projects.",
       "quote": "Apache License Version 2.0, January 2004",
       "src": "https://github.com/lancedb/lancedb/blob/main/LICENSE"
      }
     ]
    }
   ]
  },
  {
   "id": "errors",
   "nav": null,
   "spy_as": "access",
   "h2": "Errors to handle",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Illegal instruction (on import lancedb)",
       "v": "The default Python build needs AVX2; older x86_64 processors cannot run it.",
       "sub": "Uninstall lancedb and install lancedb-compat, which keeps import lancedb working."
      },
      {
       "l": "Client timeout during a write",
       "v": "The write may have been saved even though the client gave up waiting.",
       "sub": "Check whether the rows are there before retrying; for background jobs check the job status."
      },
      {
       "l": "409 Conflict (create table version, Enterprise REST)",
       "v": "The table version you tried to create already exists.",
       "sub": "Do not retry with the same version; read the latest version and continue from it."
      },
      {
       "l": "403 (adding or refreshing a Function column, Enterprise)",
       "v": "The caller lacks USAGE on the Function or on a Secret it binds.",
       "sub": "Ask the administrator for the missing privilege; the error names the object."
      }
     ]
    }
   ]
  },
  {
   "id": "agent",
   "nav": "For agents",
   "h2": "Use it from an agent",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Our agent check",
       "v": "5 of 6: llms.txt yes, OpenAPI no, SDK yes, MCP yes, status page yes, AI assistants allowed yes",
       "sub": "Checked Nov 13, 2026."
      },
      {
       "l": "MCP server",
       "v": "LanceDB MCP server (basic reference server, run locally with uv); a separate docs MCP at https://docs.lancedb.com/mcp searches the documentation",
       "sub": "{\n  \"mcpServers\": {\n    \"lancedb\": {\n      \"command\": \"uv\",\n      \"args\": [\n        \"--directory\",\n        \"/Path/to/your/lancedb_mcp\",\n        \"run\",\n        \"/path/to/your/mcp/lancedb_mcp.py\"\n      ]\n    }\n  }\n}\n"
      },
      {
       "l": "npm",
       "v": "npm install @lancedb/lancedb",
       "code": true
      },
      {
       "l": "PyPI",
       "v": "pip install lancedb",
       "code": true
      }
     ]
    },
    {
     "t": "h3",
     "text": "Instructions in its docs to check first"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "The docs say",
       "v": "“Coding agents: follow Use the LanceDB agent plugin to install the LanceDB plugin and build a multimodal ingestion pipeline.”",
       "sub": "Ask the person first; the plugin installs into the agent's settings for every project on the machine."
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "LanceDB",
       "me": true,
       "facts": [
        "Free (open source)",
        "No free tier",
        "Official MCP"
       ]
      },
      {
       "name": "Qdrant Cloud",
       "why": "Pick Qdrant Cloud for a hosted vector search service with a free cluster, when you do not want to run the database inside your own app.",
       "path": "apis/qdrant-cloud/",
       "facts": [
        "Free (open source)",
        "Free tier",
        "Official MCP"
       ]
      },
      {
       "name": "Chroma Cloud",
       "why": "Pick Chroma Cloud for a serverless hosted version of the open-source Chroma database with vector, full-text and metadata search.",
       "path": "apis/chroma-cloud/",
       "facts": [
        "See its page",
        "No free tier"
       ]
      },
      {
       "name": "Supabase (pgvector)",
       "why": "Pick Supabase when you want vector search inside a regular Postgres database, together with sign-in and storage.",
       "path": "apis/supabase-pgvector/",
       "facts": [
        "Free (open source)",
        "Free tier",
        "Official MCP"
       ]
      }
     ],
     "more": "All vector databases APIs",
     "more_path": "apis/vector-db/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "prompt",
     "text": "Add LanceDB to my app as an embedded database: pin lancedb 0.41.0, store tables in a local folder (or s3:// for shared storage), create the vector column with the model's exact size, add a full-text index with create_index(column, config=FTS()), and always select _distance explicitly."
    },
    {
     "t": "steps",
     "items": [
      {
       "text": "Install the Python package (pandas shows the results as a table), or the TypeScript one.",
       "code": "pip install lancedb pandas",
       "src": "https://docs.lancedb.com/quickstart.md"
      },
      {
       "text": "Connect to a folder; LanceDB creates it and stores your tables there.",
       "code": "import lancedb\nuri = \"ex_lancedb\"\ndb = lancedb.connect(uri)\n",
       "src": "https://docs.lancedb.com/quickstart.md"
      },
      {
       "text": "Create a table from rows that carry a vector, then search it with a query vector.",
       "code": "table = db.create_table(\"frames\", data=data, mode=\"overwrite\")",
       "src": "https://docs.lancedb.com/quickstart.md"
      }
     ]
    },
    {
     "t": "h3",
     "text": "First request"
    },
    {
     "t": "tabs",
     "label": "First request",
     "items": [
      {
       "tab": "Request",
       "code": "# Search for frames similar to \"a gripper closing on an object\"\nquery_vector = [0.2, 0.8, 0.4, 0.9]\n\n# Ensure you run `pip install pandas` beforehand\nresult = (\n    table.search(query_vector)\n    .select([\"frame_id\", \"video_id\", \"caption\", \"_distance\"])\n    .limit(2)\n    .to_pandas()\n)\nprint(result)\n",
       "intro": "Request verbatim from the quickstart; the docs describe the result in words, the printed table is from our own local run with lancedb 0.41.0. LanceDB Embedded has no hosted endpoint, so this runs in your own process."
      },
      {
       "tab": "Response",
       "code": "  frame_id video_id                                  caption  _distance\n0        2   clip-1    a two-finger gripper closing on a cup       0.01\n1        4   clip-2  a gripper lowering a cup onto the table       0.07\n"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Mistakes to avoid"
    },
    {
     "t": "mistakes",
     "items": [
      {
       "dont": "table.create_fts_index(\"caption\"), as in many examples",
       "fix": "from lancedb.index import FTS; table.create_index(\"caption\", config=FTS())",
       "why": "With lancedb 0.41.0 our run printed \"create_fts_index is deprecated as of 0.25.0\"; the docs already use create_index with FTS for async connections."
      },
      {
       "dont": ".select([\"frame_id\", \"caption\"]) and then reading _distance or _score from the result",
       "fix": "Name _distance (vector search) or _score (word search) in select() when you need it",
       "why": "In our 0.41.0 run the engine warned that columns not named in select will stop being added automatically."
      },
      {
       "dont": "Retrying table.add() after a timeout without checking",
       "fix": "Check whether the rows were written, or use merge_insert on an id column, before writing again",
       "why": "The first write may already be saved, so a blind retry inserts the same rows twice."
      },
      {
       "dont": "Calling LanceDB from browser code with a key",
       "fix": "Use it in Node.js or Python on your server; read LANCEDB_API_KEY from the environment for Enterprise",
       "why": "The TypeScript package is a Node.js package with native builds, and keys belong in an environment variable or secret manager."
      }
     ]
    }
   ]
  },
  {
   "id": "faq",
   "nav": "Questions",
   "h2": "Questions",
   "parts": [
    {
     "t": "faq",
     "items": [
      {
       "q": "Do I need an account or a server?",
       "a": "No. The open-source version runs inside your program and stores data in a local folder; no account or key is needed.",
       "evidence": {
        "url": "https://docs.lancedb.com/quickstart.md",
        "quote": "This quickstart uses LanceDB Embedded with a local database and works without an account or API key."
       }
      },
      {
       "q": "Is there a hosted LanceDB with a price list?",
       "a": "The docs name one hosted offer, LanceDB Enterprise, managed or in your own cloud, set up through the LanceDB team; no prices are published.",
       "evidence": {
        "url": "https://docs.lancedb.com/enterprise/index.md",
        "quote": "LanceDB Enterprise is the production deployment option for teams that want to run LanceDB as a private cloud or bring-your-own-cloud (BYOC) multimodal lakehouse."
       }
      },
      {
       "q": "Can my data live in S3 instead of on the server disk?",
       "a": "Yes. Use an s3://, gs:// or az:// address instead of a local folder when you connect.",
       "evidence": {
        "url": "https://docs.lancedb.com/quickstart.md",
        "quote": "Use an s3://, gs://, or az:// URI in place of the local path."
       }
      },
      {
       "q": "Does LanceDB make the meaning fingerprints for me?",
       "a": "It can. You name an embedding model (OpenAI, Sentence Transformers and others) and LanceDB creates the vectors when you add rows and when you search.",
       "evidence": {
        "url": "https://docs.lancedb.com/embedding/quickstart.md",
        "quote": "LanceDB will automatically vectorize the data both at ingestion and query time."
       }
      }
     ]
    }
   ]
  }
 ],
 "glance": [
  [
   "Maker",
   "LanceDB"
  ],
  [
   "Category",
   "Vector databases"
  ],
  [
   "Status",
   "Up · 0 incidents in 30 days"
  ],
  [
   "Price",
   "Free (open source)"
  ],
  [
   "Official SDK",
   "npm @lancedb/lancedb, PyPI lancedb"
  ],
  [
   "Latest SDK",
   "0.41.0 on npm"
  ],
  [
   "Agent check",
   "5 of 6"
  ],
  [
   "Pricing checked",
   "Oct 10, 2026"
  ]
 ],
 "good": [
  "The open-source version runs on one machine, so it can only grow as far as that machine allows.",
  "In the open-source version your app has to rebuild indexes and tidy files itself; Enterprise does this in the background.",
  "There is no public price list. The hosted Enterprise version is set up after you contact the company."
 ],
 "checked_line": "Read by AgentGid from 24 official pages, card checked Nov 10, 2026; usage numbers update daily."
}