Context Search¶
Search indexed content (conversations, documents, tabs). Requires IR index — build with ir_index first. Methods: 'substring' (exact match, no embedding service), 'keyword' (BM25), 'semantic' (dense), or comma-delimited combo like 'keyword,semantic' (default, RRF fused).
MCP name: context_search
Category: context
Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
method |
str |
No | Search method(s). 'substring' (exact, no service needed), 'keyword' (BM25), 'semantic' (dense), or comma-delimited like 'keyword,semantic' (default). substring is solo-only. |
query |
str |
Yes | Search query |
recency |
bool |
No | Apply recency bias to favor recent results (default true). Set false to rank purely by text relevance. |
scope |
str |
No | Narrow to a specific item within a source (e.g. a session_id for conversations, a tab_id for Chrome tabs). Uses doc_id prefix matching. |
source |
str |
No | Filter by source type (e.g. 'conversation'). Default: all sources. |
top_k |
int |
No | Max results (default 10) |