Skip to main content
The Package Search MCP Server is an MCP server designed to add ground truth context about code packages to AI agents. Our research demonstrates that by exposing the source code of a project’s dependencies to a model, we improve its performance on coding tasks and reduce its potential for hallucination. Chroma’s Package Search MCP server achieves this by exposing tools to allow the model to retrieve necessary context:

Getting Started

To guarantee that your model uses package search when desired, add use package search to either the system prompt (to use the MCP server whenever applicable) or to each task prompt (to use it only when you instruct the model to do so).
1
Visit Chroma’s Package Search page.
2
Click “Get API Key” to create or log into your Chroma account and issue an API key for Package Search.
3
After issuing your API key, click the “Other” tab and copy your API key.
4
Connect to the Chroma MCP server to search code packages. In this example, we search for how the Fast Fourier Transform algorithm is implemented in the numpy package from PyPI.