Local Project Memory Search
project_memory_searchSearch local project knowledge—papers, code, plans, experiments, decisions—via exact, BM25, vector, and graph retrieval. Returns ranked summaries from indexed files without external access.
Instructions
LOCAL PROJECT KNOWLEDGE SEARCH ONLY. With research enabled, one local broker lets multiple MCP sessions query the same knowledge base concurrently and orders writes safely. Always use this tool when the user asks to find, recall, inspect, or search information already stored in project memory, indexed local roots, papers, codebases, plans, experiments, or decisions. Use query_variants for multiple retrieval angles in one call instead of opening terminals or calling this tool repeatedly. Query embeddings are batched, candidates are fused with RRF, graph expansion starts from retrieved evidence, and the primary query is reranked once. Only bounded query-focused summaries from that final ranking are returned; stored bodies never bypass this response gate. If one retrieval lane times out, the other lanes still return and meta.degraded_lanes identifies the partial lane; do not repeat the same query automatically. Uses exact, BM25, vector, and graph retrieval. It never opens Google, a browser, or SearchApi. Use search or search_parallel only when new external information is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum local RAG results. | |
| query | No | One natural-language query over indexed local project knowledge. Use queries instead for independent grouped answers. | |
| filters | No | Optional project, source, type, role, lane, and recorded-time filters. Excluded lanes are not executed. | |
| queries | No | Independent questions returned as separate ranked groups inside one broker request. | |
| project_id | No | Primary project to search. Required unless all_projects=true. | |
| request_id | No | Caller-chosen ID for one local query. Supply it before a long request so project_memory query_status/query_cancel can inspect or cancel the same operation. | |
| all_projects | No | Search every active named project. Excludes Inbox and cannot be combined with project ids. | |
| query_variants | No | Optional retrieval variants executed inside this one broker request. Exact identifiers and quoted phrases are added deterministically, candidates are fused with RRF, and the primary query is reranked once. Do not make repeated terminal or tool calls for query variants. | |
| include_project_ids | No | Additional read-only projects searched with the primary project. | |
| response_deadline_ms | No | Caller-selected 1-300 second response deadline. Returns available lane results or QUERY_TIMEOUT with request_id. Native reads remain tracked until they settle; stored evidence and writes are unaffected. | |
| response_budget_bytes | No | Explicit result-array byte budget. Without an override, summaries adapt to unique result, question and source-family counts. Stored bodies and retrieval scope are not truncated by this budget; envelope metadata is separate. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | No | ||
| diff | No | ||
| meta | No | ||
| error | No | ||
| index | No | ||
| plans | No | ||
| query | No | ||
| doctor | No | ||
| entity | No | ||
| forget | No | ||
| groups | No | ||
| memory | No | ||
| record | No | ||
| context | No | ||
| current | No | ||
| project | No | ||
| receipt | No | ||
| records | No | ||
| results | No | ||
| session | No | ||
| entities | No | ||
| imported | No | ||
| projects | No | ||
| receipts | No | ||
| snapshot | No | ||
| timeline | No | ||
| assertion | No | ||
| decisions | No | ||
| elapsed_ms | No | ||
| job_counts | No | ||
| plan_count | No | ||
| experiments | No | ||
| entity_count | No | ||
| query_status | No | ||
| verification | No | ||
| memory_handle | No | ||
| session_count | No | ||
| visualization | No | ||
| decision_count | No | ||
| document_count | No | ||
| assertion_count | No | ||
| correction_count | No | ||
| experiment_count | No | ||
| search_event_count | No | ||
| source_entry_count | No | ||
| active_source_snapshot | No | ||
| entity_operation_count | No | ||
| citation_observation_count | No |