ChromaDB MCP Server

Databasestdiov0.6.2
Repositorio

Connects AI agents to ChromaDB vector databases for semantic search and retrieval augmented generation (RAG) workflows. Supports creating collections, upserting documents with embeddings, querying by semantic similarity, and managing metadata filters. Ideal for knowledge base and document retrieval applications.

Conectar

Añade esta configuración a .claude/mcp.json

{
  "mcpServers": {
    "chromadb": {
      "command": "uvx",
      "args": [
        "chroma-mcp-server@latest"
      ],
      "env": {
        "CHROMA_HOST": "<YOUR_CHROMA_HOST>",
        "CHROMA_PORT": "<YOUR_CHROMA_PORT>",
        "CHROMA_AUTH_TOKEN": "<YOUR_CHROMA_AUTH_TOKEN>"
      }
    }
  }
}

Herramientas (4)

create_collection

Create a new ChromaDB collection with optional embedding function configuration.

{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Collection name"
    },
    "metadata": {
      "type": "object",
      "description": "Optional collection metadata"
    },
    "embedding_function": {
      "type": "string",
      "description": "Embedding function to use (openai, cohere, sentence-transformers)"
    }
  }
}

upsert_documents

Add or update documents in a collection with automatic embedding generation.

{
  "type": "object",
  "required": [
    "collection",
    "documents",
    "ids"
  ],
  "properties": {
    "ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Unique IDs for each document"
    },
    "documents": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Text documents to embed and store"
    },
    "metadatas": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "Metadata for each document"
    },
    "collection": {
      "type": "string",
      "description": "Collection name"
    }
  }
}

query

Query a collection by semantic similarity and return the most relevant documents.

{
  "type": "object",
  "required": [
    "collection",
    "query_text"
  ],
  "properties": {
    "where": {
      "type": "object",
      "description": "Metadata filter conditions"
    },
    "n_results": {
      "type": "integer",
      "description": "Number of results to return"
    },
    "collection": {
      "type": "string",
      "description": "Collection name"
    },
    "query_text": {
      "type": "string",
      "description": "Text to search for"
    }
  }
}

list_collections

List all collections in the ChromaDB instance with their metadata and document counts.

{
  "type": "object",
  "properties": {}
}

Recursos

Este servidor no expone ningún recurso.

Prompts

Este servidor no expone ningún prompt.

Información del servidor

Autor
Chroma (@chroma-core)
Repositorio
https://github.com/chroma-core/chroma-mcp-server
Licencia
Apache-2.0
Versión
0.6.2
Estrellas
2,150
Última actualización
18 de mayo de 2026