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
@@ -38,7 +38,7 @@ Add Semble to Claude Code (requires [uv](https://docs.astral.sh/uv/getting-start
38
38
claude mcp add semble -s user -- uvx --from "semble[mcp]" semble
39
39
```
40
40
41
-
Using Codex, OpenCode, or Cursor? See [MCP Server](#mcp-server) for setup instructions.
41
+
Using another agent harness? See [MCP Server](#mcp-server)below for per-agent setup.
42
42
43
43
### Bash / AGENTS.md
44
44
@@ -83,7 +83,7 @@ If `semble` is not on `$PATH`, use `uvx --from "semble[mcp]" semble` in its plac
83
83
84
84
</details>
85
85
86
-
Once installed, run `semble savings` to see how many tokens Semble has saved you. Note that for sub-agent support in Claude Code or Codex, you need the full [Bash / AGENTS.md](#bash-agentsmd) setup below.
86
+
Note that sub-agents cannot call MCP tools directly, see [Bash / AGENTS.md](#bash-agentsmd)and [sub-agent setup](#sub-agent-setup) below for details.
87
87
88
88
<details>
89
89
<summary>Updating Semble</summary>
@@ -102,7 +102,7 @@ uv cache clean semble # for MCP users (restart your MCP client after)
102
102
-**Accurate**: NDCG@10 of 0.854 on our [benchmarks](#benchmarks), on par with code-specialized transformer models, at a fraction of the size and cost.
103
103
-**Token-efficient**: returns only the relevant chunks, using [~98% fewer tokens than grep+read](#benchmarks).
104
104
-**Zero setup**: runs on CPU with no API keys, GPU, or external services required.
105
-
-**MCP server**: works with Claude Code, Cursor, Codex, OpenCode, and any other MCP-compatible agent.
105
+
-**MCP server**: works with Claude Code, Cursor, Codex, OpenCode, VS Code, and any other MCP-compatible agent.
106
106
-**Local and remote**: pass a local path or a git URL.
107
107
108
108
## MCP Server
@@ -113,21 +113,51 @@ Semble can run as an MCP server so agents can search any codebase directly. Repo
113
113
114
114
> Requires [uv](https://docs.astral.sh/uv/getting-started/installation/) to be installed.
115
115
116
-
#### Claude Code
116
+
<details>
117
+
<summary>Claude Code</summary>
118
+
117
119
```bash
118
120
claude mcp add semble -s user -- uvx --from "semble[mcp]" semble
119
121
```
120
122
121
-
#### Codex
123
+
</details>
124
+
125
+
<details>
126
+
<summary>Cursor</summary>
127
+
128
+
Add to `~/.cursor/mcp.json` (or `.cursor/mcp.json` in your project):
129
+
130
+
```json
131
+
{
132
+
"mcpServers": {
133
+
"semble": {
134
+
"command": "uvx",
135
+
"args": ["--from", "semble[mcp]", "semble"]
136
+
}
137
+
}
138
+
}
139
+
```
140
+
141
+
</details>
142
+
143
+
<details>
144
+
<summary>Codex</summary>
145
+
122
146
Add to `~/.codex/config.toml`:
147
+
123
148
```toml
124
149
[mcp_servers.semble]
125
150
command = "uvx"
126
151
args = ["--from", "semble[mcp]", "semble"]
127
152
```
128
153
129
-
#### OpenCode
154
+
</details>
155
+
156
+
<details>
157
+
<summary>OpenCode</summary>
158
+
130
159
Add to `~/.opencode/config.json`:
160
+
131
161
```json
132
162
{
133
163
"mcp": {
@@ -139,8 +169,31 @@ Add to `~/.opencode/config.json`:
139
169
}
140
170
```
141
171
142
-
#### Cursor
143
-
Add to `~/.cursor/mcp.json` (or `.cursor/mcp.json` in your project):
172
+
</details>
173
+
174
+
<details>
175
+
<summary>VS Code</summary>
176
+
177
+
Add to `.vscode/mcp.json` in your project (or your user profile's `mcp.json`):
178
+
179
+
```json
180
+
{
181
+
"servers": {
182
+
"semble": {
183
+
"command": "uvx",
184
+
"args": ["--from", "semble[mcp]", "semble"]
185
+
}
186
+
}
187
+
}
188
+
```
189
+
190
+
</details>
191
+
192
+
<details>
193
+
<summary>GitHub Copilot CLI</summary>
194
+
195
+
Add to `~/.copilot/mcp-config.json`:
196
+
144
197
```json
145
198
{
146
199
"mcpServers": {
@@ -152,6 +205,81 @@ Add to `~/.cursor/mcp.json` (or `.cursor/mcp.json` in your project):
152
205
}
153
206
```
154
207
208
+
</details>
209
+
210
+
<details>
211
+
<summary>Windsurf</summary>
212
+
213
+
Add to `~/.codeium/windsurf/mcp_config.json`:
214
+
215
+
```json
216
+
{
217
+
"mcpServers": {
218
+
"semble": {
219
+
"command": "uvx",
220
+
"args": ["--from", "semble[mcp]", "semble"]
221
+
}
222
+
}
223
+
}
224
+
```
225
+
226
+
</details>
227
+
228
+
<details>
229
+
<summary>Gemini CLI</summary>
230
+
231
+
Add to `~/.gemini/settings.json`:
232
+
233
+
```json
234
+
{
235
+
"mcpServers": {
236
+
"semble": {
237
+
"command": "uvx",
238
+
"args": ["--from", "semble[mcp]", "semble"]
239
+
}
240
+
}
241
+
}
242
+
```
243
+
244
+
</details>
245
+
246
+
<details>
247
+
<summary>Kiro</summary>
248
+
249
+
Add to `~/.kiro/settings/mcp.json` (or `.kiro/settings/mcp.json` in your project):
250
+
251
+
```json
252
+
{
253
+
"mcpServers": {
254
+
"semble": {
255
+
"command": "uvx",
256
+
"args": ["--from", "semble[mcp]", "semble"]
257
+
}
258
+
}
259
+
}
260
+
```
261
+
262
+
</details>
263
+
264
+
<details>
265
+
<summary>Zed</summary>
266
+
267
+
Add to `~/.config/zed/settings.json` (or `.zed/settings.json` in your project):
268
+
269
+
```json
270
+
{
271
+
"context_servers": {
272
+
"semble": {
273
+
"command": "uvx",
274
+
"args": ["--from", "semble[mcp]", "semble"]
275
+
}
276
+
}
277
+
}
278
+
```
279
+
280
+
</details>
281
+
282
+
155
283
### Tools
156
284
157
285
| Tool | Description |
@@ -164,9 +292,9 @@ Add to `~/.cursor/mcp.json` (or `.cursor/mcp.json` in your project):
164
292
165
293
## Bash / AGENTS.md
166
294
167
-
An alternative to MCP is to invoke Semble via Bash. For Claude Code and Codex CLI, this is the only option for sub-agents, which cannot call MCP tools directly, though it can also be used alongside MCP for the top-level agent.
295
+
An alternative to MCP is to invoke Semble via Bash. Sub-agents cannot call MCP tools directly, so this is the only option for sub-agent support; it can also be used alongside MCP for the top-level agent.
168
296
169
-
To add Bash support, append the following to your `AGENTS.md` or `CLAUDE.md`:
297
+
To add Bash support, append the following to your `AGENTS.md`, `CLAUDE.md`, `GEMINI.md`, or equivalent:
170
298
171
299
```markdown
172
300
## Code Search
@@ -197,15 +325,20 @@ If `semble` is not on `$PATH`, use `uvx --from "semble[mcp]" semble` in its plac
197
325
4. Use grep only when you need exhaustive literal matches or quick confirmation of an exact string.
198
326
```
199
327
200
-
**Claude Code sub-agent**: Claude Code also supports a dedicated sub-agent. Run this once in your project root:
328
+
### Sub-agent setup
329
+
330
+
Claude Code, Gemini CLI, Cursor, OpenCode, GitHub Copilot CLI, and Kiro all support a dedicated semble search sub-agent. Run `semble init` once in your project root:
201
331
202
332
```bash
203
-
semble init
204
-
# or, if semble is not on $PATH:
205
-
uvx --from "semble[mcp]" semble init
333
+
semble init # Claude Code → .claude/agents/semble-search.md
0 commit comments