Skip to main content
Glama

🎯 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

Related MCP server: Veridge MCP Server

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.

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tools-for-agents/recall'

If you have feedback or need assistance with the MCP directory API, please join our Discord server