Skip to main content

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.
  • --default-embedding-function-name (CHROMA_DEFAULT_EMBEDDING_FUNCTION_NAME): embedding function to use when opening existing collections (set this to match the embedding used when the collection was created; e.g. ollama).

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.

Metadata

Release files for chromadb-mcp-ollama 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chromadb-mcp-ollama 0.1.1
File Size Uploaded
chromadb_mcp_ollama-0.1.1.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chromadb-mcp-ollama 0.1.1
File Interpreter ABI Platform
chromadb_mcp_ollama-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.3 kB

Release files / chromadb_mcp_ollama-0.1.1.tar.gz

Download URL chromadb_mcp_ollama-0.1.1.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
63ca675e3f58f56ffeb38e0d21d5cff652f273a6c645bb53a9c3b4582e229f12
BLAKE2b-256 checksum
How to use checksums
20857dd74142d16e2275dad976402f1716df37f333d603427a937a3260c88a58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.22

Release files / chromadb_mcp_ollama-0.1.1-py3-none-any.whl

Download URL chromadb_mcp_ollama-0.1.1-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eea7e21c56f6413885ace6384befbaf92f80664afbf8f3c57d94aeaf5448bea3
BLAKE2b-256 checksum
How to use checksums
757429987ca6a65dd17fa58fce63671dbb3794d9bfa4eac5750ce64d4a780a71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.22

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page