You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context-Simplo is a production-ready MCP (Model Context Protocol) server that automatically indexes your codebase into a graph+vector database. It provides AI assistants with deep code intelligence: call hierarchies, impact analysis, semantic search, dead code detection, and more. It runs entirely in Docker with support for local (Ollama) or remote (OpenAI) LLMs, and lets you switch between projects at runtime without restarting the container.
12
+
Context-Simplo is a production-ready MCP (Model Context Protocol) server that automatically indexes your codebase into a graph+vector database. It provides AI assistants with deep code intelligence: call hierarchies, impact analysis, semantic search, dead code detection, and more. Runs entirely in Docker with support for local (Ollama) or remote (OpenAI) LLMs, and lets you switch between projects at runtime without restarting the container.
13
13
14
-
## Quickstart (simplo CLI) — Recommended
14
+
## Quickstart
15
+
16
+
Context-Simplo runs in Docker. Choose your preferred method below.
17
+
18
+
### Option A: simplo CLI (Recommended)
15
19
16
20
The `simplo` CLI wraps Docker and handles mounting, LLM config, and IDE setup in a single command.
# Also supports: vscode, claude-desktop, claude-code
44
47
```
45
48
46
-
That's it. The CLI mounts your home directory read-only and calculates the workspace path automatically. You can switch projects at any time from the dashboard — no container restart required.
49
+
The CLI mounts your home directory read-only and calculates the workspace path automatically. Switch projects at any time from the dashboard — no container restart required.
47
50
48
-
##Quickstart (Docker)
51
+
### Option B: Docker CLI
49
52
50
-
If you prefer raw Docker commands, choose an embedding provider option below.
53
+
If you prefer raw Docker commands, choose an embedding provider below.
51
54
52
55
> **Important**: Context-Simplo does NOT bundle AI models. Provide an external embedding service for semantic search, or run with `LLM_PROVIDER=none` for structural tools only.
53
56
54
-
###Option 1: Local AI (Ollama) — Recommended for Privacy
57
+
#### 1. Local AI (Ollama) — Recommended for Privacy
55
58
56
59
```bash
57
60
# 1. Install Ollama and pull the model
@@ -138,7 +141,7 @@ docker run -d `
138
141
139
142
</details>
140
143
141
-
###Option 2: Cloud AI (OpenAI)
144
+
#### 2. Cloud AI (OpenAI)
142
145
143
146
```bash
144
147
docker pull ohopson/context-simplo:latest
@@ -204,7 +207,7 @@ docker run -d `
204
207
205
208
</details>
206
209
207
-
###Option 3: No AI (Structural Tools Only)
210
+
#### 3. No AI (Structural Tools Only)
208
211
209
212
```bash
210
213
docker run -d \
@@ -220,18 +223,16 @@ docker run -d \
220
223
221
224
Semantic search is unavailable without embeddings, but all structural tools (call hierarchies, impact analysis, dead code detection, etc.) still work.
222
225
223
-
### After starting (all options)
226
+
####After starting
224
227
225
228
```bash
226
229
open http://localhost:3001 # Dashboard
227
230
# Configure your IDE to use http://localhost:3001/mcp
228
231
```
229
232
230
-
### Legacy mode
231
-
232
-
The old `-v $(pwd):/workspace:ro` mount style still works. If `/host` is not detected, the server falls back to `/workspace` automatically.
233
+
**Legacy mode:** The old `-v $(pwd):/workspace:ro` mount style still works. If `/host` is not detected, the server falls back to `/workspace` automatically.
233
234
234
-
## Workspace Configuration
235
+
## Workspace Modes
235
236
236
237
Context-Simplo supports two workspace modes:
237
238
@@ -243,19 +244,13 @@ Mount your home directory at `/host`. The container can browse any subdirectory,
243
244
# simplo CLI does this automatically:
244
245
simplo start # indexes current directory
245
246
simplo start ~/other-app # indexes a specific directory
246
-
247
-
# Or with docker-compose (uses $HOME by default):
248
-
docker-compose up -d
249
-
250
-
# Override the initial workspace:
251
-
INITIAL_WORKSPACE=/host/projects/my-app docker-compose up -d
252
247
```
253
248
254
249
To switch workspaces at runtime, open the dashboard Repositories page and click **Change** in the workspace bar. Browse to a new directory and click **Switch Workspace**. Re-indexing happens automatically in the background.
255
250
256
251
### Legacy mode
257
252
258
-
Mount a single project at `/workspace`. No runtime switching — you must restart the container to change projects.
253
+
Mount a single project at `/workspace`. No runtime switching — restart required to change projects.
259
254
260
255
```bash
261
256
docker run -d \
@@ -264,29 +259,7 @@ docker run -d \
264
259
ohopson/context-simplo:latest
265
260
```
266
261
267
-
### docker-compose
268
-
269
-
`docker-compose.yml` supports both modes via environment variables:
270
-
271
-
| Variable | Default | Purpose |
272
-
|----------|---------|---------|
273
-
|`HOST_MOUNT_PATH`|`~`| Host directory mounted at `/host`|
274
-
|`MOUNT_ROOT`|`/host`| Mount root inside the container |
Context-Simplo tools are most effective when your AI agent uses them automatically instead of falling back to file-by-file search. You can add a Cursor rule that instructs the agent to prefer Context-Simplo for code intelligence tasks — reducing tool call chains and lowering token costs.
292
+
Context-Simplo tools are most effective when your AI agent uses them automatically instead of falling back to file-by-file search. Add a Cursor rule that instructs the agent to prefer Context-Simplo for code intelligence tasks — reducing tool call chains and lowering token costs.
320
293
321
294
**Create `.cursor/rules/context-simplo-usage.mdc` in your project:**
322
295
@@ -352,25 +325,47 @@ MCP server: `user-context-simplo`. Use it **instead of** grep/ripgrep/Glob/Seman
352
325
- Pass `repositoryId` to scope queries and avoid full-index scans
353
326
- Use `incremental: true` when re-indexing after changes
354
327
- Skip Context-Simplo for single-file edits where the file is already open/known
355
-
```
356
328
357
-
**Why this reduces cost:** Without the rule, AI agents explore codebases by chaining multiple Grep → Read → Grep → Read calls, each consuming tokens. A single Context-Simplo MCP call (e.g., `find_callers` or `get_impact_radius`) replaces entire chains of exploration, returning structured results in one round-trip.
329
+
## Compact mode (token savings)
358
330
359
-
This also works with other MCP-compatible clients (VS Code, Claude Desktop, Claude Code) — adapt the rule format to your IDE's conventions.
331
+
Set `CONTEXT_SIMPLO_RESPONSE_MODE=compact` in the server environment to enable ~60% input token savings.
360
332
361
-
## Quickstart (npm — no Docker)
333
+
In compact mode, response keys are abbreviated:
362
334
363
-
For environments without Docker, install the server directly:
Compact mode also removes `null` values, `id` hash fields, `visibility`, `limit`, and `offset` from responses, and minifies JSON (no indentation). `repositoryId` and `language` are hoisted to the envelope when all results share the same value.
350
+
351
+
## Response style
352
+
353
+
Be direct and concise in all responses. Drop articles (a/an/the), filler (just/really/basically/simply), pleasantries (sure/certainly/of course), and hedging. Fragments OK. Use short synonyms: "fix" not "implement a solution for", "use" not "utilize". Technical terms, code blocks, and error messages stay exact.
Example — not: "Sure! I'd be happy to help. The issue you're experiencing is likely caused by..."
358
+
Example — yes: "Bug in auth middleware. Token expiry uses `<` not `<=`. Fix:"
359
+
360
+
Exception: use full sentences for security warnings, irreversible operations, and multi-step sequences where brevity risks misreading.
361
+
362
+
Never create or edit `.md` files unless explicitly asked.
372
363
```
373
364
365
+
**Why this reduces cost:** Without the rule, AI agents explore codebases by chaining multiple Grep → Read → Grep → Read calls, each consuming tokens. A single Context-Simplo MCP call (e.g., `find_callers` or `get_impact_radius`) replaces entire chains of exploration, returning structured results in one round-trip.
366
+
367
+
This also works with other MCP-compatible clients (VS Code, Claude Desktop, Claude Code) — adapt the rule format to your IDE's conventions.
368
+
374
369
## Platform Support
375
370
376
371
Context-Simplo runs on all major platforms via Docker:
@@ -400,7 +395,6 @@ Context-Simplo runs on all major platforms via Docker:
400
395
-**Real-Time Updates** -- WebSocket broadcasting for live indexing progress and metrics
401
396
-**REST API** -- Full-featured API for external integrations and automation
402
397
-**`simplo` CLI** -- One-command Docker management with persistent config and IDE setup
403
-
-**CLI Interface** -- Standalone CLI (`context-simplo`) for scripting and non-Docker workflows
404
398
-**Local or Remote LLMs** -- OpenAI, Azure, Ollama, or run without LLM (structural tools still work)
0 commit comments