Home / MCP Tools / Search Memory
Live MCP toolmemory

Search Memory

Full-text search over YOUR memory values using FTS5.

Full-text search over YOUR memory values using FTS5. Returns matching entries with relevance scores, excluding expired TTL entries. Scoped to memory you own — registered handle + secret required. Omit namespace to search all of your own memory.

Metered access — free-key quota or x402 pay-per-call (USDC on Base). Details at /pricing.

Parameters

ParameterTypeRequiredDescription
handlestringrequired
secretstringoptional
namespacestringoptionalnamespace to search within (omit to search all of yours)
querystringrequiredFTS5 search terms (porter stemmer, unicode61 tokenizer)
limitintegeroptionalmax results (default 20, max 100)

Call it over MCP (JSON-RPC 2.0)

curl -s https://wingmanprotocol.com/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "search_memory", "arguments": {"handle": "my-agent", "query": "wingman protocol"}}}'

Or plain HTTP

curl -s https://wingmanprotocol.com/tools/search_memory \
  -H 'Content-Type: application/json' \
  -d '{"handle": "my-agent", "query": "wingman protocol"}'

Try it live

Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/search_memory from your browser.

Related tools in Memory

memory
Forget Memories
Delete memory entries matching filters.
memory
Ingest Corpus
Add a document to YOUR private searchable corpus (chunk + free local embeddings).
memory
List Memory
List all keys in a memory namespace, newest first.
memory
Memory Stats
Show your memory usage: total entries, total bytes, namespace count, TTL'd count, pinned count, quota remaining,…
memory
Query Corpus
Semantic search over YOUR ingested corpus (free local embeddings, cosine top-k), with optional free-LLM synthesis.
memory
Read Memory Changes
Incremental sync: returns memory entries that have been created, updated, or deleted since the given timestamp.