recall

recall

Enables agents to query across all their memory stores (brain, team, reading, code) in one call, returning a token-budgeted, ranked briefing with results interleaved from each source.

Category
Visit Server

README

🎯 recall

ci

One query across an agent's whole memory.

An agent's knowledge ends up scattered: some in its second brain (cortex), some in the team's shared memory (agent-hq), some in what it's read (scout), some in its code (lens). Searching each by hand is friction β€” so agents skip it and re-derive what they already knew. recall fixes that: one query, every store, one ranked briefing β€” token-budgeted, each hit tagged by source. Run it at the start of a task to load exactly the relevant context.

Part of tools-for-agents. Zero dependencies β€” node:sqlite over the sibling tools' existing FTS5 indexes, read-only. It doesn't own any data; it federates theirs. Any store that isn't present is simply skipped.


Why

Without recall With recall
Search cortex, then scout, then lens β€” three tools, three calls recall "topic" β†’ one briefing across all three
Friction β†’ skip the search β†’ re-derive what you knew One cheap call at task start loads the right context
Results in three formats, no shared ranking Normalised, balanced across sources, in a token budget

The stores

Source Tool What it searches Found at
🧠 brain cortex your notes / second brain $CORTEX_VAULT/.cortex/index.db or $RECALL_CORTEX_DB
πŸ›°οΈ team agent-hq the team's shared memory (over HTTP) $HQ_URL or $RECALL_HQ_URL (default http://localhost:7700)
🧭 reading scout pages you've read $SCOUT_DB or $RECALL_SCOUT_DB
πŸ”Ž code lens your indexed code/docs $LENS_DB or $RECALL_LENS_DB

Each store is optional and auto-discovered β€” the team store is included whenever agent-hq is reachable, and skipped (fast) when it isn't.

CLI

recall "auth token refresh design"            # everything you know about it
recall "kafka retries" -k 12 --tokens 3000    # more hits, bigger budget
recall "graph traversal" --only brain,code    # restrict to some stores
recall status                                 # which stores are available + counts

MCP server (for agents)

{
  "mcpServers": {
    "recall": { "command": "node", "args": ["/abs/path/to/recall/mcp/mcp-server.js"],
      "env": { "CORTEX_VAULT": "/abs/path/to/vault", "SCOUT_DB": "/abs/path/to/.scout/cache.db",
               "LENS_DB": "/abs/path/to/.lens/index.db", "HQ_URL": "http://localhost:7700" } }
  }
}

Tools

Tool Use it to…
recall_search Load a token-budgeted briefing across your brain, reading and code in one call. Use it first when starting a task.
recall_status See which stores are available and how many entries each holds.

How it works

  • Runs the query as an FTS5 MATCH against each store's index and normalises every hit to { source, title, ref, meta, excerpt, score }.
  • bm25 scores aren't comparable across separate databases, so results are interleaved round-robin across sources (best-of-each, then next-best-of-each…) and filled to a token budget β€” a balanced briefing rather than one store drowning out the rest.
  • SQLite stores are opened read-only; recall never writes. Delete or rebuild any underlying index freely.
  • The team store is queried over agent-hq's HTTP memory API (per-term, in parallel, with a short timeout) and degrades silently when the platform isn't running.
  • It depends only on the sibling tools' stable interfaces β€” their table schemas (notes_fts, pages_fts, chunks) and agent-hq's /api/memory β€” not their code, so each tool stays independent.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured