File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,6 +22,14 @@ Uses a local SentenceTransformers model (`sentence-transformers/all-MiniLM-L6-v2
2222claude mcp add cocoindex-code -- uvx cocoindex-code
2323```
2424
25+ ### Ollama (Local)
26+
27+ ``` bash
28+ claude mcp add cocoindex-code \
29+ -e COCOINDEX_CODE_EMBEDDING_MODEL=ollama/nomic-embed-text \
30+ -- uvx cocoindex-code
31+ ```
32+
2533### OpenAI
2634
2735``` bash
@@ -89,14 +97,6 @@ claude mcp add cocoindex-code \
8997 -- uvx cocoindex-code
9098```
9199
92- ### Ollama (Local)
93-
94- ``` bash
95- claude mcp add cocoindex-code \
96- -e COCOINDEX_CODE_EMBEDDING_MODEL=ollama/nomic-embed-text \
97- -- uvx cocoindex-code
98- ```
99-
100100Set ` OLLAMA_API_BASE ` if your Ollama server is not at ` http://localhost:11434 ` .
101101
102102### Nebius
@@ -112,6 +112,23 @@ claude mcp add cocoindex-code \
112112
113113Any model supported by LiteLLM works — see the [ full list of embedding providers] ( https://docs.litellm.ai/docs/embedding/supported_embedding ) .
114114
115+ ### Setup ` .gitignore `
116+
117+ Add the index directory to your ` .gitignore ` so it isn't committed:
118+
119+ ``` bash
120+ echo .cocoindex_code >> .gitignore
121+ ```
122+
123+ ### Uninstall
124+
125+ Remove the MCP server and delete the local index:
126+
127+ ``` bash
128+ claude mcp remove cocoindex-code
129+ rm -rf .cocoindex_code
130+ ```
131+
115132## Configuration
116133
117134| Variable | Description | Default |
You can’t perform that action at this time.
0 commit comments