Local Project Memory Search
project_memory_searchSearch stored project knowledge—papers, codebases, plans, and decisions—using a single query with exact, BM25, vector, and graph retrieval. Fuses results with RRF and returns bounded summaries, never external sources.
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. 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 | Yes | Natural-language query over indexed local project knowledge. | |
| project_id | No | Primary project to search. Required unless all_projects=true. | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | ||
| error | No | ||
| index | No | ||
| plans | No | ||
| query | No | ||
| entity | No | ||
| forget | No | ||
| memory | No | ||
| record | No | ||
| project | No | ||
| results | No | ||
| session | No | ||
| entities | No | ||
| projects | No | ||
| assertion | No | ||
| decisions | No | ||
| elapsed_ms | No | ||
| job_counts | No | ||
| plan_count | No | ||
| experiments | No | ||
| entity_count | 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 |