Skip to main content

Holographic based MCP Server - Provide memory capabilities using Vector Database for LLM Applications

Project description

Features

  • Flexible Client Types

    • Ephemeral (in-memory) for testing and development
    • Persistent for file-based storage
  • Collection Management

    • Create, modify, and delete collections
    • List all collections with pagination support
    • Get collection information and statistics
    • Configure HNSW parameters for optimized vector search
    • Select embedding functions when creating collections
  • Document Operations

    • Add documents with optional metadata and custom IDs
    • Query documents using semantic search
    • Advanced filtering using metadata and document content
    • Retrieve documents by IDs or filters
    • Full text search capabilities

Supported Tools

  • chroma_list_collections - List all collections with pagination support
  • chroma_create_collection - Create a new collection with optional HNSW configuration
  • chroma_peek_collection - View a sample of documents in a collection
  • chroma_get_collection_info - Get detailed information about a collection
  • chroma_get_collection_count - Get the number of documents in a collection
  • chroma_modify_collection - Update a collection's name or metadata
  • chroma_delete_collection - Delete a collection
  • chroma_add_documents - Add documents with optional metadata and custom IDs
  • chroma_query_documents - Query documents using semantic search with advanced filtering
  • chroma_get_documents - Retrieve documents by IDs or filters with pagination
  • chroma_update_documents - Update existing documents' content, metadata, or embeddings
  • chroma_delete_documents - Delete specific documents from a collection

Embedding Functions

Chroma MCP supports several embedding functions: default, cohere, openai, jina, voyageai, and roboflow.

The embedding functions utilize Chroma's collection configuration, which persists the selected embedding function of a collection for retrieval. Once a collection is created using the collection configuration, on retrieval for future queries and inserts, the same embedding function will be used, without needing to specify the embedding function again. Embedding function persistance was added in v1.0.0 of Chroma, so if you created a collection using version <=0.6.3, this feature is not supported.

When accessing embedding functions that utilize external APIs, please be sure to add the environment variable for the API key with the correct format, found in Embedding Function Environment Variables

Usage with LM Studio

Add the following to your mcp.json file:

"loci": {
    "command": "uvx",
    "args": [
        "loci-memory",
        "--client-type",
        "persistent",
        "--data-dir",
        "/full/path/to/your/data/directory"
    ]
}

[GitHub-flavored Markdown](https://guides.github.com/features/mastering-markdown/)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

loci_memory-0.0.14.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

loci_memory-0.0.14-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file loci_memory-0.0.14.tar.gz.

File metadata

  • Download URL: loci_memory-0.0.14.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.21

File hashes

Hashes for loci_memory-0.0.14.tar.gz
Algorithm Hash digest
SHA256 5cd740dae8f6d263397536ac7425c8285acc448eb6865d11c3ec97c56f16d543
MD5 b40af498313ca02552760e1d90dc4b0f
BLAKE2b-256 2ea38a34cf9cdbe4e7a14f5c6cdfec4b38ab2185cbcdf8ab8a4206fc0b800c4c

See more details on using hashes here.

File details

Details for the file loci_memory-0.0.14-py3-none-any.whl.

File metadata

File hashes

Hashes for loci_memory-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 3f8959b9c74097d259a10f4036d5211bd255e6926e4e6a3c8cbdb87689081e9d
MD5 9dbfc3ec62c1a41735eb305c8b9b9bc3
BLAKE2b-256 77878c2999e1cfd6f2827e2258cd9447dab7b0b958aadd7e91d02b090065c670

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page