Skip to content

Chroma MCP and API

Chroma stores embeddings and searches document collections through a locally running MCP server. An agent can search stored document collections and inspect matching records. Longwave installs the Chroma MCP server and runs it on your machine, with no account or key.

Add to Longwave

Install elsewhere

Install Chroma

Choose a harness. These instructions start the same local MCP server shown on this page.

Claude Code

Run this in your terminal. It adds a user-scoped server; use --scope project instead if it should apply only to the current project.

terminal
claude mcp add --scope user --transport stdio chroma -- uvx chroma-mcp
access
Runs locally

Use Chroma on Longwave

  1. Download Longwave or open app.longwave.run.
  2. Longwave installs the Chroma MCP server and runs it on your machine, with no account or key.
  3. Ask for the result in any thread, for example: “Find documents related to a support question”. The agent picks the Chroma function and calls it.

Use cases

Questions people ask

What does a Chroma collection contain?

A collection stores records with IDs, embeddings and optional documents and metadata. Queries retrieve records that match the supplied embeddings or text. Chroma documentation

Can Chroma filter a similarity query?

Chroma supports metadata and document filters. A query can use those filters to restrict the records considered for retrieval. Chroma documentation

How do I add the Chroma MCP server to Claude Code?

Run claude mcp add chroma -- uvx chroma-mcp in a terminal. Longwave installs the Chroma MCP server and runs it on your machine, with no account or key.

Who publishes the Chroma MCP server?

Chroma publishes the Chroma MCP server that Longwave installs. Source code

Use Chroma in Longwave

Call Chroma from any agent thread, on your machine or in the cloud.

Add to Longwave