How to set up the Chroma MCP Server in Claude
- Install uv so uvx is available. Merge one of the publisher-supported configurations into Claude Desktop's mcpServers object.
- For persistent storage, replace the example folder with an absolute path for test data. Restart Claude Desktop before trying a collection lookup.
{
"mcpServers": {
"chroma": {
"command": "uvx",
"args": [
"chroma-mcp"
]
}
}
}{
"mcpServers": {
"chroma": {
"command": "uvx",
"args": [
"chroma-mcp",
"--client-type",
"persistent",
"--data-dir",
"/full/path/to/your/data/directory"
]
}
}
}Choose how long the test data should last
Chroma MCP exposes collection and document operations in Claude. The ephemeral setup is useful for a disposable retrieval test. Use a persistent directory when you want the same collections after closing the client, or follow the publisher’s separate settings for an existing Chroma server.
Test a metadata filter on a small collection
Store three synthetic support notes with distinct IDs and metadata for product and language. Ask Claude to find the cancellation policy and restrict the search to English notes for one product. Check the returned IDs and metadata against the three test records rather than evaluating only the final prose.
Check the collection’s embedding settings
Use the same embedding configuration when you connect to an existing collection. Some embedding providers need their own credentials. Keep a disposable copy for experiments that add or update entries.