ChromaDB MCP Server
Enables GitHub Copilot to query a local ChromaDB instance and retrieve relevant documents to provide context for AI-assisted coding and research conversations.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ChromaDB MCP ServerSearch for documents related to high-frequency trading strategies"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ChromaDB MCP Server
A Model Context Protocol (MCP) server that queries a local ChromaDB instance to provide relevant documents to GitHub Copilot.
Prerequisites
Node.js (v18 or later)
A running ChromaDB instance at
http://127.0.0.1:8000A collection named
ExchangeResearchin your ChromaDB instance
Related MCP server: Knowledge Base MCP Server
Installation
Install dependencies:
npm installBuild the project:
npm run build
Configuration
The MCP server is configured in .vscode/settings.json to integrate with GitHub Copilot in VS Code.
To use it globally (across all projects), add this to your User Settings (settings.json):
{
"github.copilot.chat.mcp.servers": {
"chromadb": {
"command": "node",
"args": ["c:/source/chroma-mcp/build/index.js"]
}
}
}Replace the path with the absolute path to your built index.js file.
Usage
Once configured, the MCP server will automatically start when you use GitHub Copilot in VS Code. You can use the query_chromadb tool in your Copilot conversations:
Example prompts:
"Query ChromaDB for information about exchange APIs"
"Search the ExchangeResearch collection for trading strategies"
"Find documents related to market data"
The tool will automatically query your ChromaDB collection and provide relevant context to Copilot.
Tool Details
query_chromadb
Queries the ChromaDB ExchangeResearch collection for relevant documents.
Parameters:
query(required): The search query stringnResults(optional): Number of results to return (default: 5)
Returns: An array of documents with metadata and similarity distances.
Development
To rebuild the project after making changes:
npm run buildFor continuous development with auto-rebuild:
npm run devCustomization
To use a different ChromaDB URL or collection name, edit src/index.ts:
const chromaClient = new ChromaDbClient('http://127.0.0.1:8000', 'ExchangeResearch');Troubleshooting
Server not responding: Ensure ChromaDB is running at
http://127.0.0.1:8000Tool not appearing: Restart VS Code after adding the MCP configuration
Build errors: Check that you have Node.js v18+ and run
npm installagain
This project is licensed under the MIT License.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- -license-quality-maintenanceEnables LLMs to perform semantic search and document management using ChromaDB, supporting natural language queries with intuitive similarity metrics for retrieval augmented generation applications.Last updated
- Alicense-qualityDmaintenanceA mem0-like memory system for GitHub Copilot that provides persistent knowledge storage and retrieval capabilities using local ChromaDB.Last updatedMIT
- AlicenseAqualityDmaintenanceEnables semantic code search across local projects and Git repositories using AI embeddings with ChromaDB. Supports both OpenAI and local Ollama models for private, enterprise-ready code analysis and similar code discovery.Last updated44MIT
- Flicense-qualityDmaintenanceEnables AI assistants to semantically search through indexed documentation websites and local code repositories using OpenAI embeddings and ChromaDB vector storage.Last updated
Related MCP Connectors
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Search your knowledge bases from any AI assistant using hybrid RAG.
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/scooby359/chroma-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server