Skip to main content

Chroma MCP server with Ollama embedding configuration

Project description

chromadb-mcp-ollama

Model Context Protocol server that mirrors the standard chroma MCP tools and adds first-class support for configuring Ollama embeddings (URL, model, timeout) so collections can be created with the Ollama embedding function.

Running

uv run chromadb-mcp-ollama \
  --client-type persistent \
  --data-dir /path/to/chroma/data \
  --dotenv-path /path/to/.env \
  --ollama-url http://localhost:11434 \
  --ollama-model nomic-embed-text \
  --ollama-timeout 90

Key flags (all also respect environment variables):

  • --client-type (CHROMA_CLIENT_TYPE): http, cloud, persistent, or ephemeral.
  • --data-dir (CHROMA_DATA_DIR): path for persistent client data.
  • --host/--port (CHROMA_HOST/CHROMA_PORT): Chroma server when using HTTP.
  • --tenant/--database/--api-key: cloud auth parameters.
  • --dotenv-path (CHROMA_DOTENV_PATH): optional env file to load before parsing flags.
  • --ollama-url (OLLAMA_URL): base URL for Ollama when embedding_function_name="ollama".
  • --ollama-model (OLLAMA_MODEL or OLLAMA_EMBED_MODEL): Ollama embedding model name.
  • --ollama-timeout (OLLAMA_TIMEOUT): Ollama request timeout in seconds.

MCP tools exposed

  • chroma_list_collections
  • chroma_create_collection
  • chroma_peek_collection
  • chroma_get_collection_info
  • chroma_get_collection_count
  • chroma_modify_collection
  • chroma_fork_collection
  • chroma_delete_collection
  • chroma_add_documents
  • chroma_query_documents
  • chroma_get_documents
  • chroma_update_documents
  • chroma_delete_documents

The tool signatures match the stock chroma MCP server. When calling chroma_create_collection, set embedding_function_name="ollama" to use the Ollama embedding function with the configured URL/model.

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

chromadb_mcp_ollama-0.1.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

chromadb_mcp_ollama-0.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file chromadb_mcp_ollama-0.1.0.tar.gz.

File metadata

  • Download URL: chromadb_mcp_ollama-0.1.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for chromadb_mcp_ollama-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f1c597e92ddb5f9d6a31864f3ed74d9a00ebfbd296e941224247c92e88e7e839
MD5 fc26a6b145c9be10cb6958daa3fc25a8
BLAKE2b-256 157c291602c4fb69cfc64af0334be57c2101708ca176cc742d66bd81b85ba2a9

See more details on using hashes here.

File details

Details for the file chromadb_mcp_ollama-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for chromadb_mcp_ollama-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4c04ef10a6bb112f4250884bf05164c1886b589491608ab764951c4e6ad792b
MD5 3f0061a5ef7b687d884ba269518db5c9
BLAKE2b-256 7a8a458d8d11c2ebff91b559b47daa33da2c8889f0ae23053f47134779fa5c19

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