Skip to main content
Glama
RyanLisse

LanceDB MCP Server

by RyanLisse

LanceDB MCP 服务器

概述

用于 LanceDB 向量数据库操作的模型上下文协议 (MCP) 服务器实现。该服务器支持高效的向量存储、相似性搜索以及向量嵌入与相关元数据的管理。

Related MCP server: KGrag MCP Server

成分

资源

服务器将矢量数据库表公开为资源:

  • table://{name} :存储嵌入和元数据的向量数据库表

    • 可配置向量维度

    • 文本元数据支持

    • 高效的相似性搜索功能

API 端点

表管理

  • POST /table

    • 创建新的向量表

    • 输入:

      {
        "name": "my_table",      # Table name
        "dimension": 768         # Vector dimension
      }

向量运算

  • POST /table/{table_name}/vector

    • 向表中添加矢量数据

    • 输入:

      {
        "vector": [0.1, 0.2, ...],  # Vector data
        "text": "associated text"    # Metadata
      }
  • POST /table/{table_name}/search

    • 搜索相似向量

    • 输入:

      {
        "vector": [0.1, 0.2, ...],  # Query vector
        "limit": 10                  # Number of results
      }

安装

# Clone the repository
git clone https://github.com/yourusername/lancedb_mcp.git
cd lancedb_mcp

# Install dependencies using uv
uv pip install -e .

与 Claude Desktop 一起使用

# Add the server to your claude_desktop_config.json
"mcpServers": {
  "lancedb": {
    "command": "uv",
    "args": [
      "run",
      "python",
      "-m",
      "lancedb_mcp",
      "--db-path",
      "~/.lancedb"
    ]
  }
}

发展

# Install development dependencies
uv pip install -e ".[dev]"

# Run tests
pytest

# Format code
black .
ruff .

环境变量

  • LANCEDB_URI :LanceDB 存储路径(默认值:“.lancedb”)

执照

本项目遵循 MIT 许可证。详情请参阅 LICENSE 文件。

F
license - not found
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables seamless integration with Weaviate vector databases, providing tools for semantic, keyword, and hybrid search across local or cloud instances. It supports schema management, collection retrieval, and multi-tenancy configurations through the Model Context Protocol.
    5
    MIT
  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables natural-language querying of structured data via Model Context Protocol, allowing AI agents to answer questions without SQL or API knowledge.

View all related MCP servers

Related MCP Connectors

  • Universal memory for AI agents and tools. Save, organize and search context anywhere.

  • Your portable context layer — load it into any AI.

  • Mem0-compatible persistent memory for AI agents: write facts once, recall them semantically.

View all MCP Connectors

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/RyanLisse/lancedb_mcp'

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