MCP.so
登录

Chroma MCP Server

@privetin

基本信息

分类

数据库

传输方式

stdio

作者

privetin

关于 Chroma MCP Server

A Model Context Protocol (MCP) server implementation that provides vector database capabilities through Chroma.

Chroma MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "chroma": {
      "command": "uv",
      "args": [
        "venv"
      ]
    }
  }
}

Chroma MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Chroma MCP Server?

An MCP server that provides vector database capabilities through Chroma, enabling semantic document search, metadata filtering, and document management with persistent storage. It is designed for developers integrating semantic search into AI applications.

How to use Chroma MCP Server?

Install dependencies with uv venv and uv sync --dev --all-extras, then start the server with uv run chroma. Add the configuration to your Claude Desktop config file to enable the server, then interact via MCP tools like create_document and search_similar.

Key features of Chroma MCP Server

  • Semantic search using Chroma embeddings
  • Metadata filtering on search results
  • Content filtering for additional precision
  • Persistent storage in a local directory
  • Comprehensive error handling with clear messages
  • Automatic retries for transient failures

Use cases of Chroma MCP Server

  • Store and retrieve documents with semantic similarity search
  • Filter search results by metadata fields like year or category
  • Manage a persistent document collection for AI assistants
  • Automate document CRUD operations in MCP-based tools

常见问题

1

What are the runtime requirements?

Python 3.8+, Chroma 0.4.0+, and MCP SDK 0.1.0+.

2

Where does the data persist?

Data is stored in `src/chroma/data` directory and persists between server restarts.

3

What tools does the server provide?

It provides CRUD tools for documents (`create_document`, `read_document`, `update_document`, `delete_document`, `list_documents`) and a `search_similar` tool for semantic search with optional filters.

4

How do I configure the server for Claude Desktop?

Add a `chroma` entry to your `claude_desktop_config.json` using `uv` with `--directory` pointing to the server’s path and `run chroma` as args.

5

What error messages can I expect?

Common errors include “Document already exists [id=X]”, “Document not found [id=X]”, “Invalid input: Missing document_id or content”, and “Invalid filter”.

评论

数据库 分类下的更多 MCP 服务器