A Model Context Protocol (MCP) server implementation that provides vector database capabilities through Chroma.
A Model Context Protocol (MCP) server implementation that provides vector database capabilities through Chroma. This server enables semantic document search, metadata filtering, and document management with persistent storage.
The server provides document storage and retrieval through Chroma’s vector database:
src/chroma/data directoryThe server implements CRUD operations and search functionality:
create_document: Create a new document
document_id, contentmetadata (key-value pairs)read_document: Retrieve a document by ID
document_idupdate_document: Update an existing document
document_id, contentmetadatadelete_document: Remove a document
document_idlist_documents: List all documents
limit, offsetsearch_similar: Find semantically similar documents
querynum_results, metadata_filter, content_filteruv venv
uv sync --dev --all-extras
Add the server configuration to your Claude Desktop config:
Windows: C:\Users\<username>\AppData\Roaming\Claude\claude_desktop_config.json
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"chroma": {
"command": "uv",
"args": [
"--directory",
"C:/MCP/server/community/chroma",
"run",
"chroma"
]
}
}
}
The server stores data in:
src/chroma/datasrc/chroma/datauv run chroma
## Create a document
create_document({
"document_id": "ml_paper1",
"content": "Convolutional neural networks improve image recognition accuracy.",
"metadata": {
"year": 2020,
"field": "computer vision",
"complexity": "advanced"
}
})
## Search similar documents
search_similar({
"query": "machine learning models",
"num_results": 2,
"metadata_filter": {
"year": 2020,
"field": "computer vision"
}
})
The server provides clear error messages for common scenarios:
Document already exists [id=X]Document not found [id=X]Invalid input: Missing document_id or contentInvalid filterOperation failed: [details]npx @modelcontextprotocol/inspector uv --directory C:/MCP/server/community/chroma run chroma
uv compile pyproject.toml
uv build
Contributions are welcome! Please read our Contributing Guidelines{:target=“_blank”} for details on:
This project is licensed under the MIT License - see the LICENSE{:target=“_blank”} file for details.
Chromia Mcp
Mcp Crypto Price
A Model Context Protocol (MCP) server that provides real-time cryptocurrency analysis via CoinCap's API. Enables Claude and other MCP clients to fetch crypto prices, analyze market trends, and track historical data.
Code Explainer Mcp
A Cloudflare Worker that serves as an MCP (Model Context Protocol) server for code explanation. It analyzes and explains code with a comprehensive breakdown of structure and functionality.
An MCP server implementation that integrates the Tavily Search API, providing optimized search capabilities for LLMs.
MCP server that enables MCP to make REST API calls
Server implementing Model Context Protocol for Waldur
MCP server for Dub.co link shortener API integration